Skip to main content

[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(
at org.eclipse.ui.internal.WorkbenchPage.updateActivations(
at org.eclipse.ui.internal.WorkbenchPage.access$11(
at org.eclipse.ui.internal.WorkbenchPage$E4PartListener.partActivated(
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.firePartActivated(
at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.setPart(
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(
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

Back to the top