jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Cartia <mario.car...@gmail.com>
Subject importXML causes java.lang.ArrayIndexOutOfBoundsException
Date Wed, 29 May 2013 11:20:19 GMT
Hi all,
I'm trying to import an XML file generated using session.exportSystemView()
containing binary files and metadata but encountered:
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
 at
org.apache.jackrabbit.jcr2spi.xml.TargetImportHandler$BufferedStringValue.append(TargetImportHandler.java:330)
at
org.apache.jackrabbit.jcr2spi.xml.SysViewImportHandler.characters(SysViewImportHandler.java:204)
 at
org.apache.jackrabbit.jcr2spi.xml.ImportHandler.characters(ImportHandler.java:262)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.characters(AbstractSAXParser.java:538)
 at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:463)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
 at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
 at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
 at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
at org.apache.jackrabbit.jcr2spi.SessionImpl.importXML(SessionImpl.java:398)

I've tried using:
- Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
under MacOSX

and
- Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
- Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
under Linux CentOS 5.2

any ideas?

Best regards,
Mario Cartia

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message