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

Unexpected error registering jar plugin #81

Open
ertanyildiz opened this issue Apr 6, 2020 · 0 comments
Open

Unexpected error registering jar plugin #81

ertanyildiz opened this issue Apr 6, 2020 · 0 comments

Comments

@ertanyildiz
Copy link

I developed a simple plugin, created a jar in a folder and copied the folder to the $PENTAHO_PATH/plugins folder. When I restart PDI it gives the following error:

2020/04/06 16:27:43 - General - ERROR (version 9.0.0.0-423, build 9.0.0.0-423 from 2020-01-31 04.53.04 by buildguy) : Unexpected error registering jar plugin file: file:///home/username/Documents/pentaho/plugins/folder-name/myjar-name.jar
2020/04/06 16:27:43 - General - ERROR (version 9.0.0.0-423, build 9.0.0.0-423 from 2020-01-31 04.53.04 by buildguy) : java.lang.NullPointerException
2020/04/06 16:27:43 - General -         at org.pentaho.di.core.plugins.StepPluginType.extractID(StepPluginType.java:149)
2020/04/06 16:27:43 - General -         at org.pentaho.di.core.plugins.BasePluginType.handlePluginAnnotation(BasePluginType.java:750)
2020/04/06 16:27:43 - General -         at org.pentaho.di.core.plugins.BasePluginType.registerPluginJars(BasePluginType.java:718)
2020/04/06 16:27:43 - General -         at org.pentaho.di.core.plugins.BasePluginType.searchPlugins(BasePluginType.java:184)
2020/04/06 16:27:43 - General -         at org.pentaho.di.core.plugins.PluginRegistry.registerType(PluginRegistry.java:605)
2020/04/06 16:27:43 - General -         at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:577)
2020/04/06 16:27:43 - General -         at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:545)
2020/04/06 16:27:43 - General -         at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:145)
2020/04/06 16:27:43 - General -         at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:100)
2020/04/06 16:27:43 - General -         at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:81)
2020/04/06 16:27:43 - General -         at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:643)
2020/04/06 16:27:43 - General -         at org.pentaho.di.ui.spoon.Spoon$1.call(Spoon.java:635)
2020/04/06 16:27:43 - General -         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
2020/04/06 16:27:43 - General -         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2020/04/06 16:27:43 - General -         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2020/04/06 16:27:43 - General -         at java.lang.Thread.run(Thread.java:748)

Do you have any idea why Pentaho does not build my plugin? Thank you.

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

No branches or pull requests

1 participant