Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360194 - Adding / Deleting linked resources fail
Summary: Adding / Deleting linked resources fail
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: Core (show other bugs)
Version: 1.1   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-07 01:10 EDT by Robin Rosenberg CLA
Modified: 2013-03-17 16:20 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 Robin Rosenberg CLA 2011-10-07 01:10:57 EDT
This happens when adding a linked file

!ENTRY org.eclipse.core.jobs 4 2 2011-10-07 07:05:38.937
!MESSAGE An internal error occurred during: "Re-indexing repository Prj1".
!STACK 0
java.lang.NullPointerException
	at org.eclipse.jgit.treewalk.filter.PathFilter.create(PathFilter.java:77)
	at org.eclipse.jgit.treewalk.filter.PathFilterGroup.createFromStrings(PathFilterGroup.java:90)
	at org.eclipse.egit.core.internal.indexdiff.IndexDiffCacheEntry.calcIndexDiffData(IndexDiffCacheEntry.java:235)
	at org.eclipse.egit.core.internal.indexdiff.IndexDiffCacheEntry.access$6(IndexDiffCacheEntry.java:223)
	at org.eclipse.egit.core.internal.indexdiff.cheEIndexDiffCantry$4.run(IndexDiffCacheEntry.java:189)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Other problems occur when adding linked folder and if you already have linked resources delete fails.

There is another bug regarding linked resources, but it predates the code that crashes here.
Comment 1 Robin Rosenberg CLA 2013-03-17 16:20:38 EDT
This issue has been fixed somewhere.