[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| [e4-dev] Strange Exception | 
Sometimes when I startup my RCP app, I get the following Exception
Caused by: java.lang.NullPointerException
	at org.eclipse.ui.internal.WorkbenchPage.updateActiveEditorSources(WorkbenchPage.java:359)
	at org.eclipse.ui.internal.WorkbenchPage.updateActivations(WorkbenchPage.java:238)
	at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:230)
	at org.eclipse.ui.internal.WorkbenchPage$E4PartListener.partActivated(WorkbenchPage.java:158)
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.firePartActivated(PartServiceImpl.java:176)
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.setPart(PartServiceImpl.java:150)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
It seems to find the editor, but the siteId is missing (just my guess)
When I clean the workspace everything is fine, So I guess its related to my elementFactories.
I saw it happen in production too, but I have no clue, cause I am not able to reproduce it consistently.
Do you have an idea where this comes from?
Could this be an Exception thrown in my editorInput?
Regards Thomas