Sparodic Linkage Error On Startup
---------------------------------
Key: JRUBY-2965
URL: http://jira.codehaus.org/browse/JRUBY-2965
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.1.4
Environment: Java 6 on Windows and Java 5 on Mac
Reporter: Peter K Chan
Assignee: Thomas E Enebo
On the startup of my app running on JRuby 1.1.4, an exception trace is printed
to the console. My app appears to run normally despite this exception. This is
a new exception that did not happen on 1.1.3. The exception is occasional and
occurs less than half the time.
Exception in thread "Thread-16" java.lang.LinkageError: duplicate class
definition: InterfaceImpl408147845
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:662)
at org.jruby.util.JRubyClassLoader.defineClass(JRubyClassLoader.java:22)
at org.jruby.java.MiniJava.defineOldStyleImplClass(MiniJava.java:510)
at org.jruby.java.MiniJava.createOldStyleImplClass(MiniJava.java:193)
at org.jruby.javasupport.Java.new_proxy_instance2(Java.java:1587)
at
org.jruby.java.proxies.JavaInterfaceTemplate.jcreateProxy(JavaInterfaceTemplate.java:256)
at
org.jruby.java.proxies.JavaInterfaceTemplate.access$000(JavaInterfaceTemplate.java:23)
at
org.jruby.java.proxies.JavaInterfaceTemplate$3.call(JavaInterfaceTemplate.java:163)
at
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodNoBlock.call(JavaMethod.java:62)
at org.jruby.RubyClass.finvoke(RubyClass.java:343)
at
org.jruby.javasupport.util.RuntimeHelpers.invoke(RuntimeHelpers.java:335)
at
org.jruby.java.proxies.JavaInterfaceTemplate$2.call(JavaInterfaceTemplate.java:147)
at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:260)
at
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:168)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:180)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:445)
at
org.jruby.ast.CallSpecialArgNode.interpret(CallSpecialArgNode.java:69)
at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:115)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at org.jruby.ast.BlockNode.interpret(BlockNode.java:67)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:163)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:140)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:337)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:493)
at
org.jruby.ast.CallSpecialArgNode.interpret(CallSpecialArgNode.java:71)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at
org.jruby.internal.runtime.methods.DefaultMethod.interpretedCall(DefaultMethod.java:163)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:140)
at
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:337)
at
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:493)
at org.jruby.ast.FCallThreeArgNode.interpret(FCallThreeArgNode.java:40)
at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:101)
at
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:202)
at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:190)
at org.jruby.runtime.BlockBody.call(BlockBody.java:64)
at org.jruby.runtime.Block.call(Block.java:101)
at org.jruby.RubyProc.call(RubyProc.java:200)
at org.jruby.RubyProc.call(RubyProc.java:187)
at org.jruby.internal.runtime.RubyRunnable.run(RubyRunnable.java:90)
at java.lang.Thread.run(Thread.java:637)
--
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