magir
Joined: 13 Oct 2004
Posts: 9
|
Posted: Wed Oct 20, 2004 8:06 am Post subject: SVG broken under Mac OS X?
|
|
|
exporting diagrams to SVG doesn't seem to work under Mac OS X, the following error message is appended to the log:
Code: |
!ENTRY org.eclipse.ui 4 0 Oct 20, 2004 09:51:23.296
!MESSAGE Can't start the AWT because Java was started on the first thread. Make sure StartOnFirstThread is not specified in your application's Info.plist or on the command line
!STACK 0
java.lang.InternalError: Can't start the AWT because Java was started on the first thread. Make sure StartOnFirstThread is not specified in your application's Info.plist or on the command line
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1503)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
...
|
As it seems this is related to a Bug within Eclipse, I found the following solution for it, perhaps this resolves the issue or does someone else know, why I'm not able to export diagrams?
Quote: |
The gory details: The underlying issue that we were experiencing was due to the Eclipse 3.0 on the Mac being unable to work with Java AWT. Such behavior is documented in an Eclipse bug report (I don't have the number offhand). EchoStudio ran afoul of this issue when doing introspection of Echo components, as the JavaBeans framework was by default performing bean introspection using AWT's "ComponentBeanInfo" BeanInfo implementation. The fix was as simple as forcing the use of the non-AWT SimpleBeanInfo implementation instead. |
Source: http://forum.nextapp.com/forum/index.php?s=277b3be374e74ba2f75013f81eebcf19&showtopic=571&st=0entry2184
|
|