facebook

UML does not seem to work correctly…

  1. MyEclipse Archived
  2.  > 
  3. UML Development
Viewing 7 posts - 16 through 22 (of 22 total)
  • Author
    Posts
  • #272092 Reply

    I believe I am getting the same error:

    eclipse.buildId=M20070212-1330
    java.version=1.5.0_09
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
    Framework arguments: -product com.genuitec.myeclipse.product.ide
    Command-line arguments: -os linux -ws gtk -arch x86 -product com.genuitec.myeclipse.product.ide

    !ENTRY com.tikal.eclipse.updatemanager.quicksetup 4 4 2007-06-26 19:07:46.295
    !MESSAGE Network connection problems encountered during search.

    what should the contents of the /etc/hosts file look like?

    mine file has:
    127.0.0.1 localhost

    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts

    #272108 Reply

    now on to the next error:

    when trying to create a new uml repository, I get a dialog box titled ‘Creation problems” with the text Internal error: {0}

    on the console I see the following text:

    java.lang.reflect.InvocationTargetException
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:383)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:479)
    at com.genuitec.eclipse.uml.integrator.ArgoInterface.initialize(ArgoInterface.java:85)
    at com.genuitec.eclipse.uml.integrator.ArgoInterface.<init>(ArgoInterface.java:425)
    at com.genuitec.eclipse.uml.integrator.ArgoInterface.<clinit>(ArgoInterface.java:67)
    at com.genuitec.eclipse.uml.UMLPlugin.<init>(UMLPlugin.java:137)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at org.eclipse.core.internal.plugins.PluginDescriptor.internalDoPluginActivation(PluginDescriptor.java:423)
    at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:371)
    at org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin(PluginDescriptor.java:340)
    at org.eclipse.core.internal.compatibility.PluginActivator.start(PluginActivator.java:28)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:991)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:985)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:966)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:317)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:256)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:342)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.preFindLocalClass(EclipseLazyStarter.java:88)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:412)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:334)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:278)
    at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1245)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:147)
    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:759)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
    at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:242)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:238)
    at org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:120)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:225)
    at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
    at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:441)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3180)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2856)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
    at org.eclipse.core.launcher.Main.run(Main.java:977)
    at org.eclipse.core.launcher.Main.main(Main.java:952)
    Caused by: java.lang.ExceptionInInitializerError
    at org.argouml.model.uml.AbstractUmlModelFactory.initialize(AbstractUmlModelFactory.java:54)
    at org.argouml.model.uml.ModelManagementFactoryImpl.createModel(ModelManagementFactoryImpl.java:70)
    at org.argouml.kernel.Project.makeUntitledProject(Project.java:215)
    at org.argouml.kernel.ProjectManager.makeEmptyProject(ProjectManager.java:239)
    at org.argouml.kernel.ProjectManager.getCurrentProject(ProjectManager.java:215)
    at org.argouml.ui.explorer.ExplorerTree.<init>(ExplorerTree.java:107)
    at org.argouml.ui.explorer.DnDExplorerTree.<init>(DnDExplorerTree.java:129)
    at org.argouml.ui.NavigatorPane.<init>(NavigatorPane.java:144)
    at org.argouml.ui.NavigatorPane.<init>(NavigatorPane.java:127)
    at org.argouml.ui.NavigatorPane.getInstance(NavigatorPane.java:97)
    at org.argouml.ui.ProjectBrowser.createPanels(ProjectBrowser.java:233)
    at org.argouml.ui.ProjectBrowser.initialize(ProjectBrowser.java:184)
    at org.argouml.ui.ProjectBrowser.<init>(ProjectBrowser.java:172)
    at org.argouml.ui.ProjectBrowser.getInstance(ProjectBrowser.java:822)
    at com.genuitec.eclipse.uml.integrator.ArgoInterface$1.run(ArgoInterface.java:177)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
    … 67 more
    Caused by: java.lang.IllegalStateException: UnknownHostException caught – set up your /etc/hosts
    at org.argouml.model.UUIDManager.<init>(UUIDManager.java:68)
    at org.argouml.model.UUIDManager.<clinit>(UUIDManager.java:48)
    … 83 more
    !SESSION 2007-06-27 08:09:00.425 ———————————————–
    eclipse.buildId=M20070212-1330
    java.version=1.5.0_09
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
    Framework arguments: -product com.genuitec.myeclipse.product.ide
    Command-line arguments: -os linux -ws gtk -arch x86 -product com.genuitec.myeclipse.product.ide

    !ENTRY com.genuitec.eclipse.uml 1 0 2007-06-27 08:09:26.145
    !MESSAGE Exception in com.genuitec.eclipse.uml.wizard.NewUMLModelFileWizardPage.getNewFile(): java.lang.NoClassDefFoundError

    #272113 Reply

    Riyad Kalla
    Member

    Well there are two things that look suspicious… 1 is the hosts error… not sure what is going on there… and the other is the classnot found… that’s never good.

    Is your entire hosts file what you posted above?

    #272135 Reply

    changed hosts file to read:

    127.0.0.1 anderson localhost.localdomain localhost

    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts

    problem is now resolved, thanks for your help

    btw

    the uml tools just seem to hang when running the 1.5 sdk, but runs better using the 1.6 jdk

    #272197 Reply

    Riyad Kalla
    Member

    Thank you for following up, I’m glad it’s working I’ll make an internal note of this.

    Also we have seen better performance with JDK 6 on Linux with respect to some of the MyEclipse tools… not sure why the difference is so pronounced sometimes though.

    #272357 Reply

    anaonlin
    Member

    did u have veryed all the configurations ?

    #272402 Reply

    Loyal Water
    Member

    Could you rephrase the question please..

Viewing 7 posts - 16 through 22 (of 22 total)
Reply To: UML does not seem to work correctly…

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