-
Notifications
You must be signed in to change notification settings - Fork 12
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
Error "Unable to open GitSpoon project 'path/to/project' when first executing a job/transformation in spoon #37
Comments
Thank you for reporting this. I was able to reproduce it. |
Even if you choose a git project out of a given list, you will get an error, though. To explain more details, each environment has a different metastore, and each metastore manages a different list of git projects. |
Just for the record, the version of SpoonGit you are using is 1.1.0-SNAPSHOT, compiled on Dec. 19, 2018. Correct me if I'm wrong. |
Sorry for the delay, yesterday couldn't look into this. So the correct workflow should be:
|
I'm glad you found a work-around. However, I'd still say SpoonGit and Environment need to be better-integrated. |
I'm using Matt Casters Kettle-REMIX PDI file which includes the PDI-Git plugin and his own Environment plugin (it's a deployment of PDI 8.2.0.7-719 with some more plugins added). When I inform in an Environment the field Spoongit project pointing to one of my local git repositories, and use that Environment to execute something in Spoon, the first time I execute anything in Spoon I get an error message at the beginning of the Execution in Spoon log panel, though the error doesn't affect the execution, everything works as expected.
The complete error message is this:
2020/01/16 17:25:51 - GUI - ERROR (version 8.2.0.7-719, build 8.2.0.7-719 from 2019-06-27 12.22.51 by kettle) : Unable to open GitSpoon project '/path/to/my/git/repository' 2020/01/16 17:25:51 - GUI - ERROR (version 8.2.0.7-719, build 8.2.0.7-719 from 2019-06-27 12.22.51 by kettle) : java.lang.reflect.InvocationTargetException 2020/01/16 17:25:51 - GUI - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2020/01/16 17:25:51 - GUI - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2020/01/16 17:25:51 - GUI - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2020/01/16 17:25:51 - GUI - at java.lang.reflect.Method.invoke(Method.java:498) 2020/01/16 17:25:51 - GUI - at org.kettle.env.util.EnvironmentUtil.loadSpoonGitRepository(EnvironmentUtil.java:207) 2020/01/16 17:25:51 - GUI - at org.kettle.env.util.EnvironmentUtil.enableEnvironment(EnvironmentUtil.java:108) 2020/01/16 17:25:51 - GUI - at org.kettle.env.xp.SpoonStartEnvironmentPrompt.callExtensionPoint(SpoonStartEnvironmentPrompt.java:78) 2020/01/16 17:25:51 - GUI - at org.pentaho.di.core.extension.ExtensionPointMap.callExtensionPoint(ExtensionPointMap.java:151) 2020/01/16 17:25:51 - GUI - at org.pentaho.di.core.extension.ExtensionPointHandler.callExtensionPoint(ExtensionPointHandler.java:45) 2020/01/16 17:25:51 - GUI - at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9175) 2020/01/16 17:25:51 - GUI - at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:707) 2020/01/16 17:25:51 - GUI - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2020/01/16 17:25:51 - GUI - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2020/01/16 17:25:51 - GUI - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2020/01/16 17:25:51 - GUI - at java.lang.reflect.Method.invoke(Method.java:498) 2020/01/16 17:25:51 - GUI - at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92) 2020/01/16 17:25:51 - GUI - Caused by: java.lang.NullPointerException 2020/01/16 17:25:51 - GUI - at org.pentaho.di.git.spoon.GitController.openGit(GitController.java:234) 2020/01/16 17:25:51 - GUI - at org.pentaho.di.git.spoon.GitSpoonMenuController.openRepo(GitSpoonMenuController.java:90) 2020/01/16 17:25:51 - GUI - at org.pentaho.di.git.spoon.GitPerspective.openRepository(GitPerspective.java:213) 2020/01/16 17:25:51 - GUI - ... 16 more
I'm using Ubuntu 16.04 and I have also the same problem in a VM running Ubuntu 18.04.
The text was updated successfully, but these errors were encountered: