| Summary: | [disassembly] NPE when shutting down the workbench | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Patrick Chuong <pchuong> | ||||
| Component: | cdt-debug-dsf | Assignee: | Patrick Chuong <pchuong> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Pawel Piech <pawel.1.piech> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | aleherb+eclipse, cdtdoug | ||||
| Version: | 8.0 | ||||||
| Target Milestone: | 8.0 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Patrick Chuong
At first look, I would insert fUpdateCount++; at the top of dispose(). That's probably a more general fix. Hmmm.. I am not sure what fUpdateCount++ does, but inserting it at the top of dispose() doesn't help. I see. Additionally test for fViewer == null at the beginning of startUpdate(). That should do it. Created attachment 194935 [details]
patch
Thanks Toni.
Committed to HEAD. *** cdt cvs genie on behalf of pchuong *** Bug 344842 - [disassembly] NPE when shutting down the workbench [*] DisassemblyPart.java 1.49 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/disassembly/DisassemblyPart.java?root=Tools_Project&r1=1.48&r2=1.49 |