Bug#470439: libjakarta-poi-java: FTBFS: libjakarta-poi-java-3.0.2.dfsg/build.xml:393: java.lang.NullPointerException

Varun Hiremath varunhiremath at gmail.com
Tue Mar 11 18:32:59 UTC 2008


Hi Lucas,

On Tue, 11 Mar, 2008 at 10:13:46AM +0100, Lucas Nussbaum wrote:
> Package: libjakarta-poi-java
> Version: 3.0.2.dfsg-1
> Severity: serious
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20080310 qa-ftbfs
> Justification: FTBFS on i386
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build on i386.
> 
> Relevant part:
> > make[1]: Entering directory `/build/user/libjakarta-poi-java-3.0.2.dfsg'
> > make[1]: Nothing to be done for `update-config'.
> > make[1]: Leaving directory `/build/user/libjakarta-poi-java-3.0.2.dfsg'
> > cd . && /usr/lib/jvm/java-gcj/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-junit.jar:/usr/share/java/junit.jar:/usr/share/java/xalan2.jar:/usr/lib/jvm/java-gcj/lib/tools.jar  -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true    -propertyfile /build/user/libjakarta-poi-java-3.0.2.dfsg/debian/ant.properties compile jar 
> > Buildfile: build.xml
> > 
> > check-jars:
> > 
> > fetch-jars:
> > 
> > init:
> > 
> > with.clover:
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build/classes
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build/scratchpad-classes
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build/contrib-classes
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build/examples-classes
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build/ooxml-classes
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build/test-classes
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build/contrib-test-classes
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build/scratchpad-test-classes
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build/ooxml-test-classes
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build/test-results
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build/scratchpad-test-results
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build/contrib-test-results
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build/ooxml-test-results
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build/tmp/site/build/site/junit
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build/tmp/site/build/site/jdepend
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build/tmp/site/src/documentation/content/jdepend
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build/tmp/site/build/site/apidocs
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build/dist
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build/maven-dist
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build/maven-dist/poi
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build/maven-dist/poi/poms
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build/maven-dist/org.apache.poi
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build/maven-dist/org.apache.poi/jars
> >     [mkdir] Created dir: /build/user/libjakarta-poi-java-3.0.2.dfsg/build/maven-dist/org.apache.poi/poms
> >      [copy] Copying 241 files to /build/user/libjakarta-poi-java-3.0.2.dfsg/build/tmp/site/src/documentation
> >      [copy] Copying 1 file to /build/user/libjakarta-poi-java-3.0.2.dfsg/build/tmp/site
> > 
> > fail-unless-xslt-is-available:
> > 
> > fail-xslt:
> > 
> > compile-main:
> >      [copy] Copying 1 file to /build/user/libjakarta-poi-java-3.0.2.dfsg/build/classes
> >     [javac] Compiling 455 source files to /build/user/libjakarta-poi-java-3.0.2.dfsg/build/classes
> >     [javac] ----------
> >     [javac] 1. WARNING in /build/user/libjakarta-poi-java-3.0.2.dfsg/src/java/org/apache/poi/ddf/EscherArrayProperty.java (at line 174)
> >     [javac] 	short numReserved = LittleEndian.getShort(data, offset + 2);
> >     [javac] 	      ^^^^^^^^^^^
> >     [javac] The local variable numReserved is never read
> >     [javac] ----------
> >     [javac] ----------
[snip]

> >     [javac] 262. WARNING in /build/user/libjakarta-poi-java-3.0.2.dfsg/src/testcases/org/apache/poi/util/TestLittleEndian.java (at line 138)
> >     [javac] 	byte b = data[i];
> >     [javac] 	     ^
> >     [javac] The local variable b is never read
> >     [javac] ----------
> > 
> > BUILD FAILED
> > /build/user/libjakarta-poi-java-3.0.2.dfsg/build.xml:393: java.lang.NullPointerException
> > 
> > Total time: 19 seconds
> > make: *** [debian/stamp-ant-build] Error 1
> 
> The full build log is available from:
>    http://people.debian.org/~lucas/logs/2008/03/10

Thanks for the report, but I can't reproduce this bug [1]. Could you
please try to build this package again?

Thanks
Varun

[1]: http://people.debian.org/~varun/libjakarta-poi-java_3.0.2.dfsg-1_i386.build

-- 
Varun Hiremath
Undergraduate Student,
Aerospace Engineering Department,
Indian Institute of Technology Madras,
Chennai, India
-------------------------------------
Homepage: http://varun.travisbsd.org





More information about the pkg-java-maintainers mailing list