Uploaded image for project: 'Apache Hop (Retired)'
  1. Apache Hop (Retired)
  2. HOP-3744

NPE when you have a window without name and try to close it

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • None

    Description

      When you have multiple windows on the same metadata type and try to close it, it throws an NPE failing to close the tab.

      Error in the Hop GUI : null
      java.lang.NullPointerException
              at org.apache.hop.metadata.api.HopMetadataBase.equals(HopMetadataBase.java:51)
              at java.util.Objects.equals(Objects.java:59)
              at org.apache.hop.ui.core.metadata.MetadataEditor.equals(MetadataEditor.java:116)
              at java.util.ArrayList.remove(ArrayList.java:534)
              at org.apache.hop.ui.hopgui.perspective.metadata.MetadataPerspective.onTabClose(MetadataPerspective.java:475)
              at org.apache.hop.ui.hopgui.perspective.metadata.MetadataPerspective$1.close(MetadataPerspective.java:316)
              at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1960)
              at org.eclipse.swt.custom.CTabFolder.lambda$0(CTabFolder.java:335)
              at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
              at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4209)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1043)
              at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4026)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3626)
              at org.apache.hop.ui.hopgui.HopGui.open(HopGui.java:381)
              at org.apache.hop.ui.hopgui.HopGui.main(HopGui.java:301) 

      Attachments

        1. Capture.JPG
          85 kB
          Gabriel Dutra

        Issue Links

          Activity

            People

              gvdutra Gabriel Dutra
              gvdutra Gabriel Dutra
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m