Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EPF » Editors do not work
Editors do not work [message #55830] Thu, 05 March 2009 11:14 Go to next message
No real name is currently offline No real nameFriend
Messages: 33
Registered: July 2009
Member
Hi,

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)
Re: Editors do not work [message #55912 is a reply to message #55830] Fri, 06 March 2009 20:11 Go to previous messageGo to next message
Isabela is currently offline IsabelaFriend
Messages: 16
Registered: July 2009
Junior Member
Try to close the project and open the project (in the navigator view).

It helps me when becoming Null Point Exception error.

Regards.
Re: Editors do not work [message #56002 is a reply to message #55912] Tue, 10 March 2009 12:42 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 33
Registered: July 2009
Member
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.
Re: Editors do not work [message #56081 is a reply to message #55830] Tue, 17 March 2009 17:17 Go to previous messageGo to next message
Shilpa Toraskar is currently offline Shilpa ToraskarFriend
Messages: 65
Registered: July 2009
Member
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 ?

Thanks
Shilpa
Re: Editors do not work [message #56316 is a reply to message #56081] Thu, 19 March 2009 12:41 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 33
Registered: July 2009
Member
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.

>
> Thanks
> Shilpa
>
Re: Editors do not work [message #56425 is a reply to message #56316] Thu, 26 March 2009 17:30 Go to previous messageGo to next message
Shilpa Toraskar is currently offline Shilpa ToraskarFriend
Messages: 65
Registered: July 2009
Member
We don't officially support Kubuntu.

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.

Thanks

--
Shilpa
EPF Committer
Re: Editors do not work [message #501774 is a reply to message #56425] Thu, 03 December 2009 18:03 Go to previous messageGo to next message
Alisson Wilker is currently offline Alisson WilkerFriend
Messages: 4
Registered: December 2009
Junior Member
Hello,

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.

Has anybody got a solution to this error?

Thanks in advance.

Alisson Wilker
Re: Editors do not work [message #502290 is a reply to message #501774] Mon, 07 December 2009 15:57 Go to previous messageGo to next message
Alisson Wilker is currently offline Alisson WilkerFriend
Messages: 4
Registered: December 2009
Junior Member
Here is a workaround for the problem with the editors when using EPF in a Ubuntu-like linux.

1. Install xulrunner:

sudo apt-get install xulrunner

2. Go to user home directory:

cd ~

3. Open .bashrc for editing:

gedit .bashrc

4. Add following lines:

export MOZILLA_FIVE_HOME=/usr/lib/xulrunner
export LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME

5. Save and execute bash in the command line:

bash

6. Go to EPF Composer directory and run EPF with clean parameter:

./epf -clean

Everything should be working by now.

Acknowledgment:

https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/10966 9
Re: Editors do not work [message #591431 is a reply to message #55830] Fri, 06 March 2009 20:11 Go to previous messageGo to next message
Isabela is currently offline IsabelaFriend
Messages: 16
Registered: July 2009
Junior Member
Try to close the project and open the project (in the navigator view).

It helps me when becoming Null Point Exception error.

Regards.
Re: Editors do not work [message #591456 is a reply to message #55912] Tue, 10 March 2009 12:42 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 33
Registered: July 2009
Member
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.
Re: Editors do not work [message #591480 is a reply to message #55830] Tue, 17 March 2009 17:17 Go to previous messageGo to next message
Shilpa Toraskar is currently offline Shilpa ToraskarFriend
Messages: 65
Registered: July 2009
Member
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 ?

Thanks
Shilpa
Re: Editors do not work [message #591518 is a reply to message #56081] Thu, 19 March 2009 12:41 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 33
Registered: July 2009
Member
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.

>
> Thanks
> Shilpa
>
Re: Editors do not work [message #591560 is a reply to message #56316] Thu, 26 March 2009 17:30 Go to previous messageGo to next message
Shilpa Toraskar is currently offline Shilpa ToraskarFriend
Messages: 65
Registered: July 2009
Member
We don't officially support Kubuntu.

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.

Thanks

--
Shilpa
EPF Committer
Re: Editors do not work [message #599017 is a reply to message #56425] Thu, 03 December 2009 18:03 Go to previous messageGo to next message
Alisson Wilker is currently offline Alisson WilkerFriend
Messages: 4
Registered: December 2009
Junior Member
Hello,

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.

Has anybody got a solution to this error?

Thanks in advance.

Alisson Wilker
Re: Editors do not work [message #599021 is a reply to message #599017] Mon, 07 December 2009 15:57 Go to previous messageGo to next message
Alisson Wilker is currently offline Alisson WilkerFriend
Messages: 4
Registered: December 2009
Junior Member
Here is a workaround for the problem with the editors when using EPF in a Ubuntu-like linux.

1. Install xulrunner:

sudo apt-get install xulrunner

2. Go to user home directory:

cd ~

3. Open .bashrc for editing:

gedit .bashrc

4. Add following lines:

export MOZILLA_FIVE_HOME=/usr/lib/xulrunner
export LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME

5. Save and execute bash in the command line:

bash

6. Go to EPF Composer directory and run EPF with clean parameter:

/epf -clean

Everything should be working by now.

Acknowledgment:

https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/10966 9
Re: Editors do not work [message #990137 is a reply to message #502290] Tue, 11 December 2012 04:34 Go to previous messageGo to next message
John Miller is currently offline John MillerFriend
Messages: 4
Registered: August 2012
Junior Member
Alison I have been looking for this fix for days... Thanks!! Smile
Re: Editors do not work [message #990138 is a reply to message #599021] Tue, 11 December 2012 05:39 Go to previous message
John Miller is currently offline John MillerFriend
Messages: 4
Registered: August 2012
Junior Member
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
)
Previous Topic:Import raw XML files into EPF
Next Topic:ClearCase - Problem with refreshing the views of Java projects
Goto Forum:
  


Current Time: Wed Nov 26 02:01:07 GMT 2014

Powered by FUDForum. Page generated in 0.09959 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software