Alex Rivera | Logout

Fatal error by Java runtime environment

Asked 2010-03-30T05:53:36.113
25

I am executing a junit test case

I got the following error,

A fatal error has been detected by the Java Runtime Environment:

Internal Error (classFileParser.cpp:3174), pid=2680, tid=2688

  Error: ShouldNotReachHere()

  JRE version: 6.0_18-b07

  Java VM: Java HotSpot(TM) Client VM (16.0-b13 mixed mode windows-x86 )

Can any body please suggest the solution to resolve

Edit
Report

3 Answers

1

Another possible explanation: hardware failure. Ruled out if you can reproduce the error on different machines.

answered 2010-03-30T12:08:26.507
1

I have had a similar problem, I found it was because I had generated a new activity with a main[] stub entry. Once I deleted the main[] code from the new activity templatye the error went away.

YMMV

answered 2012-01-18T14:27:54.303
0

I am not sure whether you were able to reach the solution for your problem or not but your question just popped up while I was searching for the solution for the same problem I am facing. And I got one solution from the stack itself, so just thought to share a link with you if that aids you by any means. The link is as below:

Can't run JUnit 4 test case in Eclipse Android project

answered 2013-05-21T05:34:06.627

Your Answer