[jbosstools-issues] [JBoss JIRA] (JBIDE-10728) NPE at DnD from JBoss Tools Palette into Outline of JBoss Tools HTML editor

Vlado Pakan (JIRA) jira-events at lists.jboss.org
Tue Feb 28 02:55:36 EST 2012


     [ https://issues.jboss.org/browse/JBIDE-10728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vlado Pakan closed JBIDE-10728.
-------------------------------



Verified on JBT 3.3.0.v20120224-2315-H93-Beta1.
                
> 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: Denis Maliarevich
>             Fix For: 3.3.0.Beta1
>
>         Attachments: npe.txt
>
>
> 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