Error Handling: Internal Error (classFileParser. cpp: 3494)

Source: Internet
Author: User

Error Handling: Internal Error (classFileParser. cpp: 3494)


In the Android project, you need to run a Java program to obtain information for development. However, an error is reported during running. The error message is as follows:


## A fatal error has been detected by the Java Runtime Environment:##  Internal Error (classFileParser.cpp:3494), pid=440, tid=744#  Error: ShouldNotReachHere()## JRE version: 6.0_45-b06# Java VM: Java HotSpot(TM) Client VM (20.45-b01 mixed mode windows-x86 )# An error report file with more information is saved as:# F:\VideoApp\AndroidClient\hs_err_pid440.log## If you would like to submit a bug report, please visit:#   http://java.sun.com/webapps/bugreport/crash.jsp

The solution is as follows:

1. right-click the Java class to be Run and choose Run As> Run commands... 2. switch to the Classpath option bar, delete the Android Library in Bootstrap Entries, and click Advanced on the right .. -> Add Library-> JRE System Library, all the way to next.


----------------------

At the same time, it is also found that the Internal Error (classFileParser. cpp: 3494) Error occurs during the Junit test. The specific Error during the junit test is as follows:

## A fatal error has been detected by the Java Runtime Environment:##  Internal Error (classFileParser.cpp:3494), pid=7480, tid=6876#  Error: ShouldNotReachHere()## JRE version: 6.0_45-b06# Java VM: Java HotSpot(TM) Client VM (20.45-b01 mixed mode windows-x86 )# If you would like to submit a bug report, please visit:#   http://java.sun.com/webapps/bugreport/crash.jsp#

Generally, this error is most likely to occur after the ADT is upgraded.

Solution:
1. right-click the junit test class and choose Run As> Run commands... 2. switch to the Classpath option bar, delete the Android Library in Bootstrap Entries, and click Advanced on the right .. -> Add Library-> JRE System Library, all the way to next.
Then run the class to run normally.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.