- This topic has 27 replies, 10 voices, and was last updated 17 years, 3 months ago by andredidier.
-
AuthorPosts
-
p.darioMemberI found that the whole JDK suffers the “UnknownHostException” error: the only way I can connect to other hosts is to use -Dsun.net.spi.nameservice.provider.1=dns,sun in the command line; I added this to the MyEclipse link and now I can download updates.
The UML error still remains.
p.darioMemberSame result with latest 4.1GA
p.darioMemberCan anybody confirm this is being investigated?
Kapil KapreMemberp.dario,
We still havent been able to replicate it in our test environment. A “NoClassDefFoundError” is 99% of the time a configuration issue. However either we do not know enough about your configuration to duplicate it our side or there is some mis-understanding of information you provided. Could you please post all the information we request in [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL].
Thanks,
Kapil
Olaf PotentMemberHallo,
I had the same problem with the UML-Repository,
after inserting my Hostname with the externel address to my /etc/hosts file everythings works fine.Maybe that helps..
Olaf
Kapil KapreMemberOlaf,
Thanks for sharing this with other users. Just to confirm, you solved the same “NoClassDefFound” error i.e.com.genuitec.eclipse.uml.wizard.NewUMLModelFileWizardPage.getNewFile(): java.lang.NoClassDefFoundError
by inserting a resolution entry for localhost in the hosts file?
Olaf PotentMemberKapil,
I inserted the Computername with the externel IP:
10.60.33.122 Frodo
Under the localhost definition
Olaf
nielsbischofMemberMESSAGE Exception in com.genuitec.eclipse.uml.wizard.NewUMLModelFileWizardPage.getNewFile(): java.lang.NoClassDefFoundError
I had the same problem when trying to create my first model repository.
When I look at the console output in the terminal where I started eclipse I noticed:…
at org.eclipse.core.launcher.Main.main(Main.java:948)
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:106)
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:232)
at org.argouml.ui.ProjectBrowser.initialize(ProjectBrowser.java:183)
at org.argouml.ui.ProjectBrowser.<init>(ProjectBrowser.java:171)
at org.argouml.ui.ProjectBrowser.getInstance(ProjectBrowser.java:821)
at com.genuitec.eclipse.uml.integrator.ArgoInterface$1.run(ArgoInterface.java:177)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
… 63 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)
… 79 moreAnd that was exactly the case.
I could not ping my own hostname for some reason.
I changed /etc/hosts accordingly and sure enough ……. it works.
I’ve got my first repository.Best,
Niels
p.darioMemberCould a personal firewall stop UML Repository creation??
amuruganMemberHi ,
I am also facing the same issue . I am using eclipse 3.1.2 , myeclipse 4 and JDK1.5 . When I tried to create the UML repository , I am getting an internal error :{0} .The error in the log was!MESSAGE While loading class “com.genuitec.eclipse.easie.core.EASIEPlugin”, thread “Worker-2” timed out waiting (5000ms) for thread “main” to finish starting bundle “com.genuitec.eclipse.easie.core”. To avoid deadlock, thread “Worker-2” is proceeding but “com.genuitec.eclipse.easie.core.EASIEPlugin” may not be fully initialized.
!STACK 0
java.lang.Exception: Generated exception.
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:108)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:337)
at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:350)
at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.defineClass(DefaultClassLoader.java:370)
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineClass(EclipseClassLoader.java:233)
at org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.findClassImpl(DefaultClassLoader.java:343)
at org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.findClass(DefaultClassLoader.java:235)
at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.findLocalClass(AbstractClassLoader.java:183)
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFindLocalClass(EclipseClassLoader.java:141)
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:82)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:337)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:389)
at org.eclipse.osgi.framework.int……[u]!ENTRY org.eclipse.jdt.launching 4 4 2006-08-03 15:39:10.762
!MESSAGE Failed to retrieve default libraries for C:\jdk15I tried restarting the eclipse with the -clean option and I am still getting the same error . However the exception is different this time
!ENTRY com.genuitec.eclipse.hibernate 4 0 2006-08-03 17:44:31.943
!MESSAGE startup class must implement org.eclipse.ui.IStartup!ENTRY com.genuitec.eclipse.core 1 0 2006-08-03 17:44:42.409
!MESSAGE Unable to locate .myeclipse.properties file!ENTRY com.genuitec.eclipse.uml 1 0 2006-08-03 17:44:56.430
!MESSAGE Exception in com.genuitec.eclipse.uml.wizard.NewUMLModelFileWizardPage.getNewFile(): java.lang.ExceptionInInitializerErrorThanks in anticipation ,
Arun
amuruganMemberHi ,
I am also facing the same issue . I am using eclipse 3.1.2 , myeclipse 4 and JDK1.5 . When I tried to create the UML repository , I am getting an internal error :{0} .The error in the log was!MESSAGE While loading class “com.genuitec.eclipse.easie.core.EASIEPlugin”, thread “Worker-2” timed out waiting (5000ms) for thread “main” to finish starting bundle “com.genuitec.eclipse.easie.core”. To avoid deadlock, thread “Worker-2” is proceeding but “com.genuitec.eclipse.easie.core.EASIEPlugin” may not be fully initialized.
!STACK 0
java.lang.Exception: Generated exception.
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:108)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:337)
at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:350)
at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.defineClass(DefaultClassLoader.java:370)
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineClass(EclipseClassLoader.java:233)
at org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.findClassImpl(DefaultClassLoader.java:343)
at org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.findClass(DefaultClassLoader.java:235)
at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.findLocalClass(AbstractClassLoader.java:183)
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFindLocalClass(EclipseClassLoader.java:141)
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:82)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:337)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:389)
at org.eclipse.osgi.framework.int……[u]!ENTRY org.eclipse.jdt.launching 4 4 2006-08-03 15:39:10.762
!MESSAGE Failed to retrieve default libraries for C:\jdk15I tried restarting the eclipse with the -clean option and I am still getting the same error . However the exception is different this time
!ENTRY com.genuitec.eclipse.hibernate 4 0 2006-08-03 17:44:31.943
!MESSAGE startup class must implement org.eclipse.ui.IStartup!ENTRY com.genuitec.eclipse.core 1 0 2006-08-03 17:44:42.409
!MESSAGE Unable to locate .myeclipse.properties file!ENTRY com.genuitec.eclipse.uml 1 0 2006-08-03 17:44:56.430
!MESSAGE Exception in com.genuitec.eclipse.uml.wizard.NewUMLModelFileWizardPage.getNewFile(): java.lang.ExceptionInInitializerErrorThanks in anticipation ,
Arun
amuruganMemberHi ,
I am also facing the same issue . I am using eclipse 3.1.2 , myeclipse 4 and JDK1.5 . When I tried to create the UML repository , I am getting an internal error :{0} .The error in the log was!MESSAGE While loading class “com.genuitec.eclipse.easie.core.EASIEPlugin”, thread “Worker-2” timed out waiting (5000ms) for thread “main” to finish starting bundle “com.genuitec.eclipse.easie.core”. To avoid deadlock, thread “Worker-2” is proceeding but “com.genuitec.eclipse.easie.core.EASIEPlugin” may not be fully initialized.
!STACK 0
java.lang.Exception: Generated exception.
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:108)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:337)
at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:386)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:350)
at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.defineClass(DefaultClassLoader.java:370)
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineClass(EclipseClassLoader.java:233)
at org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.findClassImpl(DefaultClassLoader.java:343)
at org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.findClass(DefaultClassLoader.java:235)
at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.findLocalClass(AbstractClassLoader.java:183)
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFindLocalClass(EclipseClassLoader.java:141)
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:82)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:337)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:389)
at org.eclipse.osgi.framework.int……[u]!ENTRY org.eclipse.jdt.launching 4 4 2006-08-03 15:39:10.762
!MESSAGE Failed to retrieve default libraries for C:\jdk15I tried restarting the eclipse with the -clean option and I am still getting the same error . However the exception is different this time
!ENTRY com.genuitec.eclipse.hibernate 4 0 2006-08-03 17:44:31.943
!MESSAGE startup class must implement org.eclipse.ui.IStartup!ENTRY com.genuitec.eclipse.core 1 0 2006-08-03 17:44:42.409
!MESSAGE Unable to locate .myeclipse.properties file!ENTRY com.genuitec.eclipse.uml 1 0 2006-08-03 17:44:56.430
!MESSAGE Exception in com.genuitec.eclipse.uml.wizard.NewUMLModelFileWizardPage.getNewFile(): java.lang.ExceptionInInitializerErrorThanks in anticipation ,
Arun
andredidierMemberVery simple:
I have a Ubuntu 7.04.Replaced the line below in /etc/hosts:
127.0.0.1 localhost myhost.myhostdomainTo:
127.0.0.1 myhost
Where myhost is the name defined in the file /etc/hostname.
Thanks!
-
AuthorPosts