g = new TinkerGraph(); g.loadGraphML('/Users/dbost/src/fastDeploy_to_graphML/example.graphml')and got:
java.lang.NullPointerException
at org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph.selectIdManager(TinkerGraph.java:524)
at org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph.<init>(TinkerGraph.java:112)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
. . .
g = new TinkerGraph(); g.io("/Users/dbost/src/fastDeploy_to_graphML/example.graphml").read().iterate()and got:
java.lang.IllegalStateException: Could not detect the file format - specify the writer explicitly or rename file with a standard extension
at org.apache.tinkerpop.gremlin.process.traversal.step.sideEffect.IoStep.detectFileType(IoStep.java:216)
at org.apache.tinkerpop.gremlin.process.traversal.step.util.Parameters.get(Parameters.java:107)
. . .
I tried:
test = GraphMLReader.inputGraph(g, new FileInputStream('/Users/dbost/src/fastDeploy_to_graphML/example.graphml'))and got:
groovy.lang.MissingMethodException: No signature of method: static org.apache.tinkerpop.gremlin.structure.io.graphml.GraphMLReader.inputGraph() is applicable for argument types: (org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource...) values: [graphtraversalsource[tinkergraph[vertices:6 edges:6], standard], ...]
at groovy.lang.MetaClassImpl.invokeStaticMissingMethod(MetaClassImpl.java:1525)
at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1511)
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/1ac19892-acfc-40de-ab81-146a00e5d186%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to gremli...@googlegroups.com.