facebook

UML Internal Error

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

    Freightek
    Member

    I’ve received the following error when trying to open up a UML document after doing the latest update.

    Unable to create this part due to an internal error. Reason for the failure: An exception was thrown during initialization
    
    java.lang.NullPointerException
        at com.genuitec.eclipse.uml.editor.UMLEditor.init(UMLEditor.java:667)
        at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:773)
        at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:572)
        at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:365)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
        at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:283)
        at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126)
        at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
        at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
        at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:391)
        at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1102)
        at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1051)
        at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1256)
        at org.eclipse.ui.internal.PartStack.add(PartStack.java:442)
        at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:109)
        at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:60)
        at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:212)
        at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:202)
        at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:753)
        at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:665)
        at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:628)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2323)
        at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2258)
        at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2250)
        at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2236)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2231)
        at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2212)
        at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
        at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)

    Here’s my config info:

    *** Date: Fri Oct 07 14:24:53 EDT 2005

    *** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_02

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.0.2 GA
    Build id: 20051010-4.0.2-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Platform

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse RCP

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Java Development Tools

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Plug-in Development Environment

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Project SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\eclipse31\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    f6c_58
    -vm
    C:\WINDOWS\system32\javaw.exe

    #238973 Reply

    Riyad Kalla
    Member

    I have asked someone from the UML team to take a look.

    #239004 Reply

    Kapil Kapre
    Member

    Freightek,
    Are there any more entries in the log?? Also what command line parameters are you using on your eclipse shortcut?
    We suggest something like

     -vmargs -Xms256M -Xmx128M 

    or higher.

    #239011 Reply

    Victor Ott
    Member

    -Xms256M -Xmx128M

    or maybe

    -Xmx256M -Xms128M

    ?

    #239022 Reply

    Scott Anderson
    Participant

    The issue *might be* that the Eclipse plugin cache got stale after you updated to 4.0.2 as it sometimes does not cleanly rebuild after updates. To rectify the problem you’ll need to restart Eclipse with the -clean flag one time: eclipse.exe -clean

    That could also resolve the problem.

    #239054 Reply

    Kapil Kapre
    Member

    @vict0r wrote:

    -Xms256M -Xmx128M

    or maybe

    -Xmx256M -Xms128M

    ?

    Sorry, thats what I meant

    
    -Xmx256M -Xms128M
    
Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: UML Internal Error

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