Exception in signed jirb.jnlp caused by jffi
--------------------------------------------
Key: JRUBY-4327
URL: http://jira.codehaus.org/browse/JRUBY-4327
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.4
Reporter: Vladimir Sizikov
Assignee: Thomas E Enebo
{code}
ant jar-complete
cd samples/jnlp
ant
javaws signed-jirb.jnlp
{code}
Leads to the following error on Windows:
{noformat}
java.lang.RuntimeException: java.lang.NoClassDefFoundError:
org/jruby/ext/posix/WindowsLibC
at
com.kenai.jaffl.provider.jffi.AsmLibraryLoader.generateInterfaceImpl(AsmLibraryLoader.java:256)
at
com.kenai.jaffl.provider.jffi.AsmLibraryLoader.loadLibrary(AsmLibraryLoader.java:121)
at com.kenai.jaffl.provider.jffi.Provider.loadLibrary(Provider.java:30)
at com.kenai.jaffl.provider.jffi.Provider.loadLibrary(Provider.java:24)
at com.kenai.jaffl.Library.loadLibrary(Library.java:73)
at
org.jruby.ext.posix.POSIXFactory$WindowsLibCProvider$SingletonHolder.<clinit>(POSIXFactory.java:125)
at
org.jruby.ext.posix.POSIXFactory$WindowsLibCProvider.getLibC(POSIXFactory.java:129)
at org.jruby.ext.posix.BaseNativePOSIX.<init>(BaseNativePOSIX.java:28)
at org.jruby.ext.posix.WindowsPOSIX.<init>(WindowsPOSIX.java:9)
at
org.jruby.ext.posix.POSIXFactory.loadWindowsPOSIX(POSIXFactory.java:85)
at org.jruby.ext.posix.POSIXFactory.getPOSIX(POSIXFactory.java:33)
at org.jruby.Ruby.init(Ruby.java:989)
at org.jruby.Ruby.newInstance(Ruby.java:173)
at org.jruby.demo.IRBConsole.main(IRBConsole.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: org/jruby/ext/posix/WindowsLibC
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at com.kenai.jaffl.provider.jffi.AsmLoader.defineClass(AsmLoader.java:8)
at
com.kenai.jaffl.provider.jffi.AsmLibraryLoader.generateInterfaceImpl(AsmLibraryLoader.java:252)
... 22 more
Caused by: java.lang.ClassNotFoundException: org.jruby.ext.posix.WindowsLibC
at java.lang.ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
{noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email