iSeries - Exception in thread "Thread-0" java.lang.ClassFormatError: 
initialize-459316317_1427018756 2203 0000
--------------------------------------------------------------------------------------------------------------

                 Key: JRUBY-2294
                 URL: http://jira.codehaus.org/browse/JRUBY-2294
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.0.3, JRuby 1.0.1
         Environment: iSeries V5R3M0, IBM 1.5.0 JVM; Windows XP, IBM 1.5.0 JVM
            Reporter: James Sears
            Assignee: Thomas E Enebo
         Attachments: WSInvoker.rar

A simple program that runs on my Windows XP environment does not run on my 
iSeries environment.

On the iSeries I see the following exception:

Exception in thread "Thread-0" java.lang.ClassFormatError: 
initialize-459316317_1427018756 2203 0000 
        at java.lang.Throwable.<init>(Throwable.java:196)                       
                     
        at java.lang.Error.<init>(Error.java:49)                                
                     
        at java.lang.ClassFormatError.<init>(ClassFormatError.java:35)          
                     
        at java.lang.ClassLoader.defineClass(ClassLoader.java:651)              
                     
        at java.lang.ClassLoader.defineClass(ClassLoader.java:496)              
                     
        at 
org.jruby.util.JRubyClassLoader.defineClass(JRubyClassLoader.java:16)           
          
        at 
org.jruby.compiler.impl.StandardASMCompiler.loadClass(StandardASMCompiler.java:147)
       
        at 
org.jruby.internal.runtime.methods.DefaultMethod.runJIT(DefaultMethod.java:216) 
          
        at 
org.jruby.internal.runtime.methods.DefaultMethod.internalCall(DefaultMethod.java:113)
     
        at 
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:79)    
          
        at org.jruby.RubyObject.callMethod(RubyObject.java:574)                 
                     
        at org.jruby.RubyObject.callMethod(RubyObject.java:448)                 
                                         
        at org.jruby.RubyClass.newInstance(RubyClass.java:291)                  
                                         
        at org.jruby.RubyClassInvokernewInstancexx1.call(Unknown Source)        
                                         
        at 
org.jruby.runtime.callback.InvocationCallback.execute(InvocationCallback.java:49)
                             
        at 
org.jruby.internal.runtime.methods.FullFunctionCallbackMethod.internalCall(FullFunctionCallbackMethod.java:78)
        at 
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:79)    
                              
        at 
org.jruby.evaluator.EvaluationState.callNode(EvaluationState.java:571)          
                              
        at 
org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java:172)      
                              
        at 
org.jruby.evaluator.EvaluationState.constDeclNode(EvaluationState.java:751)     
                              
        at 
org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java:172)      
                              
        at 
org.jruby.evaluator.EvaluationState.blockNode(EvaluationState.java:529)         
                              
        at 
org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java:172)      
                              
        at 
org.jruby.evaluator.EvaluationState.evalClassDefinitionBody(EvaluationState.java:1895)
                        
        at 
org.jruby.evaluator.EvaluationState.moduleNode(EvaluationState.java:1296)       
                              
        at 
org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java:172)      
                              
        at 
org.jruby.evaluator.EvaluationState.rootNode(EvaluationState.java:1628)         
                              
        at 
org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java:172)      
                              
        at org.jruby.evaluator.EvaluationState.eval(EvaluationState.java:164)   
                                          
        at org.jruby.Ruby.loadScript(Ruby.java:1210)                            
                                          
        at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:53)   
                                          
        at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:307)   
                                          
        at org.jruby.runtime.load.LoadService.require(LoadService.java:333)     
                                          
        at org.jruby.RubyKernel.require(RubyKernel.java:762)                    
                                          
        at org.jruby.RubyKernelInvokerSrequire1.call(Unknown Source)            
                                          
        at 
org.jruby.runtime.callback.InvocationCallback.execute(InvocationCallback.java:49)
                              
        at 
org.jruby.internal.runtime.methods.FullFunctionCallbackMethod.internalCall(FullFunctionCallbackMethod.java:78)
 
        at 
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:79)    
                               
        at 
org.jruby.evaluator.EvaluationState.fCallNode(EvaluationState.java:1039)        
                               
        at 
