Return-Path: Delivered-To: apmail-jakarta-poi-user-archive@www.apache.org Received: (qmail 50816 invoked from network); 12 Jan 2007 18:01:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jan 2007 18:01:52 -0000 Received: (qmail 94134 invoked by uid 500); 12 Jan 2007 18:01:55 -0000 Delivered-To: apmail-jakarta-poi-user-archive@jakarta.apache.org Received: (qmail 94120 invoked by uid 500); 12 Jan 2007 18:01:55 -0000 Mailing-List: contact poi-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "POI Users List" Reply-To: "POI Users List" Delivered-To: mailing list poi-user@jakarta.apache.org Received: (qmail 94088 invoked by uid 99); 12 Jan 2007 18:01:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jan 2007 10:01:55 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [192.68.108.240] (HELO node-a.fstrf.org) (192.68.108.240) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jan 2007 10:01:45 -0800 Received: from moya.fstrf.org (moya-hme1.fstrf.org [192.68.108.67]) by node-a.fstrf.org (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with SMTP id <0JBR006J7OPXHU@node-a.fstrf.org> for poi-user@jakarta.apache.org; Fri, 12 Jan 2007 13:01:24 -0500 (EST) Received: from [10.10.10.174] ([192.68.108.170]) by moya.fstrf.org (SAVSMTP 3.1.7.47) with SMTP id M2007011213012305628 for ; Fri, 12 Jan 2007 13:01:23 -0500 Date: Fri, 12 Jan 2007 13:01:25 -0500 From: "Andrew J. Miller" Subject: WARN. Unread -1 bytes of record 0x7d To: POI Users List Message-id: <45A7CCF5.6000500@fstrf.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Virus-Checked: Checked by ClamAV on apache.org This is more of a request/suggestion than a bug report... The same files that caused the "Worksheet/WORKSHEET" issue a month or two ago (excel files generated by Crystal Reports) also have a bad habit or triggering this println on line 98 of org.apache.poi.hssf.record.RecordInputStream.java (a hundred or so times for the file I am using)... Simply opening the file in excel and re-saving it prevents the issue from returning. The same can be said for files that are modified by POI and saved, the warning goes away... AFAIK, nothing happens outside of one or multiple warnings being printed to the console. The file is still processed and nothing breaks... Outside of the obvious explanation (like "it prints because the booleans are true"), does anyone know why this warning is being thrown? What does it mean and what can a casual POI user like myself do with a file that has a negative amount of unread bytes after the 125th record? Can it be changed to use a logger allowing control of what is printed to a console? I should probably mention that I am using POI 3.0 alpha3 and not the 2.5 release so this just may be a "feature" of the alpha release... Andy --------------------------------------------------------------------- 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/