Bug 379760 - NullpointerException when selecting "Remove from View"
Summary: NullpointerException when selecting "Remove from View"
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform Team Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-16 17:10 EDT by Missing name CLA
Modified: 2012-08-30 04:23 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Missing name CLA 2012-05-16 17:10:40 EDT
I've synched a project (based on mercurial), then selected a folder with lots of files I did not want to include, thus selected "Remove from View", then I got this NPE every time I tried.

eclipse.buildId=M20120208-0800
java.version=1.7.0_04
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_CH
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product -clean

This is a continuation of log file C:\Workspaces\Eclipse37\.metadata\.bak_0.log
Created Time: 2012-05-16 22:58:58.828

Error
Wed May 16 23:06:56 CEST 2012
Internal error

java.lang.NullPointerException
	at org.eclipse.team.internal.core.mapping.CompoundResourceTraversal.addTraversals(CompoundResourceTraversal.java:32)
	at org.eclipse.team.internal.ui.mapping.ResourceModelParticipantAction.getResourceTraversals(ResourceModelParticipantAction.java:52)
	at org.eclipse.team.internal.ui.mapping.RemoveFromViewAction.getVisibleResources(RemoveFromViewAction.java:83)
	at org.eclipse.team.internal.ui.mapping.RemoveFromViewAction.performRemove(RemoveFromViewAction.java:67)
	at org.eclipse.team.internal.ui.mapping.RemoveFromViewAction.access$0(RemoveFromViewAction.java:66)
	at org.eclipse.team.internal.ui.mapping.RemoveFromViewAction$1.run(RemoveFromViewAction.java:52)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)



-- Configuration Details --
Product: Eclipse 1.4.2.20120131-1457 (org.eclipse.epp.package.java.product)
Installed Features:
 org.eclipse.platform 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q