org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java:172)      
                               
        at 
org.jruby.evaluator.EvaluationState.blockNode(EvaluationState.java:529)         
                               
        at 
org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java:172)      
                               
        at 
org.jruby.evaluator.EvaluationState.rootNode(EvaluationState.java:1628)         
                               
        at 
org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java:172)      
                               
        at org.jruby.evaluator.EvaluationState.eval(EvaluationState.java:164)   
                                          
       at org.jruby.Ruby.loadScript(Ruby.java:1210)                             
                                         
       at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:53)    
                                         
       at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:307)    
                                         
       at org.jruby.Ruby$1.load(Ruby.java:652)                                  
                                         
       at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:307)    
                                         
       at org.jruby.runtime.load.LoadService.require(LoadService.java:333)      
                                         
       at org.jruby.RubyKernel.require(RubyKernel.java:762)                     
                                         
       at org.jruby.RubyKernelInvokerSrequire1.call(Unknown Source)             
                                         
       at 
org.jruby.runtime.callback.InvocationCallback.execute(InvocationCallback.java:49)
                              
       at 
org.jruby.internal.runtime.methods.FullFunctionCallbackMethod.internalCall(FullFunctionCallbackMethod.java:78)
 
       at 
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:79)    
                               
       at 
org.jruby.evaluator.EvaluationState.fCallNode(EvaluationState.java:1039)        
                               
       at 
org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java:253)      
                               
       at 
org.jruby.evaluator.EvaluationState.blockNode(EvaluationState.java:533)         
                               
       at 
org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java:201)      
                               
       at 
org.jruby.evaluator.EvaluationState.rootNode(EvaluationState.java:1628)         
                               
       at 
org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java:356)      
                               
       at org.jruby.evaluator.EvaluationState.eval(EvaluationState.java:164)    
                                         
       at org.jruby.Ruby.loadScript(Ruby.java:1210)                             
                                         
       at org.jruby.runtime.load.ExternalScript.load(ExternalScript.java:53)    
                                         
       at org.jruby.runtime.load.LoadService.smartLoad(LoadService.java:307)    
                                         
       at org.jruby.runtime.load.LoadService.require(LoadService.java:333)      
                                         
       at org.jruby.RubyKernel.require(RubyKernel.java:762)                     
                                         
       at org.jruby.RubyKernelInvokerSrequire1.call(Unknown Source)             
                                         
       at 
org.jruby.runtime.callback.InvocationCallback.execute(InvocationCallback.java:49)
                              
       at 
org.jruby.internal.runtime.methods.FullFunctionCallbackMethod.internalCall(FullFunctionCallbackMethod.java:78)
 
       at 
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:79)    
                               
       at 
org.jruby.evaluator.EvaluationState.fCallNode(EvaluationState.java:1039)        
                               
       at 
org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java:253)      
                               
       at 
org.jruby.evaluator.EvaluationState.blockNode(EvaluationState.java:533)         
                               
       at 
org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java:201)      
                               
       at 
org.jruby.evaluator.EvaluationState.rootNode(EvaluationState.java:1628)         
                               
       at 
org.jruby.evaluator.EvaluationState.evalInternal(EvaluationState.java:356)      
                               
       at org.jruby.evaluator.EvaluationState.eval(EvaluationState.java:164)    
                                                                                
                                              
       at org.jruby.Ruby.eval(Ruby.java:278)                                    
        
       at org.jruby.Ruby.compileOrFallbackAndRun(Ruby.java:306)                 
        
       at org.jruby.Main.runInterpreter(Main.java:238)                          
        
       at org.jruby.Main.runInterpreter(Main.java:183)                          
        
       at org.jruby.Main.run(Main.java:120)                                     
        
       at org.jruby.Main.main(Main.java:95)                                     
        

This is not particularly helpful I admit. 

I have attached the source code though, but have removed the standard jruby lib 
files to save on space.

I get this by running "go-1.0.3.sh" in the qsh on the iSeries.

This could well be an issue with the JVM on the iSeries, but thought I would 
raise it as an issue anyhow - as I was expecting / hoping for a straight port 
between JVM's on different host platforms.

Please contact me if you need an iSeries isses answered.

-- 
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


Reply via email to