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

Can't get Importer Info #543

Open
thomiko opened this issue Mar 17, 2018 · 0 comments
Open

Can't get Importer Info #543

thomiko opened this issue Mar 17, 2018 · 0 comments

Comments

@thomiko
Copy link

thomiko commented Mar 17, 2018

Versions

Software Information
Operating System Windows
OS Version 7
java -version 1.8.0_161
psql --version 10.2
gradle --version 4.6

Description

I try to list details of a specific Importer like Provider, SubjectTypes, Attributes, Datasourceids, Dataurl

gradle info -Pi='uk.org.tombolo.importer.dft.TrafficCountImporter'
gradle info -Pp -Pi='uk.org.tombolo.importer.dft.TrafficCountImporter'

btw: 'gradle info' works fine

Error log

Task :info FAILED
2018-03-17 12:39:38.028 [main] ERROR uk.org.tombolo.ImporterInfoRunner -
-----> TASK FAILED: 'uk.org.tombolo.importer.dft.TrafficCountImporter'<-----
Caused by null

java.lang.ClassNotFoundException: 'uk.org.tombolo.importer.dft.TrafficCountImpor
ter'
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at uk.org.tombolo.ImporterInfoRunner.getImporter(ImporterInfoRunner.java
:83)
at uk.org.tombolo.ImporterInfoRunner.main(ImporterInfoRunner.java:42)

Exception in thread "main" java.lang.NullPointerException
at uk.org.tombolo.ImporterInfoRunner.getDatasourceIds(ImporterInfoRunner
.java:97)
at uk.org.tombolo.ImporterInfoRunner.main(ImporterInfoRunner.java:43)

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':info'.

Process 'command 'C:\Program Files\Java\jdk1.8.0_161\bin\java.exe'' finished w
ith non-zero exit value 1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug
    option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 3s
3 actionable tasks: 1 executed, 2 up-to-date

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