You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mike Drob (JIRA)" <ji...@apache.org> on 2017/01/11 23:13:17 UTC

[jira] [Commented] (LUCENE-7629) ClassCastException in BytesStore.ramBytesUsed

    [ https://issues.apache.org/jira/browse/LUCENE-7629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15819481#comment-15819481 ] 

Mike Drob commented on LUCENE-7629:
-----------------------------------

I suspect it might be a JVM issue with nothing that we can do to fix it, but couldn't find any other JIRAs reporting the same thing so it made sense to create one.

> ClassCastException in BytesStore.ramBytesUsed
> ---------------------------------------------
>
>                 Key: LUCENE-7629
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7629
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 4.10.3
>         Environment: Oracle jdk1.8.0_74 (64-bit) with G1GC
>            Reporter: Mike Drob
>
> {code}
> Caused by: java.lang.ClassCastException: [I cannot be cast to [B
> 	at org.apache.lucene.util.fst.BytesStore.ramBytesUsed(BytesStore.java:478)
> 	at org.apache.lucene.util.fst.FST.ramBytesUsed(FST.java:436)
> 	at org.apache.lucene.codecs.blocktree.FieldReader.ramBytesUsed(FieldReader.java:187)
> 	at org.apache.lucene.codecs.blocktree.BlockTreeTermsReader.ramBytesUsed(BlockTreeTermsReader.java:309)
> 	at org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsReader.ramBytesUsed(PerFieldPostingsFormat.java:238)
> 	at org.apache.lucene.index.SegmentCoreReaders.ramBytesUsed(SegmentCoreReaders.java:226)
> 	at org.apache.lucene.index.SegmentReader.ramBytesUsed(SegmentReader.java:614)
> 	at org.apache.solr.handler.admin.LukeRequestHandler.getIndexHeapUsed(LukeRequestHandler.java:579)
> 	at org.apache.solr.handler.admin.LukeRequestHandler.getIndexInfo(LukeRequestHandler.java:558)
> 	at org.apache.solr.handler.admin.CoreAdminHandler.getCoreStatus(CoreAdminHandler.java:1135)
> 	at org.apache.solr.handler.admin.CoreAdminHandler.handleStatusAction(CoreAdminHandler.java:699)
> 	... 29 more
> {code}
> Saw this running Solr on a patched 4.10.3.
> I have not been able to reproduce this, but it seems similar to what was reported at https://discuss.elastic.co/t/strange-marvel-exception/36112



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org