Skip to content
This repository was archived by the owner on Dec 30, 2020. It is now read-only.
This repository was archived by the owner on Dec 30, 2020. It is now read-only.

Running the Java Example raises thread errors #10

@justjess678

Description

@justjess678

There appear to be errors with the threads in the Example.java class. I compiled and ran the code without any modifications (mvn exec:java -Dexec.mainClass="example.Example" -s ~/.m2/settings.xml) and this is the output:

All GeoSpark DEMOs passed!
[WARNING] thread Thread[GT authority factory disposer,5,example.Example] was interrupted but is still alive after waiting at least 12892msecs
[WARNING] thread Thread[GT authority factory disposer,5,example.Example] will linger despite being asked to die via interruption
[WARNING] thread Thread[WeakCollectionCleaner,8,example.Example] will linger despite being asked to die via interruption
[WARNING] NOTE: 2 thread(s) did not finish despite being asked to  via interruption. This is not a problem with exec:java, it is a problem with the running code. Although not serious, it should be remedied.
[WARNING] Couldn't destroy threadgroup org.codehaus.mojo.exec.ExecJavaMojo$IsolatedThreadGroup[name=example.Example,maxpri=10]
java.lang.IllegalThreadStateException
    at java.lang.ThreadGroup.destroy (ThreadGroup.java:778)
...

EarthdataMapperRunnableExample works fine however.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions