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

NPE in Projects plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • GUI, Projects
    • None

    Description

      When switching around projects I got the error below.  I believe it's because I deleted a few projects and/or environments which were no longer on disk.  Apparently there was an issue with that.

      2022/06/29 12:51:00 - GUI - ERROR: Error reading the last used environment from the audit logs
      2022/06/29 12:51:00 - GUI - ERROR: java.lang.NullPointerException
      2022/06/29 12:51:00 - GUI -     at org.apache.hop.projects.gui.ProjectsGuiPlugin.selectProject(ProjectsGuiPlugin.java:217)
      2022/06/29 12:51:00 - GUI -     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2022/06/29 12:51:00 - GUI -     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      2022/06/29 12:51:00 - GUI -     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      2022/06/29 12:51:00 - GUI -     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      2022/06/29 12:51:00 - GUI -     at org.apache.hop.ui.core.gui.BaseGuiWidgets.lambda$getListener$1(BaseGuiWidgets.java:188)
      2022/06/29 12:51:00 - GUI -     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
      2022/06/29 12:51:00 - GUI -     at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5895)
      2022/06/29 12:51:00 - GUI -     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
      2022/06/29 12:51:00 - GUI -     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:5126)
      2022/06/29 12:51:00 - GUI -     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4581)
      2022/06/29 12:51:00 - GUI -     at org.apache.hop.ui.hopgui.HopGui.open(HopGui.java:380)
      2022/06/29 12:51:00 - GUI -     at org.apache.hop.ui.hopgui.HopGui.main(HopGui.java:300) 

      Attachments

        Issue Links

          Activity

            People

              mcasters Matt Casters
              mcasters Matt Casters
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: