poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carmen Pancerella <car...@ca.sandia.gov>
Subject Re: ArrayIndexOutOfBoundsException when reading custom properties
Date Wed, 05 Apr 2006 15:27:55 GMT
Here is the full trace.

java.lang.ArrayIndexOutOfBoundsException: 8
        at org.apache.poi.util.HexDump.toHex(HexDump.java:406)
        at org.apache.poi.util.HexDump.toHex(HexDump.java:397)
        at
org.apache.poi.hpsf.UnsupportedVariantTypeException.<init>(UnsupportedVariantTypeException.java:46)
        at
org.apache.poi.hpsf.ReadingNotSupportedException.<init>(ReadingNotSupportedException.java:45)
        at org.apache.poi.hpsf.VariantSupport.read(VariantSupport.java:267)
        at org.apache.poi.hpsf.Property.<init>(Property.java:146)
        at org.apache.poi.hpsf.Section.<init>(Section.java:281)
        at org.apache.poi.hpsf.PropertySet.init(PropertySet.java:452)
        at org.apache.poi.hpsf.PropertySet.<init>(PropertySet.java:249)
        at
org.apache.poi.hpsf.PropertySetFactory.create(PropertySetFactory.java:59)
        at
org.scidac.cmcs.apps.mimetypedetermination.excel.ExcelMimeType$MyPOIFSReaderListener.processPOIFSReaderEvent(ExcelMimeType.java:60)
        at
org.apache.poi.poifs.eventfilesystem.POIFSReader.processProperties(POIFSReader.java:260)
        at
org.apache.poi.poifs.eventfilesystem.POIFSReader.read(POIFSReader.java:96)
        at
org.scidac.cmcs.apps.mimetypedetermination.excel.ExcelMimeType.GetMimeType(ExcelMimeType.java:37)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.scidac.sam.util.SAMUtil.performTransformation(SAMUtil.java:955)
       at
org.apache.slide.webdav.method.AbstractWebdavMethod.getTransformedContent(AbstractWebdavMethod.java:1393)
        at
org.apache.slide.webdav.method.AbstractWebdavMethod.getTransformedContent(AbstractWebdavMethod.java:1338)
        at
org.apache.slide.webdav.method.PutMethod.getContentType(PutMethod.java:705)
        at
org.apache.slide.webdav.method.PutMethod.executeRequest(PutMethod.java:457)
        at
org.apache.slide.webdav.method.AbstractWebdavMethod.run(AbstractWebdavMethod.java:483)
        at
org.apache.slide.webdav.WebdavServlet.service(WebdavServlet.java:358)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at
org.apache.slide.webdav.filter.LogFilter.doFilter(LogFilter.java:141)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at
org.scidac.sam.security.filter.AuthenticationFilterBase.doFilter(AuthenticationFilterBase.java:79)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
       at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
       at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
        at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
        at java.lang.Thread.run(Thread.java:534)

> 
> Am Montag, den 03.04.2006, 10:41 -0700 schrieb Carmen Pancerella:
> > This is being thrown in the POI code -- Line 68 is simply the=20
> > catch(Exception ex) that throws it back from the Listener-- this=20
> > exception is caught with this code:
> 
> Ah, okay. So you should provide the stacktrace of the original
> exception, not of the encapsulating one.
> 
> Best regards
> Rainer Klute
> 
>                            Rainer Klute IT-Consulting GmbH
>   Dipl.-Inform.
>   Rainer Klute             E-Mail:  klute@rainer-klute.de
>   K=C3=B6rner Grund 24          Telefon: +49 172 2324824
> D-44143 Dortmund           Telefax: +49 231 5349423
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Mime
View raw message