on 06-10-2009 4:49 PM
Hello,
I'm currently configuring the Synchronization Manager in a Linux server, but there is an error trying to start the Synchronization Manager GUI, the server specs are:
.- OS: Red Hat 3.4.6-3
.- Architecture: x86_64
.- Java: j2sdk1.4.2_12
.- MaxDB Kernel version : 7.6.00.35
.- Synchronization Manager component version: 7.6.06.03
.- Eclipse version: 3.1
The error when I try to start the Synchronization Manager GUI:
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.lang.Class.initializeClass() (/usr/lib64/libgcj.so.5.0.0)
at JvResolvePoolEntry(java.lang.Class, int) (/usr/lib64/libgcj.so.5.0.0)
at org.eclipse.swt.widgets.Widget.isValidSubclass() (Unknown Source)
at org.eclipse.swt.widgets.Decorations.checkSubclass() (Unknown Source)
at org.eclipse.swt.widgets.Shell.Shell(org.eclipse.swt.widgets.Display, org.eclipse.swt.widgets.Shell, int, long) (Unknown Source)
at org.eclipse.swt.widgets.Shell.Shell(org.eclipse.swt.widgets.Shell, int) (Unknown Source)
at org.eclipse.jface.window.Window.createShell() (Unknown Source)
at org.eclipse.jface.window.Window.create() (Unknown Source)
at org.eclipse.jface.window.Window.open() (Unknown Source)
at com.sap.sdb.syncMan.gui.SyncManGUI.run() (Unknown Source)
at com.sap.sdb.syncMan.gui.SyncManGUI.main(java.lang.String[]) (Unknown Source)
Caused by: java.lang.NullPointerException
at memmove (/lib64/tls/libc-2.3.4.so)
at BJJ.Java_org_eclipse_swt_internal_gtk_OS_memmove_ (/sapdb/programs/app/syncman/extern/libswt-pi-gtk-3138.so)
at JvJNIMethod.call(ffi_cif, void, ffi_raw, void) (/usr/lib64/libgcj.so.5.0.0)
at org.eclipse.swt.internal.Converter.wcsToMbcs(java.lang.String, char[], boolean) (Unknown Source)
at org.eclipse.swt.internal.Converter.wcsToMbcs(java.lang.String, java.lang.String, boolean) (Unknown Source)
at org.eclipse.swt.widgets.Display.<clinit>() (Unknown Source)
at java.lang.Class.initializeClass() (/usr/lib64/libgcj.so.5.0.0)
From the exception I'm guessing that the libgcj has to be upgraded, am I right? or maybe the entire j2sdk to a newer version like 1.4.2_19?
Hope you can give me some guidance to solve this problem as soon as possible.
Regards,
Miguel Yi
Hello,
there seems to be a crash in the SWT libraries on Linux.
I listed all the Eclipse libraries you need to start the SyncManGUI on Windows.
org.eclipse.core.commands_3.4.0.I20080509-2000.jar
org.eclipse.equinox.common_3.4.0.v20080421-2006.jar
org.eclipse.jface.text_3.4.1.r341_v20080827-1100.jar
org.eclipse.jface_3.4.1.M20080827-2000.jar
org.eclipse.osgi_3.4.0.v20080605-1900.jar
org.eclipse.swt.win32.win32.x86_3.4.1.v3449c.jar
org.eclipse.text_3.4.0.v20080605-1800.jar
swt-win32-3449.dll
Please download the corresponding Eclipse 3.4 packages for Linux 64.
Best Regards
Wolfgang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Wolfgang,
Thanks for the quick answer. I'm going to try with the Eclipse 3.4 libraries, but for testing purposes I already installed the Synchronization Manager GUI on another Linux server x86_64 running Fedora 10 and on a Windows i386, using the same Eclipse files that I'm using on the Red Hat server.
Do you still think it would be a crash in the SWT libraries?
Regards,
Miguel
Hello,
the lines
Caused by: java.lang.NullPointerException
at memmove (/lib64/tls/libc-2.3.4.so)
at BJJ.Java_org_eclipse_swt_internal_gtk_OS_memmove_ (/sapdb/programs/app/syncman/extern/libswt-pi-gtk-3138.so)
indicate that a SWT call crashes the libc-2.3.4.so. Maybe you can find an hint in the Eclipse groups if other users have similar problems on Linux 64.
Best Regards
Wolfgang
Hello Wolfgang,
I've tried with the Eclipse 3.4 packages, but the same error persist:
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.lang.Class.initializeClass() (/usr/lib64/libgcj.so.5.0.0)
at JvResolvePoolEntry(java.lang.Class, int) (/usr/lib64/libgcj.so.5.0.0)
at org.eclipse.swt.widgets.Widget.isValidSubclass() (Unknown Source)
at org.eclipse.swt.widgets.Decorations.checkSubclass() (Unknown Source)
at org.eclipse.swt.widgets.Shell.Shell(org.eclipse.swt.widgets.Display, org.eclipse.swt.widgets.Shell, int, long, boolean) (Unknown Source)
at org.eclipse.swt.widgets.Shell.Shell(org.eclipse.swt.widgets.Shell, int) (Unknown Source)
at org.eclipse.jface.window.Window.createShell() (Unknown Source)
at org.eclipse.jface.window.Window.create() (Unknown Source)
at org.eclipse.jface.window.Window.open() (Unknown Source)
at com.sap.sdb.syncMan.gui.SyncManGUI.run() (Unknown Source)
at com.sap.sdb.syncMan.gui.SyncManGUI.main(java.lang.String[]) (Unknown Source)
Caused by: java.lang.NullPointerException
at memmove (/lib64/tls/libc-2.3.4.so)
at BJJ.Java_org_eclipse_swt_internal_C_memmove_ (/sapdb/programs/app/syncman/extern/libswt-gtk-3452.so)
at JvJNIMethod.call(ffi_cif, void, ffi_raw, void) (/usr/lib64/libgcj.so.5.0.0)
at org.eclipse.swt.internal.Converter.wcsToMbcs(java.lang.String, char[], boolean) (Unknown Source)
at org.eclipse.swt.internal.Converter.wcsToMbcs(java.lang.String, java.lang.String, boolean) (Unknown Source)
at org.eclipse.swt.widgets.Display.<clinit>() (Unknown Source)
at java.lang.Class.initializeClass() (/usr/lib64/libgcj.so.5.0.0)
...10 more
Any other hints?
Regards,
Miguel
Hello,
On Eclipse.org I found a similar problem that was resolved with the lastest java version.
http://dev.eclipse.org/newslists/news.eclipse.newcomer/msg00089.html
the j2sdk1.4.2_12 is only needed for the j2ee.jar.
Please use at least Java 1.5 as a java runtime.
Best Regards
Wolfgang
Hello,
there are more hints that the latest Java version should resolve the problem.
see http://dev.eclipse.org/newslists/news.eclipse.platform/msg36895.html
Best Regards
Wolfgang
> I've tried with the Eclipse 3.4 packages, but the same error persist:
>
> Exception in thread "main" java.lang.ExceptionInInitializerError
> at java.lang.Class.initializeClass() (/usr/lib64/libgcj.so.5.0.0)
Your problem is, that you use the open source implementation of the Java runtime, libgjc is part of the Gnu Java compiler.
Please use on 64bit the IBM JDK.
Markus
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.