abeille
  1. abeille
  2. ABEILLE-9

NPE in ComponentNamesExporter even after apply patch in bug 8

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: Windows XP
      Platform: All

    • Issuezilla Id:
      9

      Description

      I've recompiled the class with the patch for ABEILLE-8 included. It appears if a
      name field is blank for a component you'll get this stack trace:

      java.lang.NullPointerException
      at com.jeta.swingbuilder.gui.export.ComponentNamesExporter.export
      (Unknown Source)
      at
      com.jeta.swingbuilder.gui.export.ComponentNamesExporter.exportToClipboard
      (Unknown Source)
      at
      com.jeta.swingbuilder.gui.main.MainFrameController$ExportNamesAction.actionPerfo
      rmed(Unknown Source)
      at com.jeta.open.gui.framework.JETAController.actionPerformed(Unknown
      Source)
      at
      com.jeta.open.gui.framework.JETAController$CommandListener.actionPerformed
      (Unknown Source)
      at javax.swing.AbstractButton.fireActionPerformed
      (AbstractButton.java:1786)
      at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed
      (AbstractButton.java:1839)
      at javax.swing.DefaultButtonModel.fireActionPerformed
      (DefaultButtonModel.java:420)
      at javax.swing.DefaultButtonModel.setPressed
      (DefaultButtonModel.java:258)
      at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
      at javax.swing.plaf.basic.BasicMenuItemUI.doClick
      (BasicMenuItemUI.java:1113)
      at
      javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased
      (BasicMenuItemUI.java:943)
      at java.awt.Component.processMouseEvent(Component.java:5100)
      at java.awt.Component.processEvent(Component.java:4897)
      at java.awt.Container.processEvent(Container.java:1569)
      at java.awt.Component.dispatchEventImpl(Component.java:3615)
      at java.awt.Container.dispatchEventImpl(Container.java:1627)
      at java.awt.Component.dispatchEvent(Component.java:3477)
      at java.awt.LightweightDispatcher.retargetMouseEvent
      (Container.java:3483)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
      at java.awt.Container.dispatchEventImpl(Container.java:1613)
      at java.awt.Window.dispatchEventImpl(Window.java:1606)
      at java.awt.Component.dispatchEvent(Component.java:3477)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy
      (EventDispatchThread.java:201)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy
      (EventDispatchThread.java:151)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

        Activity

          People

          • Assignee:
            viegs
            Reporter:
            msaxer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: