{"action":"closed","issue":{"url":"https://api.github.com/repos/tehapo/WizardsForVaadin/issues/24","repository_url":"https://api.github.com/repos/tehapo/WizardsForVaadin","labels_url":"https://api.github.com/repos/tehapo/WizardsForVaadin/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/tehapo/WizardsForVaadin/issues/24/comments","events_url":"https://api.github.com/repos/tehapo/WizardsForVaadin/issues/24/events","html_url":"https://github.com/tehapo/WizardsForVaadin/issues/24","id":215913945,"number":24,"title":"WizardStep grid.setItems gives NullPointerException  ","user":{"login":"mvmchp","id":10092075,"avatar_url":"https://avatars2.githubusercontent.com/u/10092075?v=3","gravatar_id":"","url":"https://api.github.com/users/mvmchp","html_url":"https://github.com/mvmchp","followers_url":"https://api.github.com/users/mvmchp/followers","following_url":"https://api.github.com/users/mvmchp/following{/other_user}","gists_url":"https://api.github.com/users/mvmchp/gists{/gist_id}","starred_url":"https://api.github.com/users/mvmchp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvmchp/subscriptions","organizations_url":"https://api.github.com/users/mvmchp/orgs","repos_url":"https://api.github.com/users/mvmchp/repos","events_url":"https://api.github.com/users/mvmchp/events{/privacy}","received_events_url":"https://api.github.com/users/mvmchp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-21T23:56:13Z","updated_at":"2017-03-28T17:38:55Z","closed_at":"2017-03-28T17:38:54Z","body":"I'm sure I'm missing something, but when I try to add data to a Grid or a ComboBox inside the getContent() of a WizardStep I get a NPE.\r\n\r\nIf I change: \r\n`technology.setItems(techrepository.getTechnologies());`\r\nto: \r\n`technology.setItems(\"200k\", \"30k\");`\r\nEverything works correctly. \r\n\r\nHere's my WizardStep:\r\n\r\n`public class CreatMonSecondStep implements WizardStep {\r\n\r\n    @Autowired\r\n    private MonitorArchiveRepository techrepository ;\r\n    private ComboBox technology;\r\n    public String getCaption() { return \"Technology\"; }\r\n\r\n    public Component getContent() {\r\n        VerticalLayout content = new VerticalLayout();\r\n        content.setSizeFull();\r\n        content.setMargin(true);\r\n        Label text = new Label(\r\n                \"<h2></h2><p>Choose from the following Technologies:\",\r\n                ContentMode.HTML);\r\n        content.addComponent(text);\r\n        technology = new ComboBox<>();\r\n        technology.setItems(techrepository.getTechnologies());\r\n        content.addComponent(technology);\r\n        return content;\r\n    }\r\n    public boolean onAdvance() {    return true;    }\r\n    public boolean onBack() {      return true;    }\r\n}`\r\n\r\nI'm using Wizards for Vaadin  2.0.0 and Vaadin 8.0.3 with SpringBoot 1.4.3"}}
{"actor":{"display_login":"tehapo"}}