facebook

NPE using eclipse/EMF in a project with a UML diagram

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #236403 Reply

    I have created an EMF project that was working ok using Eclipse 3.1, newest MyEclipseIde (4.0GA), and the patched/latest EMF (2.1.1 Milestone of 8/15/05).

    I get the following error when I first try to create a UML diagram.

    It appears to go away after I do reverse engineering of the generated interfaces.
    Until then, it was happening frequently.

    BTW: reverse engineering of the EMF generated code is not particularly useful.

    java.lang.NullPointerException
    at com.genuitec.eclipse.uml.UMLPlugin$DeltaPrinter.visit(UMLPlugin.java:539)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:49)
    at com.genuitec.eclipse.uml.UMLPlugin$4.resourceChanged(UMLPlugin.java:265)
    at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:276)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
    at org.eclipse.core.runtime.Platform.run(Platform.java:783)
    at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:270)
    at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:144)
    at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:180)
    at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:914)
    at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

    #236438 Reply

    Riyad Kalla
    Member

    I get the following error when I first try to create a UML diagram.

    Do you mean File > New > … > UML Repository?

    It appears to go away after I do reverse engineering of the generated interfaces.
    Until then, it was happening frequently.

    When does it come back?

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: NPE using eclipse/EMF in a project with a UML diagram

You must be logged in to post in the forum log in