You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Robert Paris <rp...@hotmail.com> on 2004/01/07 19:05:25 UTC
Problem running HWPF build from CVS
I'm not sure if I built anything incorrectly, but I ran task "compile" from
ant on the source I got through CVS. When I attempted to run the test
(method "main" in HWPFDocument.class) I got the following error:
java.lang.NullPointerException
at org.apache.poi.util.LittleEndian.putNumber(LittleEndian.java:549)
at org.apache.poi.util.LittleEndian.putShort(LittleEndian.java:282)
at org.apache.poi.hwpf.sprm.SprmUtils.addSprm(SprmUtils.java:121)
at
org.apache.poi.hwpf.sprm.CharacterSprmCompressor.compressCharacterProperty(CharacterSprmCompressor.java:240)
at org.apache.poi.hwpf.Range.insertBefore(Range.java:216)
at org.apache.poi.hwpf.HWPFDocument.main(HWPFDocument.java:337)
Am I simply using the wrong test? Did I build a non-stable version?
Thanks!
_________________________________________________________________
Expand your wine savvy and get some great new recipes at MSN Wine.
http://wine.msn.com
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org
Re: Problem running HWPF build from CVS
Posted by Ryan Ackley <sa...@cfl.rr.com>.
Last time I updated CVS, I forgot a file, I always do that. Thanks for
taking the time to try to run the example. I committed the file so it should
be fixed now. Let me know if it isn't.
-Ryan
----- Original Message -----
From: "Robert Paris" <rp...@hotmail.com>
To: <po...@jakarta.apache.org>
Sent: Wednesday, January 07, 2004 1:05 PM
Subject: Problem running HWPF build from CVS
> I'm not sure if I built anything incorrectly, but I ran task "compile"
from
> ant on the source I got through CVS. When I attempted to run the test
> (method "main" in HWPFDocument.class) I got the following error:
>
> java.lang.NullPointerException
> at
org.apache.poi.util.LittleEndian.putNumber(LittleEndian.java:549)
> at
org.apache.poi.util.LittleEndian.putShort(LittleEndian.java:282)
> at org.apache.poi.hwpf.sprm.SprmUtils.addSprm(SprmUtils.java:121)
> at
>
org.apache.poi.hwpf.sprm.CharacterSprmCompressor.compressCharacterProperty(C
haracterSprmCompressor.java:240)
> at org.apache.poi.hwpf.Range.insertBefore(Range.java:216)
> at org.apache.poi.hwpf.HWPFDocument.main(HWPFDocument.java:337)
>
> Am I simply using the wrong test? Did I build a non-stable version?
>
> Thanks!
>
> _________________________________________________________________
> Expand your wine savvy - and get some great new recipes - at MSN Wine.
> http://wine.msn.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-dev-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org