Bug 1047394

Summary: [abrt] icedtea-web-1.4.1-1.fc20: Uncaught exception in method <init>
Product: [Fedora] Fedora Reporter: Doncho Gunchev <dgunchev>
Component: icedtea-webAssignee: Deepak Bhole <dbhole>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: dbhole, jvanek, omajid
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:221fe58c1119a834469f3283efee4920fab895ef
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-02 09:38:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ
none
File: jvm_environment none

Description Doncho Gunchev 2013-12-30 22:28:10 UTC
Description of problem:
I was on http://support.asus.com/select/wizard.aspx?SLanguage=en and...

Version-Release number of selected component:
icedtea-web-1.4.1-1.fc20

Additional info:
reporter:       libreport-2.1.10
cmdline:        java -agentpath:/usr/lib64/libabrt-java-connector.so=abrt=on -Xbootclasspath/a:/usr/share/icedtea-web/netx.jar:/usr/share/icedtea-web/plugin.jar:/usr/share/java/js.jar -classpath /usr/lib/jvm/jre-openjdk/lib/rt.jar sun.applet.PluginMain /var/tmp/icedteaplugin-dgunchev/26382-icedteanp-plugin-to-appletviewer /var/tmp/icedteaplugin-dgunchev/26382-icedteanp-appletviewer-to-plugin
executable:     /usr/share/icedtea-web/plugin.jar
java_executable: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre-abrt/bin/java
kernel:         3.12.5-302.fc20.x86_64
pid:            26389
runlevel:       N 5
uid:            1000

Truncated backtrace:
Exception in thread "ASUS System Information Control applet" java.lang.NoClassDefFoundError: Could not initialize class com.asus.utils.DriverUtils
	at com.asus.liveupdate.UpdateApplet.<init>(UpdateApplet.java:24) [jar:http://support.asus.com/select/DriverUtils.jar!/com/asus/liveupdate/UpdateApplet.class]
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [jar:file:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre/lib/rt.jar!/sun/reflect/NativeConstructorAccessorImpl.class]
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [jar:file:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre/lib/rt.jar!/sun/reflect/NativeConstructorAccessorImpl.class]
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [jar:file:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre/lib/rt.jar!/sun/reflect/DelegatingConstructorAccessorImpl.class]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [jar:file:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre/lib/rt.jar!/java/lang/reflect/Constructor.class]
	at java.lang.Class.newInstance(Class.java:374) [jar:file:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre/lib/rt.jar!/java/lang/Class.class]
	at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:725) [jar:file:/usr/share/icedtea-web/netx.jar!/net/sourceforge/jnlp/Launcher.class]
	at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:662) [jar:file:/usr/share/icedtea-web/netx.jar!/net/sourceforge/jnlp/Launcher.class]
	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:914) [jar:file:/usr/share/icedtea-web/netx.jar!/net/sourceforge/jnlp/Launcher$TgThread.class]

Comment 1 Doncho Gunchev 2013-12-30 22:28:13 UTC
Created attachment 843556 [details]
File: backtrace

Comment 2 Doncho Gunchev 2013-12-30 22:28:16 UTC
Created attachment 843557 [details]
File: environ

Comment 3 Doncho Gunchev 2013-12-30 22:28:19 UTC
Created attachment 843558 [details]
File: jvm_environment

Comment 4 jiri vanek 2014-01-02 09:38:49 UTC
I visited the http://support.asus.com/select/wizard.aspx?SLanguage=en and in title is written "Navigation Wizard  (For Microsoft Internet Explorer browser only) "  :)

Anyway the loading script looks correct:

 var sObjHTML = " <object id='app' width='0' height='0' " +
" classid='clsid:8AD9C840-044E-11D1-B3E9-00805F499D93' " +
" codebase='http://java.sun.com/update/1.6.0/jinstall-6u17-windows-i586.cab#Version=6,0,0,4'> " +
" <param name='name' value='ASUS System Information Control' /> " +
" <param name='code' value='com.asus.liveupdate.UpdateApplet.class' /> " +
" <param name='archive' value='DriverUtils.jar' /> " +
" <param name='type' value='application/x-java-applet' /> " +
" <param name='scriptable' value='false' /> " +
" <comment> " +
" <embed id='app' width='0' height='0' " +
" name='ASUS System Information Control' " +
" code='com.asus.liveupdate.UpdateApplet.class' " +
" archive='DriverUtils.jar' " +
" type='application/x-java-applet' " +
" scriptable='false' " +
" pluginspage='http://java.sun.com/products/plugin/index.html#download'> " +
" <noembed> " +
" </noembed> " +
" </embed> " +
" </comment> " +
" </object> " +
" "; 


and DriverUtils.jar do exists and contais the necessary class. Also the applet starts.

Hoewever my exception both on head and 1.4 is different:


OpenJDK 64-Bit Server VM warning: You have loaded library /tmp/1388654365808_DriverUtils.dll which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
Exception in thread "ASUS System Information Control applet" java.lang.UnsatisfiedLinkError: /tmp/1388654365808_DriverUtils.dll: /tmp/1388654365808_DriverUtils.dll: invalid ELF header (Possible cause: endianness mismatch)
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851)
	at java.lang.Runtime.load0(Runtime.java:795)
	at java.lang.System.load(System.java:1062)
	at com.asus.utils.DllLoader.load(DllLoader.java:38)
	at com.asus.utils.DriverUtils.<clinit>(DriverUtils.java:18)
	at com.asus.liveupdate.UpdateApplet.<init>(UpdateApplet.java:24)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
	at java.lang.Class.newInstance(Class.java:374)
	at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:722)
	at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:661)
	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:894)
java.lang.NullPointerException
	at net.sourceforge.jnlp.NetxPanel.runLoader(NetxPanel.java:117)
	at sun.applet.AppletPanel.run(AppletPanel.java:380)
	at java.lang.Thread.run(Thread.java:744)


and unluckily the DriverUtils.jar contains ONLY DriverUtils.dll, which is file linked for winnows. No .so library was found by me. You should contavt the ASUS for correct linux sollution.

Closing now as cant-fix, but please feel free to commnet/reopen after asus reply.