Return-Path: X-Original-To: apmail-poi-user-archive@www.apache.org Delivered-To: apmail-poi-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AC5919EE2 for ; Wed, 5 Oct 2011 13:47:12 +0000 (UTC) Received: (qmail 83345 invoked by uid 500); 5 Oct 2011 13:47:12 -0000 Delivered-To: apmail-poi-user-archive@poi.apache.org Received: (qmail 83324 invoked by uid 500); 5 Oct 2011 13:47:12 -0000 Mailing-List: contact user-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Users List" Delivered-To: mailing list user@poi.apache.org Received: (qmail 83316 invoked by uid 99); 5 Oct 2011 13:47:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2011 13:47:12 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.160.174] (HELO mail-gy0-f174.google.com) (209.85.160.174) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2011 13:47:06 +0000 Received: by gyg10 with SMTP id 10so2047135gyg.33 for ; Wed, 05 Oct 2011 06:46:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.52.5 with SMTP id z5mr2196133ybz.174.1317822404223; Wed, 05 Oct 2011 06:46:44 -0700 (PDT) Received: by 10.151.108.8 with HTTP; Wed, 5 Oct 2011 06:46:44 -0700 (PDT) In-Reply-To: <1317821782300-4872709.post@n5.nabble.com> References: <1317821782300-4872709.post@n5.nabble.com> Date: Wed, 5 Oct 2011 17:46:44 +0400 Message-ID: Subject: Re: POIXMLException reading xlsx From: Yegor Kozlov To: POI Users List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > > Is upgrading to newer versions of POI the > solution? > It is always worth trying the latest release. POI-3.6 is two years old and many bugs have been fixed since then. Please try the latest 3.8-beta4. Can you reproduce the problem in a isolated environment (outside of Oracle )? Create a simple Java main app that opens the problematic file. In case the problem is still there, please create a bug in Bugzilla and upload a sample file that results in POIXMLException. Yegor > I'd be glad to add any additional information if necessary, and I'm sorry= if > I'm duplicating questions, I was unable to find a solution and I'm new to > this mailig list. > > Best regards, > Davor Dela=C4=8D > > > Exception in thread "Root Thread" org.apache.poi.POIXMLException: > java.lang.reflect.InvocationTargetException > =C2=A0 =C2=A0 =C2=A0 =C2=A0at > org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory.= java:61) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at > org.apache.poi.POIXMLDocumentPart.read(POIXMLDocumentPart.java:256) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.poi.POIXMLDocument.load(POIXMLDo= cument.java:196) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at > org.apache.poi.xssf.usermodel.XSSFWorkbook.(XSSFWorkbook.java:172) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at > org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:6= 3) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at in2.apex_obi.ExcelReader.(in2.apex_ob= i.ExcelReader:22) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at in2.apex_obi.Excel2DB.convert(Excel2DB:8) > Caused by: java.lang.reflect.InvocationTargetException > =C2=A0 =C2=A0 =C2=A0 =C2=A0at sun.reflect.NativeConstructorAccessorImpl.n= ewInstance0(Native > Method) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAc= cessorImpl.java:39) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConst= ructorAccessorImpl.java:27) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at java.lang.reflect.Constructor.newInstance(C= onstructor.java:511) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at > org.apache.poi.xssf.usermodel.XSSFFactory.createDocumentPart(XSSFFactory.= java:59) > =C2=A0 =C2=A0 =C2=A0 =C2=A0... 6 more > Caused by: java.io.IOException: error: Unexpected character encountered (= lex > state 10): '<' > =C2=A0 =C2=A0 =C2=A0 =C2=A0at > org.apache.poi.xssf.model.StylesTable.readFrom(StylesTable.java:134) > =C2=A0 =C2=A0 =C2=A0 =C2=A0at org.apache.poi.xssf.model.StylesTable.(StylesTable.java:91) > =C2=A0 =C2=A0 =C2=A0 =C2=A0... 11 more > > -- > View this message in context: http://apache-poi.1045710.n5.nabble.com/POI= XMLException-reading-xlsx-tp4872709p4872709.html > Sent from the POI - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@poi.apache.org > For additional commands, e-mail: user-help@poi.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@poi.apache.org For additional commands, e-mail: user-help@poi.apache.org