Return-Path: X-Original-To: apmail-poi-dev-archive@www.apache.org Delivered-To: apmail-poi-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5DE9F11072 for ; Mon, 5 May 2014 17:02:43 +0000 (UTC) Received: (qmail 42233 invoked by uid 500); 5 May 2014 17:02:42 -0000 Delivered-To: apmail-poi-dev-archive@poi.apache.org Received: (qmail 42209 invoked by uid 500); 5 May 2014 17:02:42 -0000 Mailing-List: contact dev-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Developers List" Delivered-To: mailing list dev@poi.apache.org Received: (qmail 42200 invoked by uid 99); 5 May 2014 17:02:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2014 17:02:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2014 17:02:41 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id 58CA01BF28; Mon, 5 May 2014 17:02:21 +0000 (UTC) From: bugzilla@apache.org To: dev@poi.apache.org Subject: [Bug 56490] When trying to open xlsx file exported from a tool, null pointer exception Date: Mon, 05 May 2014 17:02:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: POI X-Bugzilla-Component: XSSF X-Bugzilla-Version: 3.10 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: baddamsravanthi@gmail.com X-Bugzilla-Status: NEEDINFO X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@poi.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=56490 --- Comment #2 from sam --- Exception in thread "main" java.lang.NullPointerException at org.apache.poi.xssf.usermodel.XSSFWorkbook.onDocumentRead(XSSFWorkbook.java:284) at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:159) at org.apache.poi.xssf.usermodel.XSSFWorkbook.(XSSFWorkbook.java:221) at CompareData.Compare_Data.read_file(Compare_Data.java:68) at CompareData.Compare_Data.main(Compare_Data.java:50) Line 67-69: FileInputStream fileIn2 = new FileInputStream(fn); XSSFWorkbook filename2 = new XSSFWorkbook(fileIn2); XSSFSheet sheet1 = filename2.getSheetAt(0); -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org For additional commands, e-mail: dev-help@poi.apache.org