| Summary: | TVT34:TCT189: "work with compile commands" does not display | ||
|---|---|---|---|
| Product: | [Tools] Target Management | Reporter: | Matthew Mazaika <mmazaik> |
| Component: | RSE | Assignee: | Radoslav Gerganov <rgerganov> |
| Status: | CLOSED FIXED | QA Contact: | Martin Oberhuber <mober.at+eclipse> |
| Severity: | critical | ||
| Priority: | P3 | CC: | ddykstal.eclipse, dmcknigh, kitlo, kjdoyle, trippinbilly25 |
| Version: | 3.0 | ||
| Target Milestone: | 3.0 RC1 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| URL: | 189 | ||
| Whiteboard: | |||
|
Description
Matthew Mazaika
This seems relate to the fix for bug 221392: IUndoManager undoManager = getUndoManager(); if (undoManager instanceof IUndoManagerExtension) { IUndoManagerExtension undoManagerExt = (IUndoManagerExtension) undoManager; _undoAction = new UndoActionHandler(_site, undoManagerExt.getUndoContext()); fGlobalActions.put(ITextEditorActionConstants.UNDO, _undoAction); } In this case, _site is null, and it cause the NPE on UndoActinHandler. Radoslav, could you please take a look at it? Thanks. I've just been notified that this is a critical issue. Please investigate. Thanks! I have modified initializeActions() to add the undo action only if _site is not null. So in this particular case the Undo action will be unavailable. Thanks Rado! Works now! Thanks everyone! |