facebook

UML internal error

  1. MyEclipse Archived
  2.  > 
  3. UML Development
Viewing 15 posts - 1 through 15 (of 28 total)
  • Author
    Posts
  • #235120 Reply

    I just upgraded to 4.0M3 on Eclipse 3.1 and tried creating a UML repository file. When I do, I get a dialog box “Creation problems” popping up with the message “Internal error: {0}”.

    eclipse build: Version: 3.1.0
    Build id: I20050627-1435

    myEclipse build: 4.0 Milestone 3(3.9.310)
    Build Id: 20050808-4.0-Milestone-3

    #235122 Reply

    Scott Anderson
    Participant

    Can you try restarting your install with -clean on the command line (eclipse.exe -clean). This rebuilds the plugin cache and solves a huge class of install / upgrade problems.

    #235123 Reply

    No go.

    Here’s my shortcut: C:\eclipse\eclipse.exe -clean -server -vmargs -Xms128M -Xmx512M -Dosgi.splashLocation=”C:\MyEclipse\MyEclipseSplash.bmp”

    #243713 Reply

    mansley
    Member

    I am running into this same problem. System: FC4 Linux, JDK1.5.0_06; Eclipse Build id: M20050929-0840; MyEclipse Build id: 20051025-4.0.3-GA; Command-line: eclipse -vmargs -Xms128M -Xmx512M . Any news on a work-around or fix?

    #243728 Reply

    Kapil Kapre
    Member

    Are there any exceptions in your log ? (<workspace>/.metadata/.log)

    #243745 Reply

    mansley
    Member

    Hi,

    Thanks for the response. Below is the log for an error that I have just generated. I have a selection of others, but they are all basically the same. UI response is as described in this thread.

    !SESSION 2005-12-27 21:41:31.189 ———————————————–
    eclipse.buildId=M20050929-0840
    java.version=1.5.0_06
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
    Command-line arguments: -os linux -ws gtk -arch x86

    !ENTRY com.genuitec.eclipse.uml 1 0 2005-12-27 21:44:52.773
    !MESSAGE Exception in com.genuitec.eclipse.uml.wizard.NewUMLModelFileWizardPage.getNewFile(): java.lang.NoClassDefFoundError

    Hope this helps.

    Cheers…

    Mike

    #243747 Reply

    Kapil Kapre
    Member

    Thats really strange, could you please make sure that MyEclipse is installed properly (perhaps try with another install location)? Try invoking eclipse with -clean too.

    #243748 Reply

    mansley
    Member

    Hi Kapil,

    I’ve already done the -clean thing, and I’ve reinstalled at least once, although not to a different directory. I will try this, but the directory that I’m using is not a dubious directory (spaces or anything). I use ~/devapps for my development tool stack, so eclipse is in ~/devapps/eclipse, and MyEclipseIDE is in ~/devapps/MyEclipse. I will try once more using the default ~/MyEclipse and let you know.

    Cheers…

    Mike

    #243751 Reply

    mansley
    Member

    Hi again,

    I’ve installed MyEclipseIDE into ~/MyEclipse, and the same problem occurs as before. One thing that I failed to mention is that I have both 1.4 and 1.5 jdks installed. I run eclipse using a shell script (see below) that changes JAVA_HOME to the 1.5 jdk, and puts the 1.5 jdk bin directory into the PATH, at the front, so that it’s ahead of any 1.4 stuff. This shouldn’t cause any problems, but I guess there may be something that I haven’t thought of here. Is it possible that the code in question is looking for a jdk 1.5 class, but searching the jdk 1.4 libraries?

    eclipse.sh shell script:
    export JAVA_HOME=/usr/java/jdk1.5.0_06
    export PATH=$JAVA_HOME/bin:$PATH
    export ECLIPSE_HOME=/home/mikea/devapps/eclipse
    $ECLIPSE_HOME/eclipse -vm /usr/java/jdk1.5.0_06/bin/java $*

    The script is called using the following:
    eclipse.sh -vmargs -Xms128M -Xmx512M

    Cheers…

    Mike

    #243752 Reply

    mansley
    Member

    I’ve just tried it with the jdk 1.4 installation removed, and the same problem still appears.

    #243760 Reply

    Kapil Kapre
    Member

    Mike,
    Thanks for following up. After testing it on our linux boxes this seems to be a weird configuration issue. Can you check that you have write priveleges to the project directory that you are trying to create the UMR into? Banning write access was the only way we could replicate the error ourside. Also is there anything special about the workspace we should know about (esp. filesystem) that might be useful?
    Thanks,
    – Kapil

    #243763 Reply

    mansley
    Member

    Hi Kapil,

    Thanks for this. My workspace directory was a two-level soft link. ~/workspace -> ~/src/workspace, and ~/src -> /mnt/src. /mnt/src is a separate mount point. I checked all the permissions and everything was correct. Then I removed the ~/workspace link and created a clean ~/workspace directory, and started eclipse and used that as a fresh workspace in a simple directory structure. I created a new test project, and tried to create a repository, and received the same error.

    I will keep trying to see what else I can find.

    Cheers…

    Mike

    #243839 Reply

    ekkehard
    Member

    hi,
    I also have problems.
    yesterday I did some tests with UML.
    then I finished my work with File–>Exit
    (all files are saved, but uml model still opened in editor)
    hitting the exit menu caused a crash of eclipse
    then tried to restart eclipse, but the whole workspace was damaged
    restarted the machine (W2K)
    renamed the myeclipse linkfile into .tmp
    restarted eclipse with -clean
    renamed the myeclipse back
    restarted eclipse again
    nogo with this workspace
    looking into the logfile

    !ENTRY com.genuitec.eclipse.core 1 0 2005-12-30 20:44:46.402
    !MESSAGE Unable to locate .myeclipse.properties file
    !SESSION 2005-12-31 08:50:09.67 ————————————————
    eclipse.buildId=I20050627-1435
    java.version=1.5.0_06
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
    Command-line arguments: -os win32 -ws win32 -arch x86

    !ENTRY com.genuitec.eclipse.core 1 0 2005-12-31 08:50:31.614
    !MESSAGE Unable to locate .myeclipse.properties file

    !ENTRY com.genuitec.eclipse.uml 1 0 2005-12-31 08:50:32.504
    !MESSAGE
    !STACK 0
    java.lang.reflect.InvocationTargetException
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:357)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:447)
    at com.genuitec.eclipse.uml.editor.UMLEditor.init(UMLEditor.java:751)
    at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:773)……

    Caused by: java.lang.NullPointerException
    at com.genuitec.eclipse.uml.editor.UMLEditor.performLoad(UMLEditor.java:1255)
    at com.genuitec.eclipse.uml.editor.UMLEditor.access$14(UMLEditor.java:1241)
    at com.genuitec.eclipse.uml.editor.UMLEditor$3.run(UMLEditor.java:754)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
    … 47 more
    Root exception:
    java.lang.NullPointerException
    at com.genuitec.eclipse.uml.editor.UMLEditor.performLoad(UMLEditor.java:1255)
    at com.genuitec.eclipse.uml.editor.UMLEditor.access$14(UMLEditor.java:1241)
    at com.genuitec.eclipse.uml.editor.UMLEditor$3.run(UMLEditor.java:754)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:447)
    at com.genuitec.eclipse.uml.editor.UMLEditor.init(UMLEditor.java:751)
    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.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:258)
    at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1216)
    at org.eclipse.ui.internal.EditorManager$5.run(EditorManager.java:944)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
    at org.eclipse.core.runtime.Platform.run(Platform.java:783)
    at org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:939)
    at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2535)
    at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1819)
    at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2566)
    at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2515)
    at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1514)
    at org.eclipse.ui.internal.Workbench$16.run(Workbench.java:1263)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:447)
    at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1258)
    at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1512)
    at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1491)
    at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1374)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
    at org.eclipse.core.runtime.Platform.run(Platform.java:783)
    at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1318)
    at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)
    at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:700)
    at org.eclipse.ui.internal.Workbench.init(Workbench.java:1034)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1636)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
    at org.eclipse.core.launcher.Main.run(Main.java:973)
    at org.eclipse.core.launcher.Main.main(Main.java:948)
    ———————
    hey this is the first time a plugin vendor crashed a whole workspace.
    I have to create a new one and import the projects

    but for the moment I go back to exadel studio. there’s no uml,
    but also no crash 😉 and: they have facelets

    wish you a happy new year – I’ll try myeclipse again in 2-3 months with
    new release
    regards
    ekkehard

    #243840 Reply

    Kapil Kapre
    Member

    @egentz wrote:

    then I finished my work with File–>Exit
    (all files are saved, but uml model still opened in editor)
    hitting the exit menu caused a crash of eclipse

    Was the editor hung or was it working prior to you exiting from eclipse?
    @egentz wrote:

    then tried to restart eclipse, but the whole workspace was damaged
    restarted the machine (W2K)
    renamed the myeclipse linkfile into .tmp
    restarted eclipse with -clean
    renamed the myeclipse back
    restarted eclipse again
    nogo with this workspace

    hey this is the first time a plugin vendor crashed a whole workspace.
    I have to create a new one and import the projects

    The UML plugin doesnt really interact with the workspace as such. So I’m not sure if UML caused the crash. Thats also not to rule out that it could have caused in your case. Did you simply open a UMR and eclipse crashed on exit which also corrupted your workspace? Any further feedback would be appreciated.

    #244735 Reply

    p.dario
    Member

    Same UI situation and error in the log file.

    !MESSAGE Exception in com.genuitec.eclipse.uml.wizard.NewUMLModelFileWizardPage.getNewFile(): java.lang.NoClassDefFoundError

    I’m running eclipse on WinXP as an administrator; I tried a fresh install of eclipse 3.1.1 and last stable and milestone releases of MyEclipse.

    One other strange thing happened to eclipse, but I don’t know whether it relates to this: any time I try to look for updates, I get UnknownHostException on every update URL.

Viewing 15 posts - 1 through 15 (of 28 total)
Reply To: UML internal error

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