Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error while opening eclipse

When I try opening eclipse it opens, but it shows one error i.e Android SDK content Loader has encountered a problem.parseSdkContent failed

When I click on details button, it shows me parseSdkContent failed java.lang.NullPointeException.

And when I tried to create AVD it shows error that Location of the android SDK has not been setup in the preferences while I have already set the path in preferences.

Please help me. Because of this issue my work is pending.

like image 699
Neha Avatar asked Dec 02 '22 02:12

Neha


2 Answers

I work in this problem for 2 days. In my workspace I have 2 projects. After review both project.properties, project 1 reference project 2 and project 2 reference project 1. This cause a stackoverflow. I comment one line and the problem is solved.

like image 58
Alejo Avatar answered Dec 31 '22 00:12

Alejo


I had the same problem. This annoying error popped up every time I started Eclipse and even a reinstall didn't work.

Look at the .log file in the .metadata of your workspace to find more about this error. Mine said:

java.lang.NullPointerException at org.eclipse.core.internal.resources.ProjectDescription.hasPublicChanges(ProjectDescription.java:509)

Eventually I found out that a .project file was missing a < name > tag that got lost somewhere when I renamed the project on the SVN server. So make sure the file isn't corrupt.

<?xml version="1.0" encoding="UTF-8"?><projectDescription>
<name>ProjectName</name>
<comment></comment>
<projects>
like image 26
Albert-Jan Verhees Avatar answered Dec 31 '22 00:12

Albert-Jan Verhees