Community
Participate
Working Groups
Build Identifier: M20100909-0800 I have a workspace of 10+ projects all using and svn and one of them is an Android client project. The following message appears when refreshing or building: An internal error occurred during: "Refreshing external folders". java.lang.NullPointerException I have a different workspace that only has a couple of simple projects in and I don't get the error there. After closing the Android client project, the error stopped occurring; however, it no longer occurs after re-opening either. Reproducible: Sometimes
(In reply to comment #0) > An internal error occurred during: "Refreshing external folders". > java.lang.NullPointerException Please attach your workspace's log file (workspace/.metadata/.log) to this bug.
Created attachment 181603 [details] workspace log file
(In reply to comment #0) > After closing the Android client project, the error stopped occurring; however, > it no longer occurs after re-opening either. Since it only occurred with an Android project, it could be some issue with the way the classpaths are defined that is conflicting with JDT.
Jay, this might be related to the android bug http://code.google.com/p/android/issues/detail?id=7850&q=adt&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars#c7 , which manifests in a different form in bug 325829.
Even if this is a bug in Android, we should still be more resilient.
After some more observation, it seems that this may not be specific to Android projects. However, it does seem to be related to invalid source locations as Remy pointed out. I didn't fully test it, but it seemed that having any project with a jar reference that doesn't have a valid source location could cause the issue.
This is not an android specific problem and same as bug 321358, which is fixed both for 3.7 and 3.6.2. An explanation has been added under bug 321358, comment 27. *** This bug has been marked as a duplicate of bug 321358 ***
Verified for 3.7M4 using build I20101205-2000