Return-Path: Delivered-To: apmail-poi-user-archive@www.apache.org Received: (qmail 49476 invoked from network); 1 Dec 2009 18:18:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Dec 2009 18:18:47 -0000 Received: (qmail 96390 invoked by uid 500); 1 Dec 2009 18:18:46 -0000 Delivered-To: apmail-poi-user-archive@poi.apache.org Received: (qmail 96372 invoked by uid 500); 1 Dec 2009 18:18:46 -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 96362 invoked by uid 99); 1 Dec 2009 18:18:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 18:18:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ambutnaru@gmail.com designates 209.85.219.225 as permitted sender) Received: from [209.85.219.225] (HELO mail-ew0-f225.google.com) (209.85.219.225) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 18:18:35 +0000 Received: by ewy25 with SMTP id 25so5909450ewy.5 for ; Tue, 01 Dec 2009 10:18:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=/mUMtYbDv4iL0PgNK1M0F5G7K7XL0t+YqWgvnumTa6s=; b=fl6Uu1dmB6IwB4x0uaKRSzdAqEDUaTOyl0IgZXhdbjJtgleWdWWIuKG8/x+BgKXo6s XokGsG+engPnGMVj8PR39wJCndyChsdDoKJ7GD3lciTRRYcDiIxPgKkB1T/tWBjtVKHd lXaFJz4mPeBp4cJRWQtMD6lQQHCH91TtSaQ4c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=NVnaSRFHFh6jp5WYKc0FCAC6D1W8Lf44pVKympXs/r2VeyS+k1L8KIrgdlUKyInf3N suA9R6NnNqoLI2UBbnXvUIG3ABoy/5LClDV8WyY8VbcHhO/EgRz9TE7h85QemiI9HINv 8IMmbNQkoPfb/D4BsrrxSexgpjlzH3I+h1a50= Received: by 10.213.23.137 with SMTP id r9mr6346115ebb.34.1259691494785; Tue, 01 Dec 2009 10:18:14 -0800 (PST) Received: from ?192.168.1.5? (dhcp-095-096-179-015.chello.nl [95.96.179.15]) by mx.google.com with ESMTPS id 24sm1097637eyx.38.2009.12.01.10.18.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 01 Dec 2009 10:18:13 -0800 (PST) Message-ID: <4B155DE8.80505@gmail.com> Date: Tue, 01 Dec 2009 19:18:16 +0100 From: Adrian Butnaru User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: POI Users List Subject: Re: INDIRECT function References: <4B141120.6080605@gmail.com> <4B141A33.6000402@gmail.com> <4B1424E2.4030703@gmail.com> <4B14D1DA.90907@gmail.com> <4B1555C0.1030403@gmail.com> <4B1559CF.7020500@dinom.ru> In-Reply-To: <4B1559CF.7020500@dinom.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Strange enough this is the output: file:/C:/Program%20Files/Java/jdk1.6.0_03/jre/lib/ext/poi-3.5-beta4-20081128/ but this path is not existing! Yegor Kozlov schreef: > Execute the following code: > > URL url = > HSSFWorkbook.class.getProtectionDomain().getCodeSource().getLocation(); > System.out.println(url); > > it will print the path to the POI jar. > > nightly builds can be downloaded from > http://encore.torchbox.com/poi-svn-build/ > > Yegor > >> Your prediction is good. >> >> This was the output: >> Wrong result type - got 5errCode=-30 >> But how can I get rhe newest poi jar file? >> I downloaded the one I am using >> >> POI-3.5-FINAL-20090928.jar >> >> from POI website. >> >> >> >> >> Josh Micich schreef: >>>> I am using POI-3.5-FINAL-20090928.jar. >>>> >>> There's a high chance you're not. >>> >>> You can also dump the error code to help diagnose the problem. >>> Change this line: >>> System.err.println("Wrong result type - got " + cv.getCellType() + " >>> errCode=" + cv.getErrorValue()); >>> >>> I predict the error code will be -30. Which will mean you are using a >>> version of POI prior to 3.5-beta4 >>> >>> If I am mistaken, another thing you can try is to put a breakpoint in >>> Indirect.java:76, to confirm whether execution gets there. You can >>> also look around the variables in the stack frame which might help >>> explain what is going wrong. >>> >>> --------------------------------------------------------------------- >>> 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 >> >> > > > --------------------------------------------------------------------- > 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