Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341054 - Potential NPE in DirectoryCleaner and StandaloneSetup
Summary: Potential NPE in DirectoryCleaner and StandaloneSetup
Status: RESOLVED FIXED
Alias: None
Product: EMFT
Classification: Modeling
Component: MWE (show other bugs)
Version: 1.0.2   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 minor (vote)
Target Milestone: M7   Edit
Assignee: Karsten Thoms CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-27 03:52 EDT by Karsten Thoms CLA
Modified: 2011-03-27 03:59 EDT (History)
0 users

See Also:
karsten.thoms: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karsten Thoms CLA 2011-03-27 03:52:18 EDT
In both mentioned classes File#listFiles() is called and not proven for null. But the result can be null if a directory cannot be accessed.

See also Bug#337843
Comment 1 Karsten Thoms CLA 2011-03-27 03:59:11 EDT
Pushed to master