Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-10728

NPE at DnD from JBoss Tools Palette into Outline of JBoss Tools HTML editor

XMLWordPrintable

      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.

            dmaliarevich_jira Denis Maliarevich (Inactive)
            scabanovich Viacheslav Kabanovich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: