[jbosstools-issues] [JBoss JIRA] (JBIDE-10728) NPE at DnD from JBoss Tools Palette into Outline of JBoss Tools HTML editor
Viacheslav Kabanovich (JIRA)
jira-events at lists.jboss.org
Thu Jan 26 18:02:48 EST 2012
Viacheslav Kabanovich created JBIDE-10728:
---------------------------------------------
Summary: NPE at DnD from JBoss Tools Palette into Outline of JBoss Tools HTML editor
Key: JBIDE-10728
URL: https://issues.jboss.org/browse/JBIDE-10728
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.3.0.M5
Reporter: Viacheslav Kabanovich
Assignee: Yahor Radtsevich
Fix For: 3.3.0.Beta1
EXECUTE: Open an xhtml file in JBoss Tools HTML editor.
EXECUTE: Open Outline view and expand content of the file in it.
EXECUTE: Open JBoss Tools Palette view, select some element in it, drag it and drop into Outline.
FAILURE: NullPointerException (see npe.txt)
Method DndUtil.getCurrentDragSession() returns null. It seems that simple check for null in getSupportedDataFlavors() solves the problem, and after that drop works properly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list