Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 337843 - Potential NPE in PathTraverser
Summary: Potential NPE in PathTraverser
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 1.0.1   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 minor (vote)
Target Milestone: M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-22 10:03 EST by Karsten Thoms CLA
Modified: 2017-09-19 17:38 EDT (History)
1 user (show)

See Also:
sven.efftinge: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karsten Thoms CLA 2011-02-22 10:03:30 EST
In PathTraverser#traverseDir() the variable 'files' can be null. listFiles() will return null for a directory it cannot access. I observed that situation today on a Windows machine, where it tried to scan "Programs (x86)\Google\Crash Reports".
Comment 1 Sven Efftinge CLA 2011-03-26 15:29:16 EDT
pushed to master
Comment 2 Karsten Thoms CLA 2017-09-19 17:27:48 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:38:57 EDT
Closing all bugs that were set to RESOLVED before Neon.0