uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Closed] (UIMA-5472) java.lang.ArrayIndexOutOfBoundsException with big CAS serialized
Date Mon, 15 Jul 2019 18:52:00 GMT

     [ https://issues.apache.org/jira/browse/UIMA-5472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marshall Schor closed UIMA-5472.
--------------------------------
    Resolution: Incomplete

closing due to lack of test case. Please reopen if needed.

> java.lang.ArrayIndexOutOfBoundsException with big CAS serialized
> ----------------------------------------------------------------
>
>                 Key: UIMA-5472
>                 URL: https://issues.apache.org/jira/browse/UIMA-5472
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.9.0SDK
>         Environment: Ubuntu xenial amd64, openjdk-8-jdk
>            Reporter: Nelson RIvera
>            Priority: Major
>
> I have a main program that serializes and deserializes a CAS using XCASSerializer and
XCASDeserializer. 
> With a big CAS ( CAS composed of  many views, cas's serialized size equals 20 MB) after
serialize the CAS, deserializing the CAS i get the exception that show below. With smaller
Cas everything is good.
> Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException
> 	at org.apache.uima.internal.util.IntVector.get(IntVector.java:239)
> 	at org.apache.uima.cas.impl.XCASDeserializer$XCASDeserializerHandler.handleFeature(XCASDeserializer.java:580)
> 	at org.apache.uima.cas.impl.XCASDeserializer$XCASDeserializerHandler.readFS(XCASDeserializer.java:442)
> 	at org.apache.uima.cas.impl.XCASDeserializer$XCASDeserializerHandler.readFS(XCASDeserializer.java:300)
> 	at org.apache.uima.cas.impl.XCASDeserializer$XCASDeserializerHandler.startElement(XCASDeserializer.java:244)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:351)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2784)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:505)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
> 	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
> 	at org.apache.uima.cas.impl.XCASDeserializer.deserialize(XCASDeserializer.java:1212)
> 	at org.apache.uima.cas.impl.XCASDeserializer.deserialize(XCASDeserializer.java:1181)
> 	at org.platform.xuima.modeling.tool.MainXCluster.main(MainXCluster.java:121)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message