Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367450 - [DND] NPE during mistaken drag
Summary: [DND] NPE during mistaken drag
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-22 13:41 EST by Brian de Alwis CLA
Modified: 2019-11-14 03:48 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian de Alwis CLA 2011-12-22 13:41:47 EST
Version: 4.2.0
Build id: I20111209-2100

I guess I closed a window after the DND manager thought I was in the middle of a drag.  So getDragShell() == null in the finally block.

!ENTRY org.eclipse.e4.ui.workbench 4 0 2011-12-22 12:46:54.322
!MESSAGE Internal Error
!STACK 0
java.lang.NullPointerException
        at org.eclipse.e4.ui.workbench.addons.dndaddon.DnDManager.startDrag(DnDManager.java:200)
        at org.eclipse.e4.ui.workbench.addons.dndaddon.DnDManager$1$1.dragDetected(DnDManager.java:109)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:127)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
Comment 1 Lars Vogel CLA 2019-11-14 03:48:07 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.