Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » NPE
NPE [message #156701] Mon, 22 October 2007 13:17 Go to next message
Eclipse UserFriend
Hi,

I did a diagram editor using the sub-diagramming to reopen itself some
times. I noticed that when I use that feature (I open a diagram from a
diagram) and then I close everything, If I re-open my diagram then I get
many NPE's. Here is a stacktrace :

java.lang.NullPointerException
at org.eclipse.jface.action.ToolBarManager.update(ToolBarManage r.java:259)
at org.eclipse.ui.internal.ViewPane.updateActionBars(ViewPane.j ava:449)
at
org.eclipse.ui.internal.ViewActionBars.updateActionBars(View ActionBars.java:59)
at org.eclipse.ui.part.PageBookView.showPageRec(PageBookView.ja va:981)
at
org.eclipse.ui.views.contentoutline.ContentOutline.showPageR ec(ContentOutline.java:249)
at org.eclipse.ui.part.PageBookView.partClosed(PageBookView.jav a:768)
at org.eclipse.ui.internal.PartListenerList$3.run(PartListenerL ist.java:102)
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.PartListenerList.fireEvent(PartListe nerList.java:57)
at
org.eclipse.ui.internal.PartListenerList.firePartClosed(Part ListenerList.java:100)
at org.eclipse.ui.internal.PartService.firePartClosed(PartServi ce.java:100)
at
org.eclipse.ui.internal.WorkbenchPagePartList.firePartClosed (WorkbenchPagePartList.java:38)
at org.eclipse.ui.internal.PartList.partClosed(PartList.java:25 5)
at org.eclipse.ui.internal.PartList.removePart(PartList.java:17 6)
at
org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchP age.java:1603)


I'm using Europa fall and the corresponding GMF on Linux.

Any hint or advice ?

Cédric
Re: NPE [message #156744 is a reply to message #156701] Tue, 23 October 2007 05:06 Go to previous messageGo to next message
Eclipse UserFriend
Hello Cédric,

Can you see the same problem with GF-generated Ecore diagram example (it
is possible to double-click) on ePackage to open subdiagram of the same type.

-----------------
Alex Shatalin
Re: NPE [message #156749 is a reply to message #156744] Tue, 23 October 2007 05:07 Go to previous messageGo to next message
Eclipse UserFriend
Hello Alex,

> Can you see the same problem with GF-generated Ecore diagram example
Sorry, GMF-generated.

-----------------
Alex Shatalin
Re: NPE [message #156765 is a reply to message #156749] Tue, 23 October 2007 06:24 Go to previous messageGo to next message
Eclipse UserFriend
Hi Alex,

Using the ecore editor for a few minutes, opening/closing packages and
subpackages I get the same stacktrace.

Cédric


Alex Shatalin wrote:

> Hello Alex,
>
>> Can you see the same problem with GF-generated Ecore diagram example
> Sorry, GMF-generated.
>
> -----------------
> Alex Shatalin
Re: NPE [message #156773 is a reply to message #156765] Tue, 23 October 2007 07:03 Go to previous messageGo to next message
Eclipse UserFriend
Hello Cédric,

> Using the ecore editor for a few minutes, opening/closing packages and
> subpackages I get the same stacktrace.
Please submit a bugzilla entry for this problem with steps to repeat + stack
trace attached.

-----------------
Alex Shatalin
Re: NPE [message #156959 is a reply to message #156701] Wed, 24 October 2007 08:05 Go to previous message
Eclipse UserFriend
Hi Cédric!

I also have editors which apply diagram partitioning.
But I don't get any NPEs when opening and closing windows
like crazy.

Do you have added some elements to the toolbar?
I haven't.

Could you post the link to your bugreport in this thread
as well. I am eager to know if there is a problem which
could also become mine.

Cheers,
Nicolai


--

I'm using an evaluation license of nemo since 51 days.
You should really try it!
http://www.malcom-mac.com/nemo
Previous Topic:Notification not working
Next Topic:GMF generated code throws UnsupportedOperationException?!?
Goto Forum:
  


Current Time: Sat May 10 06:25:24 EDT 2025

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

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

Back to the top