java.lang.RuntimeException: GraphFactory could not instantiate this Graph implementation [class com.thinkaurelius.titan.core.TitanFactory]


Samebug tips

Check if there is no nexus running. If not, delete sonatype-work/nexus/nexus.lock .


1 year ago

Solutions on the web

Solution icon of github
via GitHub by manjunath-s
, 1 month ago
GraphFactory could not instantiate this Graph implementation [class com.thinkaurelius.titan.core.TitanFactory]

Solution icon of github
GraphFactory could not instantiate this Graph implementation [class com.thinkaurelius.titan.core.TitanFactory]

Solution icon of github
via GitHub by manjunath-s
, 6 months ago
GraphFactory could not instantiate this Graph implementation [class com.thinkaurelius.titan.core.TitanFactory]

Solution icon of github
GraphFactory could not instantiate this Graph implementation [class com.thinkaurelius.titan.core.TitanFactory]

Solution icon of googlegroups
via Google Groups by Erik Mocný, 1 year ago
GraphFactory could not instantiate this Graph implementation [class com.thinkaurelius.titan.core.TitanFactory]

Solution icon of googlegroups
GraphFactory could not instantiate this Graph implementation [class com.thinkaurelius.titan.core.TitanFactory]

Solution icon of github
via GitHub by joebernard
, 1 year ago
GraphFactory could not instantiate this Graph implementation [class com.thinkaurelius.titan.core.TitanFactory]

Solution icon of stackoverflow
GraphFactory could not instantiate this Graph implementation [class com.thinkaurelius.titan.core.TitanFactory]

Solution icon of googlegroups
via Google Groups by Dylan Bethune-Waddell, 1 year ago
GraphFactory could not instantiate this Graph implementation [class com.thinkaurelius.titan.core.TitanFactory]

Solution icon of stackoverflow
GraphFactory could not instantiate this Graph implementation [class org.janusgraph.core.JanusGraphFactory]

Stack trace

java.lang.RuntimeException: GraphFactory could not instantiate this Graph 
implementation [class com.thinkaurelius.titan.core.TitanFactory]
	at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:82)
	at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:70)
	at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:104)
	at org.apache.tinkerpop.gremlin.server.GraphManager.lambda$new$27(GraphManager.java:50)
	at java.util.LinkedHashMap$LinkedEntrySet.forEach(LinkedHashMap.java:663)
	at org.apache.tinkerpop.gremlin.server.GraphManager.<init>(GraphManager.java:48)
	at org.apache.tinkerpop.gremlin.server.util.ServerGremlinExecutor.<init>(ServerGremlinExecutor.java:94)
	at org.apache.tinkerpop.gremlin.server.GremlinServer.<init>(GremlinServer.java:88)
	at org.apache.tinkerpop.gremlin.server.GremlinServer.main(GremlinServer.java:290)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.apache.tinkerpop.gremlin.structure.util.GraphFactory.open(GraphFactory.java:78)
	... 8 more
Caused by: java.lang.IllegalStateException: Need to set configuration value: 
root.attributes.custom.attribute-class
	at com.google.common.base.Preconditions.checkState(Preconditions.java:197)
	at com.thinkaurelius.titan.diskstorage.configuration.ConfigOption.get(ConfigOption.java:216)
	at com.thinkaurelius.titan.diskstorage.configuration.BasicConfiguration.get(BasicConfiguration.java:56)
	at com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration.<init>(GraphDatabaseConfiguration.java:1390)
	at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:94)
	at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:74)
	... 13 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
85 more bugmates