| Summary: | NPE in DND | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Brian de Alwis <bsd> |
| Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | emoffatt, remy.suen |
| Version: | 4.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
I'm now able to do this without an NPE. |
Version: 4.1.0 Build id: M20110826-1525 I had the following NPE when doing some DND to rearrange the Debug perspective: I guess the dragAgent may be null at that point. !ENTRY org.eclipse.e4.ui.workbench 4 0 2011-09-01 13:31:46.947 !MESSAGE Internal Error !STACK 0 java.lang.NullPointerException at org.eclipse.e4.ui.workbench.addons.dndaddon.DnDManager.finishDrag(DnD Manager.java:226) at org.eclipse.e4.ui.workbench.addons.dndaddon.DnDManager.startDrag(DnDM anager.java:200) at org.eclipse.e4.ui.workbench.addons.dndaddon.DnDManager$1$1.dragDetect ed(DnDManager.java:109) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:127) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)