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

NPE when switching project

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Not applicable
    • Hop GUI, Projects
    • None

    Description

      1) Create an XX environment

      2) Delete the XX environment

      3) Switch to the project associated with the deleted environment

       

      2022/09/19 23:48:30 - GUI - ERROR: Error reading the last used environment from the audit logs
      2022/09/19 23:48:30 - GUI - ERROR: java.lang.NullPointerException
      2022/09/19 23:48:30 - GUI -     at org.apache.hop.projects.gui.ProjectsGuiPlugin.selectProject(ProjectsGuiPlugin.java:221)
      2022/09/19 23:48:30 - GUI -     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2022/09/19 23:48:30 - GUI -     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      2022/09/19 23:48:30 - GUI -     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      2022/09/19 23:48:30 - GUI -     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      2022/09/19 23:48:30 - GUI -     at org.apache.hop.ui.core.gui.BaseGuiWidgets.lambda$1(BaseGuiWidgets.java:188)
      2022/09/19 23:48:30 - GUI -     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      2022/09/19 23:48:30 - GUI -     at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4251)
      2022/09/19 23:48:30 - GUI -     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1066)
      2022/09/19 23:48:30 - GUI -     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4068)
      2022/09/19 23:48:30 - GUI -     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3645)
      2022/09/19 23:48:30 - GUI -     at org.apache.hop.ui.hopgui.HopGui.open(HopGui.java:407)
      2022/09/19 23:48:30 - GUI -     at org.apache.hop.ui.hopgui.HopGui.main(HopGui.java:304)

      Attachments

        Issue Links

          Activity

            People

              nadment Nicolas Adment
              nadment Nicolas Adment
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: