Stardog 4.0 RC1 - java.util.HashMap$Node cannot be cast to java.util.HashMap$TreeNode

19 views
Skip to first unread message

mohammad....@gmail.com

unread,
Oct 13, 2015, 4:08:19 AM10/13/15
to Stardog
This error happened somewhere in my queries and then stardog was not responding anymore, was force to reset it. 

com.complexible.stardog.db.DatabaseException: java.util.HashMap$Node cannot be cast to java.util.HashMap$TreeNode
at com.complexible.stardog.db.DatabaseImpl.connect(DatabaseImpl.java:1110) ~[stardog-4.0-RC1.jar:?]
at com.complexible.stardog.db.DatabaseImpl.openConnection(DatabaseImpl.java:1019) ~[stardog-4.0-RC1.jar:?]
at com.complexible.stardog.StardogKernel.getConnection(StardogKernel.java:813) ~[stardog-4.0-RC1.jar:?]
at com.complexible.stardog.protocols.server.KernelServerFunction.getConnection(KernelServerFunction.java:67) ~[stardog-protocols-spec-server-4.0-RC1.jar:?]
at com.complexible.stardog.protocols.server.SPECServerFunction.query(SPECServerFunction.java:474) [stardog-protocols-spec-server-4.0-RC1.jar:?]
at com.complexible.stardog.protocols.server.SPECServerFunction.handleMessage(SPECServerFunction.java:149) [stardog-protocols-spec-server-4.0-RC1.jar:?]
at com.complexible.common.protocols.server.rpc.ServerHandler.handleMessage(ServerHandler.java:295) [stardog-protocols-api-server-4.0-RC1.jar:?]
at com.complexible.common.protocols.server.rpc.ServerHandler.channelRead(ServerHandler.java:187) [stardog-protocols-api-server-4.0-RC1.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [netty-all-4.0.30.Final.jar:4.0.30.Final]
at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:32) [netty-all-4.0.30.Final.jar:4.0.30.Final]
at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:299) [netty-all-4.0.30.Final.jar:4.0.30.Final]
at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:36) [netty-all-4.0.30.Final.jar:4.0.30.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:110) [netty-all-4.0.30.Final.jar:4.0.30.Final]
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) [netty-all-4.0.30.Final.jar:4.0.30.Final]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
Caused by: java.lang.ClassCastException: java.util.HashMap$Node cannot be cast to java.util.HashMap$TreeNode
at java.util.HashMap$TreeNode.moveRootToFront(HashMap.java:1819) ~[?:1.8.0_60]
at java.util.HashMap$TreeNode.putTreeVal(HashMap.java:1999) ~[?:1.8.0_60]
at java.util.HashMap.putVal(HashMap.java:637) ~[?:1.8.0_60]
at java.util.HashMap.put(HashMap.java:611) ~[?:1.8.0_60]
at java.util.HashSet.add(HashSet.java:219) ~[?:1.8.0_60]
at com.complexible.stardog.search.waldo.DocumentSearchIndex.openConnection(DocumentSearchIndex.java:169) ~[stardog-search-waldo-4.0-RC1.jar:?]
at com.complexible.stardog.search.db.ConnectableSearchIndex.openConnection(ConnectableSearchIndex.java:200) ~[stardog-search-waldo-4.0-RC1.jar:?]
at com.complexible.stardog.search.db.ConnectableSearchIndex.openConnection(ConnectableSearchIndex.java:79) ~[stardog-search-waldo-4.0-RC1.jar:?]
at com.complexible.stardog.db.DatabaseImpl.connect(DatabaseImpl.java:1100) ~[stardog-4.0-RC1.jar:?]
... 14 more


Evren Sirin

unread,
Oct 13, 2015, 9:18:12 AM10/13/15
to Stardog
Thanks for reporting the problem. We created ticket #2578 for this
issue and will fix it in the next release.

Best,
Evren
> --
> -- --
> You received this message because you are subscribed to the C&P "Stardog"
> group.
> To post to this group, send email to sta...@clarkparsia.com
> To unsubscribe from this group, send email to
> stardog+u...@clarkparsia.com
> For more options, visit this group at
> http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en
Reply all
Reply to author
Forward
0 new messages