Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: GUI Actions fail with NullPointerException when trying to edit pipeline properties or left-clicking steps #4933

Open
bitlamas opened this issue Feb 23, 2025 · 0 comments

Comments

@bitlamas
Copy link

bitlamas commented Feb 23, 2025

Apache Hop version?

2.12.0

Java version?

OpenJDK 17

Operating system

Linux OpenSUSE Leap 15.6

What happened?

I'm very new on using Hop, coming from PDI. So I'm sorry if this is something easy to fix on my side.

The Hop GUI is becoming unresponsive to double-click or left-click actions on pipeline steps and editing properties after a few minutes of using it. This occurs intermittently - the GUI initially works but then starts failing. When attempting to double-click on steps or edit pipeline properties, the following error occurs:

java.lang.RuntimeException: Error executing method : editPipelineProperties in class org.apache.hop.ui.hopgui.file.pipeline.HopGuiPipelineGraph
Caused by: java.lang.NullPointerException: Cannot invoke "Object.getClass()" because "obj" is null

Steps to reproduce:

Unzipped Apache Hop 2.12.0
Launched hop-gui.sh
Created a new pipeline
Added a step (e.g., Text Input)
Tried to left-click the step to edit its properties
Alternatively, try to edit pipeline properties

On terminal anytime I left-click the pipeline I get this output:

2025/02/22 21:03:57 - GUI - ERROR: Error filtering out action pipeline-graph-transform-10650-rows-copy with filter java.lang.String.filterTransformActions
2025/02/22 21:03:57 - GUI - ERROR: org.apache.hop.core.exception.HopException: 
2025/02/22 21:03:57 - GUI - Error filtering out action with ID pipeline-graph-transform-10650-rows-copy against filter java.lang.String.filterTransformActions
2025/02/22 21:03:57 - GUI - Cannot invoke "Object.getClass()" because "guiPlugin" is null
2025/02/22 21:03:57 - GUI - 
2025/02/22 21:03:57 - GUI - 	at org.apache.hop.ui.hopgui.context.BaseGuiContextHandler.evaluateActionFilter(BaseGuiContextHandler.java:182)
2025/02/22 21:03:57 - GUI - 	at org.apache.hop.ui.hopgui.context.BaseGuiContextHandler.getPluginActions(BaseGuiContextHandler.java:71)
2025/02/22 21:03:57 - GUI - 	at org.apache.hop.ui.hopgui.file.pipeline.context.HopGuiPipelineTransformContext.getSupportedActions(HopGuiPipelineTransformContext.java:116)
2025/02/22 21:03:57 - GUI - 	at org.apache.hop.ui.hopgui.context.GuiContextUtil.handleActionSelection(GuiContextUtil.java:145)
2025/02/22 21:03:57 - GUI - 	at org.apache.hop.ui.hopgui.file.pipeline.HopGuiPipelineGraph.showActionDialog(HopGuiPipelineGraph.java:1318)
2025/02/22 21:03:57 - GUI - 	at org.apache.hop.ui.hopgui.file.pipeline.HopGuiPipelineGraph.mouseUp(HopGuiPipelineGraph.java:1123)
2025/02/22 21:03:57 - GUI - 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:237)
2025/02/22 21:03:57 - GUI - 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:91)
2025/02/22 21:03:57 - GUI - 	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5857)
2025/02/22 21:03:57 - GUI - 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1617)
2025/02/22 21:03:57 - GUI - 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:5067)
2025/02/22 21:03:57 - GUI - 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4519)
2025/02/22 21:03:57 - GUI - 	at org.apache.hop.ui.hopgui.HopGui.open(HopGui.java:478)
2025/02/22 21:03:57 - GUI - 	at org.apache.hop.ui.hopgui.HopGui.main(HopGui.java:356)
2025/02/22 21:03:57 - GUI - Caused by: java.lang.NullPointerException: Cannot invoke "Object.getClass()" because "guiPlugin" is null
2025/02/22 21:03:57 - GUI - 	at org.apache.hop.ui.hopgui.context.BaseGuiContextHandler.evaluateActionFilter(BaseGuiContextHandler.java:171)
2025/02/22 21:03:57 - GUI - 	... 13 more

Issue Priority

Priority: 2

Issue Component

Component: Hop Gui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant