Problems and solutions to the crash of Android programming with Eclipse

Source: Internet
Author: User

There was a problem with the VM being too high to use when using Eclipse, and initially I thought it would be resolved as long as the eclipse was restarted, and the reboot would still be ineffective. Turning on eclipse after restarting the PC still does not open. Eclipse has its own crash log, find the crash log, and try to confirm that an answer in StackOverflow is valid for my problem, as follows.

First, view Eclipse's crash log

The location of Eclipse's crash log is saved (workspace directory/.metadata/.log). With the. log file open, you can see the logs that eclipse runs, as well as the recently crashed logs. I noticed that one of the crashes of the log is:

! ENTRY org.eclipse.ui 4 0 2014-01-03 16:51:09.582

! Message Error occurred during status handling

! STACK 0

Java.lang.NullPointerException

At Org.eclipse.ui.internal.statushandlers.statushandlerregistry.<init> (statushandlerregistry.java:72)

At Org.eclipse.ui.internal.statushandlers.StatusHandlerRegistry.getDefault (statushandlerregistry.java:91)

At Org.eclipse.ui.statushandlers.StatusManager.getStatusHandler (statusmanager.java:135)

At Org.eclipse.ui.statushandlers.StatusManager.handle (statusmanager.java:189)

At Org.eclipse.ui.statushandlers.StatusManager.handle (statusmanager.java:231)

At Org.eclipse.ui.statushandlers.statusmanager$statusmanagerloglistener.logging (StatusManager.java:305)

At Org.eclipse.core.internal.runtime.RuntimeLog.logToListeners (runtimelog.java:160)

At Org.eclipse.core.internal.runtime.PlatformLogWriter.logged (platformlogwriter.java:100)

Ii. solutions to the corresponding problems

Find it directly in Google! ENTRY Org.eclipse.ui found StackOverflow this reply http://stackoverflow.com/a/18731927/1767800. As it turns out, I've tried to remove the (workspace directory/.metadata/.plugins/org.eclipse.e4.workbench) from the directory, and my eclipse will open normally after the removal.

After the removal, it was found that the location of the eclipse's toolbars was slightly changed, but after an attempt to install the program to the phone and debug the two functions can still be achieved. The layout of the toolbar does not affect the use of the following, I believe that the eclipse also has a corresponding setting method, and then have time to consider.

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/OS/extra/

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.