Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340419 - Java projects with linked sources cause NullPointerException
Summary: Java projects with linked sources cause NullPointerException
Status: CLOSED DUPLICATE of bug 326434
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 3.6.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Platform-Ant-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-18 08:26 EDT by David Pérez CLA
Modified: 2011-03-18 10:06 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***