to give EPF a trial, I followed the installation instructions and than
successfully started it.
To get familiar with EPF, I wanted to follow some of the tutorials. But
after the first steps I encountered a problem I could not solve by now:
Every time I double click on an item in the library (e. g. a task), the
editor, which should display the item's details, reports a
NullPointerException and only shows the stack trace I appended to this post.
I tried to use the latest as well as the 1.5.0 release of EPF. Both show
the same behaviour no matter which Java version I use (1.5 and 1.6).
What can I do to solve this problem?
Thanks and regards,
Sebastian
java.lang.NullPointerException
at
org.eclipse.epf.authoring.ui.forms.DescriptionFormPage.dispo se(DescriptionFormPage.java:3033)
at org.eclipse.ui.forms.editor.FormEditor.dispose(FormEditor.ja va:420)
at
org.eclipse.epf.authoring.ui.editors.AbstractBaseFormEditor. dispose(AbstractBaseFormEditor.java:97)
at
org.eclipse.epf.authoring.ui.editors.MethodElementEditor.dis pose(MethodElementEditor.java:1085)
at
org.eclipse.epf.authoring.ui.editors.MethodElementEditor.add Pages(MethodElementEditor.java:1023)
at org.eclipse.ui.forms.editor.FormEditor.createPages(FormEdito r.java:146)
at
org.eclipse.ui.part.MultiPageEditorPart.createPartControl(Mu ltiPageEditorPart.java:283)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:661)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:426)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:592)
at
org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:263)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2739)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2651)
at org.eclipse.ui.internal.WorkbenchPage.access$13(WorkbenchPag e.java:2643)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.j ava:2595)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2590)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2574)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2557)
at
org.eclipse.epf.authoring.ui.editors.EditorChooser.openEdito r(EditorChooser.java:241)
at
org.eclipse.epf.authoring.ui.editors.EditorChooser.openEdito r(EditorChooser.java:167)
at
org.eclipse.epf.authoring.ui.UIActionDispatcher$1.doubleClic k(UIActionDispatcher.java:128)
at
org.eclipse.epf.authoring.ui.UIActionDispatcher.handleDouble ClickEvent(UIActionDispatcher.java:292)
at
org.eclipse.epf.authoring.ui.views.LibraryView$7.doubleClick (LibraryView.java:554)
at
org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredV iewer.java:799)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:19 9)
at
org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(S tructuredViewer.java:797)
at
org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSel ect(AbstractTreeViewer.java:1387)
at
org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSe lected(StructuredViewer.java:1173)
at
org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEven t(OpenStrategy.java:237)
at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.ja va:234)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:295)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3319)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2971)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.epf.rcp.ui.MainApplication.createWorkbenchAdviso r(MainApplication.java:114)
at org.eclipse.epf.rcp.ui.MainApplication.start(MainApplication .java:80)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
Isabela schrieb:
> Try to close the project and open the project (in the navigator view).
>
> It helps me when becoming Null Point Exception error.
>
> Regards.
>
Thanks for the advice, but it doesn't change anything.
I think you got some other exception before.
Looks like when editor try to add pages into it, you got some exception.
And in that case, it tries to dispose all the pages. Please post that
other exception.
Also, need more details.
What's OS - windows/ linux ?
JRE version - ?
Eclipse version ?
Shilpa Toraskar schrieb:
> I think you got some other exception before.
> Looks like when editor try to add pages into it, you got some exception.
> And in that case, it tries to dispose all the pages. Please post that
> other exception.
No, there are no other exceptions before.
>
> Also, need more details.
> What's OS - windows/ linux ?
Linux (Kubuntu 8.10)
> JRE version - ?
> Eclipse version ?
As written in the first post, I tried EPF Composer 1.5.0 as well as
1.5.2 using both Java 1.5 and 1.6.
As far as I know, EPF out of the box will not work on Kubuntu. You may
have to do some work to get the richtext working, because Kubuntu supplies
the latest firefox with shared libs, and SWT requires firefox with static
libs. I guess that's the reason editors will not show, since richtext
can't come up.
Please try our supported OS. OR if you get working around the issue,
please share it here for the benefits of others.
I've also tried to run EPF on Ubuntu 8.04 but it failed to open the editor:
A system error has occurred.
Close some of the opened editors and try again.
No more handles (java.lang.UnsatisfiedLinkError: no swt-mozilla-gtk-3349 or swt-mozilla-gtk in swt.library.path, java.library.path or the jar file)
I've also got the NullPointerException mentioned in previous posts.
Isabela schrieb:
> Try to close the project and open the project (in the navigator view).
>
> It helps me when becoming Null Point Exception error.
>
> Regards.
>
Thanks for the advice, but it doesn't change anything.
I think you got some other exception before.
Looks like when editor try to add pages into it, you got some exception.
And in that case, it tries to dispose all the pages. Please post that
other exception.
Also, need more details.
What's OS - windows/ linux ?
JRE version - ?
Eclipse version ?
Shilpa Toraskar schrieb:
> I think you got some other exception before.
> Looks like when editor try to add pages into it, you got some exception.
> And in that case, it tries to dispose all the pages. Please post that
> other exception.
No, there are no other exceptions before.
>
> Also, need more details.
> What's OS - windows/ linux ?
Linux (Kubuntu 8.10)
> JRE version - ?
> Eclipse version ?
As written in the first post, I tried EPF Composer 1.5.0 as well as
1.5.2 using both Java 1.5 and 1.6.
As far as I know, EPF out of the box will not work on Kubuntu. You may
have to do some work to get the richtext working, because Kubuntu supplies
the latest firefox with shared libs, and SWT requires firefox with static
libs. I guess that's the reason editors will not show, since richtext
can't come up.
Please try our supported OS. OR if you get working around the issue,
please share it here for the benefits of others.
I've also tried to run EPF on Ubuntu 8.04 but it failed to open the editor:
A system error has occurred.
Close some of the opened editors and try again.
No more handles (java.lang.UnsatisfiedLinkError: no swt-mozilla-gtk-3349 or swt-mozilla-gtk in swt.library.path, java.library.path or the jar file)
I've also got the NullPointerException mentioned in previous posts.
Folks I get this error... I have tried all above. I am on 12.10 Ubuntu with openjdk.
A system error has occurred. Click Details for more information.
Close some of the opened editors and try again.
No more handles [MOZILLA_FIVE_HOME='/usr/lib/xulrunner-addons'] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
/home/jmiller/epf-composer/configuration/org.eclipse.osgi/bundles/66/1/.cp/libswt-mozilla-gtk-3659.so: libxpcom.so: cannot open shared object file: No such file or directory
no swt-mozilla-gtk in java.library.path
/tmp/swtlib-32/libswt-mozilla-gtk-3659.so: libxpcom.so: cannot open shared object file: No such file or directory
Can't load library: /tmp/swtlib-32/libswt-mozilla-gtk.so
)