Community
Participate
Working Groups
I get the following error: java.lang.NullPointerException at org.eclipse.cdt.internal.core.sourcedependency.UpdateDependency.execute (UpdateDependency.java:67) at org.eclipse.cdt.internal.core.search.processing.JobManager.run (JobManager.java:391) at java.lang.Thread.run(Thread.java:534) The problem is that resource.getLocation() is returning null and we are not trapping it. I have not reproduced in a test case, but the documented behaviour indicates that getLocation() may return null in a number of different scenarios.
Created attachment 7974 [details] Check for a null location before we go and use it
Created attachment 7975 [details] JUnit test patch
Bogdan, this probably something we would want asap in the CDT_1.2 branch also. Resetting the MilesStone. I believe you commit access, so do not need me to apply the patch. Thanks, later.
Sorry - I had applied this patch earlier on this week to 1.2, and sent a notice out to the patch list - I should have closed this. - B