|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
HELP: exorcist gives an ArrayIndexOutOfBoundsExceptionI'm trying to export a website in order to move it to the production environment. Each time there is an attachement somewhere exorcist stops to an ArrayIndexOutOfBoundsException. I'm using exorcist exorcist-1.0-beta-3 and java 1.4.2. Exorcist was compiled from source by using 'maven dist'. The setup I'm using is below: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> <beans> <bean id="exporter" class="net.sf.exorcist.midgard.MidgardExporter"> <property name="sitegroup" value="2"/> <property name="filepath" value="/var/lib/midgard/blobs/midgard/"/> <property name="database" value="jdbc:mysql://127.0.0.1/midgard?useUnicode=true&characterEncoding= UTF-8"/> <property name="username" value="midgard"/> <property name="password" value="midgard"/> </bean> <bean id="converter" class="net.sf.exorcist.core.NoOpProcessor"/> <bean id="importer" class="net.sf.exorcist.xml.XmlImporter"> <property name="xmlFile" value="exorcist_dump.xml"/> </bean> </beans> ...and the exception is: 3.1.2006 23:59:47 net.sf.exorcist.midgard.MidgardExporter exportParameters INFO: Exporting parameter 93bdc090c32c1a50df78895dc3396b76 3.1.2006 23:59:47 net.sf.exorcist.midgard.MidgardExporter exportParameters INFO: Exporting parameter f50aab338a31349cb0e867c3fa73c9ba 3.1.2006 23:59:47 net.sf.exorcist.midgard.MidgardExporter exportParameters INFO: Exporting parameter 2ec328ff091e6b5fec909e8f29302437 Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -2 at net.sf.exorcist.api.HashStream.close(HashStream.java:122) at net.sf.exorcist.api.AttachmentStream.close(AttachmentStream.java:105) at net.sf.exorcist.tree.FileContentTree$1.close(FileContentTree.java:117) at net.sf.exorcist.tree.StreamContentTree.setAttachmentStream(StreamContentTree .java:238) at net.sf.exorcist.midgard.MidgardExporter.exportAttachments(MidgardExporter.ja va:392) at net.sf.exorcist.midgard.MidgardExporter.exportAll(MidgardExporter.java:234) at net.sf.exorcist.midgard.MidgardExporter.processContent(MidgardExporter.java: 159) at net.sf.exorcist.core.Exorcist.main(Exorcist.java:52) Does anyone know a good workaround for this? Is it possible that this would have something to do with jcr-1.0.jar because I just downloaded a one that I could find with google and placed it into my Maven repository. Seppo --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@... For additional commands, e-mail: user-help@... |
|
|
Re: HELP: exorcist gives an ArrayIndexOutOfBoundsExceptionHi,
On 1/4/06, Seppo Sahi <seppo.sahi@...> wrote: > I'm trying to export a website in order to move it to the production > environment. Each time there is an attachement somewhere exorcist stops to > an ArrayIndexOutOfBoundsException. The stack trace suggests that you're using the CVS HEAD version. I'm working on some major performance and memory footprint optimization that cause the CVS HEAD to be somewhat unstable. I just posted a stable 1.0 release from the pre-optimized code tree, and will focus on a 1.1 release with the optimizations. You'll find the 1.0 release on the SourceForge file release system. BR, Jukka Zitting -- Yukatan - http://yukatan.fi/ - info@... Software craftmanship, JCR consulting, and Java development |
|
|
RE: HELP: exorcist gives an ArrayIndexOutOfBoundsException> The stack trace suggests that you're using the CVS HEAD > version. I'm working on some major performance and memory > footprint optimization that cause the CVS HEAD to be somewhat > unstable. > > I just posted a stable 1.0 release from the pre-optimized > code tree, and will focus on a 1.1 release with the > optimizations. You'll find the 1.0 release on the SourceForge > file release system. > > BR, > > Jukka Zitting You were right. I was using the CVS HEAD version. Now everything works fine (at least no exceptions). Thank you! - seppo --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@... For additional commands, e-mail: user-help@... |
| Free embeddable forum powered by Nabble | Forum Help |