Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 340419

Summary: Java projects with linked sources cause NullPointerException
Product: [Eclipse Project] Platform Reporter: David Pérez <david.perez.ingeniero>
Component: AntAssignee: Platform-Ant-Inbox <platform-ant-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: Michael_Rennie
Version: 3.6.1   
Target Milestone: 2.0 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description David Pérez CLA 2011-03-18 08:26:59 EDT
Steps to reproduce:
- Create a Java project with some files in it.
- Create a 2nd Java project who references the "src" folder of the other project.

After some time, the following error is generated periodically:

!ENTRY org.eclipse.core.jobs 4 2 2011-03-18 13:23:21.909
!MESSAGE An internal error occurred during: "Refreshing external folders".
!STACK 0
java.lang.NullPointerException
	at org.eclipse.jdt.internal.core.ExternalFoldersManager$RefreshJob.run(ExternalFoldersManager.java:387)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

It's quite annoying.
Probably Eclipse gets confused with the linked sources.


-- Configuration Details --
Product: Eclipse 1.3.1.20100913-1228 (org.eclipse.epp.package.rcp.product)
Installed Features:
 org.eclipse.platform 3.6.1.r361_v20100909-9gF78GrkFqw7GrsZnvz0JWNTeb6fue6896L
Comment 1 Michael Rennie CLA 2011-03-18 10:06:24 EDT

*** This bug has been marked as a duplicate of bug 326434 ***