payload: {"action":"created","issue":{"url":"https://api.github.com/repos/mariodavid/cuba-component-wizard/issues/9","repository_url":"https://api.github.com/repos/mariodavid/cuba-component-wizard","labels_url":"https://api.github.com/repos/mariodavid/cuba-component-wizard/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/mariodavid/cuba-component-wizard/issues/9/comments","events_url":"https://api.github.com/repos/mariodavid/cuba-component-wizard/issues/9/events","html_url":"https://github.com/mariodavid/cuba-component-wizard/pull/9","id":440015790,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjc1Njg4MTUz","number":9,"title":"cuba 7 upgrade","user":{"login":"ZuperKeurZ","id":12428609,"node_id":"MDQ6VXNlcjEyNDI4NjA5","avatar_url":"https://avatars0.githubusercontent.com/u/12428609?v=4","gravatar_id":"","url":"https://api.github.com/users/ZuperKeurZ","html_url":"https://github.com/ZuperKeurZ","followers_url":"https://api.github.com/users/ZuperKeurZ/followers","following_url":"https://api.github.com/users/ZuperKeurZ/following{/other_user}","gists_url":"https://api.github.com/users/ZuperKeurZ/gists{/gist_id}","starred_url":"https://api.github.com/users/ZuperKeurZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZuperKeurZ/subscriptions","organizations_url":"https://api.github.com/users/ZuperKeurZ/orgs","repos_url":"https://api.github.com/users/ZuperKeurZ/repos","events_url":"https://api.github.com/users/ZuperKeurZ/events{/privacy}","received_events_url":"https://api.github.com/users/ZuperKeurZ/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-05-03T12:05:27Z","updated_at":"2019-05-04T10:03:05Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/mariodavid/cuba-component-wizard/pulls/9","html_url":"https://github.com/mariodavid/cuba-component-wizard/pull/9","diff_url":"https://github.com/mariodavid/cuba-component-wizard/pull/9.diff","patch_url":"https://github.com/mariodavid/cuba-component-wizard/pull/9.patch"},"body":"first attempt at upgrading the component to be cuba 7 compatible."},"comment":{"url":"https://api.github.com/repos/mariodavid/cuba-component-wizard/issues/comments/489313290","html_url":"https://github.com/mariodavid/cuba-component-wizard/pull/9#issuecomment-489313290","issue_url":"https://api.github.com/repos/mariodavid/cuba-component-wizard/issues/9","id":489313290,"node_id":"MDEyOklzc3VlQ29tbWVudDQ4OTMxMzI5MA==","user":{"login":"mariodavid","id":817400,"node_id":"MDQ6VXNlcjgxNzQwMA==","avatar_url":"https://avatars2.githubusercontent.com/u/817400?v=4","gravatar_id":"","url":"https://api.github.com/users/mariodavid","html_url":"https://github.com/mariodavid","followers_url":"https://api.github.com/users/mariodavid/followers","following_url":"https://api.github.com/users/mariodavid/following{/other_user}","gists_url":"https://api.github.com/users/mariodavid/gists{/gist_id}","starred_url":"https://api.github.com/users/mariodavid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariodavid/subscriptions","organizations_url":"https://api.github.com/users/mariodavid/orgs","repos_url":"https://api.github.com/users/mariodavid/repos","events_url":"https://api.github.com/users/mariodavid/events{/privacy}","received_events_url":"https://api.github.com/users/mariodavid/received_events","type":"User","site_admin":false},"created_at":"2019-05-04T10:03:05Z","updated_at":"2019-05-04T10:03:05Z","author_association":"OWNER","body":"ok, so what I see is that currently there is a problem with the onActivate hook method. \r\n\r\nHere: https://github.com/mariodavid/cuba-component-wizard/pull/9/files#diff-10ee1928e4f06c79c3b5608374251081R43\r\n\r\nthere is a NPE, since for some reason `notifications` bean is not initialized.\r\n\r\nThe InitEvent that you tried, actually worked, but you used the wrong InitEvent (it has to be the one from ScreenFragment, not from Screen).\r\n\r\nBut this init event is triggered when the whole wizard is initialized - which might be helpful, but not necessarly the main use case.\r\n\r\nI was thinking of creating a dedicated event and publishing it through the `@Subscribe` mechanism that replaces the `onActivate` method hook, because it is more aligned with the new idea of CUBA 7 APIs.\r\n\r\nDo you have any idea what is wrong with the NPE in `onActivate`. I would like to merge it ASAP, but this is a bug, which we need to resolve."}}
other: {"actor":{"display_login":"mariodavid"}}