Skip to content

Instantly share code, notes, and snippets.

@samrose
Created July 20, 2012 18:56
Show Gist options
  • Save samrose/3152567 to your computer and use it in GitHub Desktop.
Save samrose/3152567 to your computer and use it in GitHub Desktop.
mvn log output
mvn clean compile exec:java -Dexec.mainClass="org.neo4j.examples.astarrouting.AStarRouting"
[INFO] Scanning for projects...
[WARNING] The POM for cuke4duke:cuke4duke-maven-plugin:jar:0.4.4 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for cuke4duke:cuke4duke-maven-plugin:0.4.4: Plugin cuke4duke:cuke4duke-maven-plugin:0.4.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for cuke4duke:cuke4duke-maven-plugin:jar:0.4.4
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Java A* routing example 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for cuke4duke:cuke4duke-maven-plugin:jar:0.4.4 is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for cuke4duke:cuke4duke-maven-plugin:0.4.4: Plugin cuke4duke:cuke4duke-maven-plugin:0.4.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for cuke4duke:cuke4duke-maven-plugin:jar:0.4.4
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ java-astar-routing ---
[INFO] Deleting /Users/samrose/Desktop/rubylogistics/java-astar-routing/target
[INFO]
[INFO] --- license-maven-plugin:3:check (check-licenses) @ java-astar-routing ---
[INFO] Checking licenses...
[INFO]
[INFO] --- maven-dependency-plugin:2.4:unpack-dependencies (get-javadoc-sources) @ java-astar-routing ---
[INFO] Unpacking /Users/samrose/.m2/repository/org/neo4j/neo4j-kernel/1.8.M05/neo4j-kernel-1.8.M05-sources.jar to /Users/samrose/Desktop/rubylogistics/java-astar-routing/target/sources with includes "" and excludes ""
[INFO] Unpacking /Users/samrose/.m2/repository/org/neo4j/neo4j-graph-algo/1.8.M05/neo4j-graph-algo-1.8.M05-sources.jar to /Users/samrose/Desktop/rubylogistics/java-astar-routing/target/sources with includes "" and excludes ""
[INFO] Unpacking /Users/samrose/.m2/repository/org/neo4j/neo4j-lucene-index/1.8.M05/neo4j-lucene-index-1.8.M05-sources.jar to /Users/samrose/Desktop/rubylogistics/java-astar-routing/target/sources with includes "" and excludes ""
[INFO] Unpacking /Users/samrose/.m2/repository/org/neo4j/neo4j-jmx/1.8.M05/neo4j-jmx-1.8.M05-sources.jar to /Users/samrose/Desktop/rubylogistics/java-astar-routing/target/sources with includes "" and excludes ""
[INFO] Unpacking /Users/samrose/.m2/repository/org/neo4j/neo4j-graph-matching/1.8.M05/neo4j-graph-matching-1.8.M05-sources.jar to /Users/samrose/Desktop/rubylogistics/java-astar-routing/target/sources with includes "" and excludes ""
[INFO] Unpacking /Users/samrose/.m2/repository/org/neo4j/neo4j-cypher/1.8.M05/neo4j-cypher-1.8.M05-sources.jar to /Users/samrose/Desktop/rubylogistics/java-astar-routing/target/sources with includes "" and excludes ""
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ java-astar-routing ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/samrose/Desktop/rubylogistics/java-astar-routing/src/main/resources
[INFO] skip non existing resourceDirectory /Users/samrose/Desktop/rubylogistics/java-astar-routing/src/main/resources/META-INF
[INFO] Copying 1 resource to META-INF
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ java-astar-routing ---
[INFO] Compiling 6 source files to /Users/samrose/Desktop/rubylogistics/java-astar-routing/target/classes
[INFO]
[INFO] >>> exec-maven-plugin:1.2.1:java (default-cli) @ java-astar-routing >>>
[INFO]
[INFO] <<< exec-maven-plugin:1.2.1:java (default-cli) @ java-astar-routing <<<
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:java (default-cli) @ java-astar-routing ---
[WARNING]
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.NullPointerException
at org.neo4j.examples.astarrouting.YahooXmlReader.readYahooXml(YahooXmlReader.java:71)
at org.neo4j.examples.astarrouting.YahooXmlReader.getCoordinates(YahooXmlReader.java:89)
at org.neo4j.examples.astarrouting.Waypoint.<init>(Waypoint.java:43)
at org.neo4j.examples.astarrouting.AStarRouting.routing(AStarRouting.java:63)
at org.neo4j.examples.astarrouting.AStarRouting.main(AStarRouting.java:49)
... 6 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.202s
[INFO] Finished at: Fri Jul 20 14:54:13 EDT 2012
[INFO] Final Memory: 19M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default-cli) on project java-astar-routing: An exception occured while executing the Java class. null: InvocationTargetException: NullPointerException -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment