
gclogviewer - issue #7
Version 0.3 for windows package does not work on 64 bit Windows systems
What steps will reproduce the problem? 1. Download and extract the current distribution [GCLogViewer-0.3-win.zip] on a Windows 64 bit system ( x86_64) 2. Navigate to the extracted folder and execute the run.bat file
What is the expected output? What do you see instead? Expected Output -> The SWT UI should be launched Instead the following error message is displayed
C:\GCLogViewer-0.3-win>java -Djava.ext.dirs=. -Xms512M -Xmx512M code.google.gclogviewer.GCLogViewer Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM at org.eclipse.swt.internal.Library.loadLibrary(Library.java:177) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:151) at org.eclipse.swt.internal.C.<clinit>(C.java:21) at org.eclipse.swt.widgets.Display.<clinit>(Display.java:130) at code.google.gclogviewer.GCLogViewer.main(GCLogViewer.java:78)
What version of the product are you using? On what operating system? GCLogViewer-0.3-win.zip Windows 7 64 bit
Please provide any additional information below.
I was able to resolve the issue faced by replacing the 32 bit SWT jar files packaged within the distribution Remove - org.eclipse.swt.win32.win32.x86_3.4.1.v3449c.jar org.eclipse.swt_3.4.1.v3449c.jar swtgraphics2d.jar
Download the 64 bit SWT libraries from http://archive.eclipse.org/eclipse/downloads/drops/R-3.6.1-201009090800/download.php?dropFile=swt-3.6.1-win32-win32-x86_64.zip & place the following files in the original location where the GCLogViewer was extracted.
swt.jar swt-debug.jar
Comment #1
Posted on Apr 22, 2014 by Grumpy HippoHi team,
Still we couldn't open a verbose gc log file using 64-bit version of gclogviewer. When we try to open we got the below listed exceptions
Runtime is null: 2014-03-18T03:02:01.452-0700: 3744.906: [GC2014-03-18T03:02:01. 452-0700: 3744.906: [ParNew Exception in thread "main" org.eclipse.swt.SWTException: Failed to execute runna ble (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:4083) at org.eclipse.swt.SWT.error(SWT.java:3998) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.ja va:137) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660) at code.google.gclogviewer.GCLogViewer.main(GCLogViewer.java:84) Caused by: java.lang.NullPointerException at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source) at java.lang.Double.parseDouble(Unknown Source) at code.google.gclogviewer.GCLogData.getThroughput(GCLogData.java:109) at code.google.gclogviewer.GCLogViewer$OpenFileListener$2$4.run(GCLogVie wer.java:773) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.ja va:134) ... 3 more
Could you please check this out.
Sattish.
Comment #2
Posted on Jan 15, 2015 by Swift RhinoHi all - Any updates on the above issue. Am facing it too.
Exception in thread "main" org.eclipse.swt.SWTException: Failed to execute runna ble (java.lang.NullPointerException)
Augustine
Status: New
Labels:
Type-Defect
Priority-Medium