Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366663

Summary: [flex] NPE in TreeModelContentProvider.dispose() if setInput() was never called on the viewer.
Product: [Eclipse Project] Platform Reporter: Pawel Piech <pawel.1.piech>
Component: DebugAssignee: Pawel Piech <pawel.1.piech>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: Michael_Rennie
Version: 3.8Flags: Michael_Rennie: review+
Target Milestone: 3.8 M5   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Pawel Piech CLA 2011-12-14 00:41:33 EST
It's an unusual use case, but I came across this when writing a unit test framework.  

A simple guard in dipose() will prevent the NPE.
Comment 2 Michael Rennie CLA 2011-12-14 12:33:13 EST
Makes sense.