|
We notice a similar behaviour:
After deploying a jruby 1.1.4 project (packed with warbler) we got following exception: [25.09.08 15:48:54:939 CEST] 00000027 ServletWrappe E SRVE0068E: Es wurde eine Ausnahme angefangen, die in einer der Servicemethoden des Servlet Rails ausgelöst wurde. Ausgelöste Ausnahme: java.lang.ClassFormatError: (InterfaceImpl-571218939) class name is invalid at offset=0
Charles Oliver Nutter made changes - 26/Sep/08 11:29 AM
Charles Oliver Nutter made changes - 26/Sep/08 11:29 AM
I've fixed the InterfaceImpl thing and another bad test in testYAML and I'm working my way through the test run. Once it's running I'll set up a CI build against it. i'm using IBM's Java 6. Here's the current issue, in the command-line test: [junit] Failure:
[junit] test_server_vm_option(TestCommandLineSwitches) [/home/headius/jruby/./test/test_command_line_switches.rb:223]:
[junit] <"j9jit24"> expected to be =~
[junit] </(tiered|server)/>.
[junit]
[junit] junit.framework.AssertionFailedError: Faults encountered running test/test_command_line_switches, complete output follows:
[junit] Failure:
[junit] test_client_vm_option(TestCommandLineSwitches) [/home/headius/jruby/./test/test_command_line_switches.rb:242]:
[junit] <"j9jit24"> expected to be =~
[junit] </client/>.
[junit] Failure:
[junit] test_dash_little_n_wraps_script_with_while_gets(TestCommandLineSwitches)
[junit] [/home/headius/jruby/./test/test_command_line_switches.rb:92:in `test_dash_little_n_wraps_script_with_while_gets'
[junit] /home/headius/jruby/./test/test_helper.rb:37:in `with_temp_script'
[junit] /home/headius/jruby/lib/ruby/1.8/tempfile.rb:188:in `open'
[junit] /home/headius/jruby/./test/test_helper.rb:29:in `with_temp_script'
[junit] /home/headius/jruby/./test/test_command_line_switches.rb:90:in `test_dash_little_n_wraps_script_with_while_gets']:
[junit] <"a\na\nb\nb\n"> expected but was
[junit] <"a\na\n">.
[junit] Failure:
[junit] test_dash_little_p_wraps_script_with_while_gets_and_prints(TestCommandLineSwitches)
[junit] [/home/headius/jruby/./test/test_command_line_switches.rb:102:in `test_dash_little_p_wraps_script_with_while_gets_and_prints'
[junit] /home/headius/jruby/./test/test_helper.rb:37:in `with_temp_script'
[junit] /home/headius/jruby/lib/ruby/1.8/tempfile.rb:188:in `open'
[junit] /home/headius/jruby/./test/test_helper.rb:29:in `with_temp_script'
[junit] /home/headius/jruby/./test/test_command_line_switches.rb:100:in `test_dash_little_p_wraps_script_with_while_gets_and_prints']:
[junit] <"a\na\na\nb\nb\nb\n"> expected but was
[junit] <"a\na\nb\nb\n">.
[junit] Failure:
[junit] test_server_vm_option(TestCommandLineSwitches) [/home/headius/jruby/./test/test_command_line_switches.rb:223]:
[junit] <"j9jit24"> expected to be =~
[junit] </(tiered|server)/>.
Obviously the server/client strings are the old classic problem with matching against the name of the VM. But the -n and -p behaviors, I'm confused about; there's nothing that should be platform-specific in them. Fixes to date committed to trunk. Fixed the above and some JI test bugs (see I've made a few more fixes and disabled some tests that appeared to be failing under IBM JDK, and I think we're able to run the test suite to completion now. See I fixed what I could and disabled a few tests. See the bugs listed in my previous comment for those issues. They're mostly minor, and we now have a CI run against IBM that should help keep it working into the future.
Charles Oliver Nutter made changes - 05/Oct/08 10:46 PM
Charles Oliver Nutter made changes - 12/Jan/09 04:28 PM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
JRuby version 1.1.3 also has the same error
I can run JRuby version 1.1 however then jirb does not work but this is other error