[rvm-research] Exception while executing Junit Test Cases while running pre-commit

Pushparaj Motamari <[email protected]>
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <CAKO14CXr1KLZ=6YiBAKrhq9bq13htD3QiT8P6L=9wwc-=cUpvA@mail.gmail.com>
Dear all,

I am getting below exception when I try to run the following command
 bin/buildit --test-run pre-commit --java-home /usr/local/jdk1.6.0_37
localhost prototype

The build is successful when I run with out pre-commit.

rvm-unit-tests:
 Exception in thread "MainThread" java.lang.IllegalMonitorStateException:
thin unlocking: we don't own this
objectgnu.java.net.protocol.jar.Connection:jar:file:///home/pushparaj/UnMd/dist/prototype_ia32-linux/rvmrt.jar!/gnu/java/locale/LocaleInformation_en_US.properties
    [junit]    at
org.jikesrvm.scheduler.RVMThread.raiseIllegalMonitorStateException(RVMThread.java:3285)
    [junit]    at org.jikesrvm.scheduler.ThinLock.unlock(ThinLock.java:211)
    [junit]    at
org.jikesrvm.objectmodel.JavaHeader.genericUnlock(JavaHeader.java:578)
    [junit]    at
org.jikesrvm.objectmodel.ObjectModel.genericUnlock(ObjectModel.java:479)
    [junit]    at
gnu.java.net.protocol.jar.Connection.connect(Connection.java:154)
    [junit]    at
gnu.java.net.protocol.jar.Connection.getInputStream(Connection.java:159)
    [junit]    at java.net.URL.openStream(URL.java:737)
    [junit]    at
java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:733)
    [junit]    at
java.util.ResourceBundle.tryBundle(ResourceBundle.java:481)
    [junit]    at
java.util.ResourceBundle.tryBundle(ResourceBundle.java:550)
    [junit]    at
java.util.ResourceBundle.getBundle(ResourceBundle.java:400)
    [junit]    at
java.text.NumberFormat.computeInstance(NumberFormat.java:324)
    [junit]    at
java.text.NumberFormat.getNumberInstance(NumberFormat.java:486)
    [junit]    at java.text.NumberFormat.getInstance(NumberFormat.java:411)
    [junit]    at java.text.NumberFormat.getInstance(NumberFormat.java:396)
    [junit]    at
org.apache.tools.ant.taskdefs.optional.junit.SummaryJUnitResultFormatter.<init>(SummaryJUnitResultFormatter.java:41)
    [junit]    at .<invisible method>(Unknown Source:0)
    [junit]    at
org.jikesrvm.runtime.Reflection.outOfLineInvoke(Reflection.java:194)
    [junit]    at org.jikesrvm.runtime.Reflection.invoke(Reflection.java:76)
    [junit]    at java.lang.Class.newInstance(Class.java:876)
    [junit]    at
org.apache.tools.ant.taskdefs.optional.junit.FormatterElement.createFormatter(FormatterElement.java:300)
    [junit]    at
org.apache.tools.ant.taskdefs.optional.junit.FormatterElement.createFormatter(FormatterElement.java:256)
    [junit]    at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.transferFormatters(JUnitTestRunner.java:957)
    [junit]    at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1050)
    [junit]    at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
    [junit] Running org.jikesrvm.compilers.opt.util.CompoundEnumeratorTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec

BUILD FAILED
/home/pushparaj/UnMd/build.xml:1355: Test
org.jikesrvm.compilers.opt.util.CompoundEnumeratorTest failed (crashed)

Thanks in Advance

Regards
Pushparaj

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr

_______________________________________________
Jikesrvm-researchers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.