deminok opened a new issue, #5497: URL: https://github.com/apache/hop/issues/5497
### Apache Hop version? 2.14.0 ### Java version? openjdk 17.0.12 2024-07-16 LTS ### Operating system macOS ### What happened? Trying to setup a new project using git tracking. I created an empty folder and invoked git init using git version 2.48.1. I opened that folder as a new project in hop and get the following error trace: 2025/07/09 11:14:00 - Hop - Projects enabled 2025/07/09 11:14:00 - Hop - Enabling project : 'hop-git-test' 2025/07/09 11:14:01 - GUI - No git project found in /Users/deminok/Desktop/hop-git-test 2025/07/09 11:14:05 - GUI - ERROR: Unable to call method gitBranches in class org.apache.hop.git.GitGuiPlugin : null 2025/07/09 11:14:05 - GUI - ERROR: java.lang.reflect.InvocationTargetException 2025/07/09 11:14:05 - GUI - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2025/07/09 11:14:05 - GUI - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) 2025/07/09 11:14:05 - GUI - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2025/07/09 11:14:05 - GUI - at java.base/java.lang.reflect.Method.invoke(Method.java:569) 2025/07/09 11:14:05 - GUI - at org.apache.hop.ui.core.gui.BaseGuiWidgets.lambda$getListener$1(BaseGuiWidgets.java:213) 2025/07/09 11:14:05 - GUI - at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:91) 2025/07/09 11:14:05 - GUI - at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4660) 2025/07/09 11:14:05 - GUI - at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1657) 2025/07/09 11:14:05 - GUI - at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1680) 2025/07/09 11:14:05 - GUI - at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1665) 2025/07/09 11:14:05 - GUI - at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1394) 2025/07/09 11:14:05 - GUI - at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4427) 2025/07/09 11:14:05 - GUI - at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4003) 2025/07/09 11:14:05 - GUI - at org.apache.hop.ui.hopgui.HopGui.open(HopGui.java:486) 2025/07/09 11:14:05 - GUI - at org.apache.hop.ui.hopgui.HopGui.main(HopGui.java:364) 2025/07/09 11:14:05 - GUI - Caused by: java.lang.NullPointerException: Cannot invoke "org.apache.hop.git.model.UIGit.getBranches()" because "org.apache.hop.git.GitGuiPlugin.git" is null 2025/07/09 11:14:05 - GUI - at org.apache.hop.git.GitGuiPlugin.gitBranches(GitGuiPlugin.java:304) 2025/07/09 11:14:05 - GUI - ... 15 more ### Issue Priority Priority: 2 ### Issue Component Component: Hop Gui -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
