java.lang.NoClassDefFoundError: sun/awt/windows/WEmbeddedFrame

I downloaded the “Community Edition” of VP UML for Eclipse (both sdeceec_20040108.jar and sdeceec_20040108_no_install.zip) . However, it will not run. BTW, the installation instructions are inaccessible – the URL (http://www.visual-paradigm.com/installationInstruction.php?product=sdeceec&platform=JavaEnabledPlatforms) yields a blank page, in multiple browsers.

Environment :
OS: Debian Linux (kernel 2.6.0)
Java: 1.4.2 (from Sun)
Eclipse: 2.1.1 (debian package)

I have tried both the plugin directory created by the jar installer and using the plugin directory from the no_install zip file. The first time I accessed the plugin it prompted me for licensing information. I provided the license key and it has not prompted me again. Whenever I try to create a new class diagram (I haven’t tried any other diagram types, because I only want a class diagram), I see the following output:

------------------------------- VPSDEECMain.<init>
------------------------------- VPSDEECMain.startUp
cannot load E1 library
cannot load I1 library
cannot load W1 library
cannot register

at this point a dialog appears reporting “Unable to create part: Class Diagram1”. The error log contains this stack trace :


java.lang.NoClassDefFoundError: sun/awt/windows/WEmbeddedFrame
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClass(DelegatingURLClassLoader.java:922)
at org.eclipse.core.internal.plugins.PluginClassLoader.internalFindClassParentsSelf(PluginClassLoader.java:166)
at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClassParentsSelf(DelegatingURLClassLoader.java:485)
at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:882)
at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:862)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClass(DelegatingURLClassLoader.java:922)
at org.eclipse.core.internal.plugins.PluginClassLoader.internalFindClassParentsSelf(PluginClassLoader.java:166)
at org.eclipse.core.internal.boot.DelegatingURLClassLoader.findClassParentsSelf(DelegatingURLClassLoader.java:485)
at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:882)
at org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:862)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at v.fir.a(Unknown Source)
at v.fir.a(Unknown Source)
at com.vp.vpsde.ec.editors.DiagramEditor.createPartControl(Unknown Source)
at org.eclipse.ui.internal.PartPane$4.run(PartPane.java:141)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)
at org.eclipse.core.runtime.Platform.run(Platform.java:413)
at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:137)
at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:186)
at org.eclipse.ui.internal.EditorWorkbook.createPage(EditorWorkbook.java:387)
at org.eclipse.ui.internal.EditorWorkbook.add(EditorWorkbook.java:123)
at org.eclipse.ui.internal.EditorArea.addEditor(EditorArea.java:55)
at org.eclipse.ui.internal.EditorPresentation.openEditor(EditorPresentation.java:351)
at org.eclipse.ui.internal.EditorManager$2.run(EditorManager.java:585)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:574)
at org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:668)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:459)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:431)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2054)
at org.eclipse.ui.internal.WorkbenchPage.access$700(WorkbenchPage.java:91)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:1991)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:1986)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:1919)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:1911)
at v.bul.run(Unknown Source)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:98)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1618)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1436)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
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:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)

What should I look for and what can I try to correctly and completely install VP-UML for Eclipse?

Hi dsh,

At the moment, the SDE Eclipse edition does not work in any distribution of linux, at the moment, this is one of our top priorities to fix (SDE NetBeans and JBuilder seem to work fine).

For the time being, may I suggest using VP-UML 3.0 CE separately from Eclipse? Alternatively, you can use the SDE Eclipse in Windows.

Thanks for bringing up this error and using VP products.

Martyn

martyn wrote:
| At the moment, the SDE Eclipse edition does not work in any distribution of linux,

That’s too bad. Is there an older version that does work, or can I subscribe to notification of a new release that works? If not then I’ll just have to use other tools (at least in the meantime).

Thanks for letting me know, though!

-D

Hi dsh,

There is no older version of the SDE for Eclipse. You will have to use VP-UML 3.0 CE which works in linux without any problems.

Hope this helps.

Martyn

Hello Martyn

are you a representative of VP?
If so, could you PLEASE make it clear on the home page that
VP UML for Eclipse is not funtioning under linux.

Its taken me a day of futile effort trying to get it to work in linux, only to discover this chat page and that the task is not possible.

thanks, rodney

Hi!

I have some problem under eclipse on debian starting sde. After succesfully instalation I installed the license key, but I just could not start any diagramm.
If I open a project, and after open SDE-EC, I got errors: “Unable to create part: Property pane”, same with message pane and so on.

using eclipse 3.0 M8 under debian with sdeceec_20040414_no_install.zip

Do you still do not support linux with eclipse or I just doing something wrong?

Dear tshuma,

Yes, SDE for Eclipse is still not supported in Linux.

Regards,

Antony.

Hi! Hope you could fix this bug at the soonest, as it is quite frustrating. Thanks!

It’s a good idea to put a sign on the visual paradigm site that the SDE plugin for eclipse doesn’t work under linux (not only that it is not supported, under linux that line means something totaly different).
This way downloading SDE is just a total waste of time.

It’s a good idea to put a sign on the visual paradigm site that the SDE plugin for eclipse doesn’t work under linux (not only that it is not supported, under linux that line means something totaly different).
This way downloading SDE is just a total waist of time.

Hi Alexander,

There already is a notice which indicates this. Moreover, it’s not possible to download and SDE for Eclipse in Linux - the links arnt there. We only offer the Windows and the no_install versions.

Hope this answers your question.

Martyn

please contact me when somebody’ll solve the problem, many many thanks

angela wrote:

please contact me when somebody’ll solve the problem, many many
thanks