[MGNLUI-201] NPE when selecting user Created: 22/Nov/12  Updated: 11/Feb/13  Resolved: 28/Nov/12

Status: Closed
Project: Magnolia UI
Component/s: security app
Affects Version/s: 5.0
Fix Version/s: 5.0

Type: Bug Priority: Neutral
Reporter: Jozef Chocholacek Assignee: Jozef Chocholacek
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

When selecting user in Users SubApp, the following Exception appears in the log:

WARN  info.magnolia.ui.framework.event.SimpleEventBus   : Exception caught when dispatching event: null
java.lang.NullPointerException
	at info.magnolia.ui.admincentral.workbench.ContentWorkbenchPresenter.refreshActionbarPreviewImage(ContentWorkbenchPresenter.java:238)
	at info.magnolia.ui.admincentral.workbench.ContentWorkbenchPresenter.access$0(ContentWorkbenchPresenter.java:234)
	at info.magnolia.ui.admincentral.workbench.ContentWorkbenchPresenter$3.onItemSelected(ContentWorkbenchPresenter.java:160)
	at info.magnolia.ui.admincentral.event.ItemSelectedEvent.dispatch(ItemSelectedEvent.java:78)
	at info.magnolia.ui.admincentral.event.ItemSelectedEvent.dispatch(ItemSelectedEvent.java:1)
	at info.magnolia.ui.framework.event.SimpleEventBus.fireEvent(SimpleEventBus.java:76)
	at info.magnolia.ui.admincentral.content.view.ContentPresenter.onItemSelection(ContentPresenter.java:120)
	at info.magnolia.ui.admincentral.list.view.ListViewImpl.presenterOnItemSelection(ListViewImpl.java:154)
	at info.magnolia.ui.admincentral.list.view.ListViewImpl.access$1(ListViewImpl.java:151)
	at info.magnolia.ui.admincentral.list.view.ListViewImpl$1.valueChange(ListViewImpl.java:96)
	at sun.reflect.GeneratedMethodAccessor168.invoke(Unknown Source)

It is just a warning and everything seems to work, but would be nice to fix it.



 Comments   
Comment by Jozef Chocholacek [ 28/Nov/12 ]

The issue disappeared after merging all the API changes.

Generated at Mon Feb 12 08:34:34 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.