Bug#300388: libxml-commons-resolver1.1-java: FTBFS: NullPointerException

Mark Wielaard Mark Wielaard <mark@klomp.org>, 300388@bugs.debian.org
Sat Mar 19 09:25:05 2005


--=-9LnCJIRZjDEEV83RhP1D
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi,

On Sat, 2005-03-19 at 15:34 +0100, Michael Koch wrote:
> > java.lang.NullPointerException
> >    at java.text.DecimalFormatSymbols.setCurrency (DecimalFormatSymbols.=
java:397)
> >    at java.text.DecimalFormatSymbols.DecimalFormatSymbols (DecimalForma=
tSymbols.java:151)
> >    at java.text.NumberFormat.computeInstance (NumberFormat.java:327)
> >    at java.text.NumberFormat.getNumberInstance (NumberFormat.java:456)
> >    at java.text.NumberFormat.getInstance (NumberFormat.java:381)
> >    at java.text.MessageFormatElement.setLocale (MessageFormat.java:90)
> >    at java.text.MessageFormat.scanFormat (MessageFormat.java:314)
> >    at java.text.MessageFormat.applyPattern (MessageFormat.java:335)
> >    at java.text.MessageFormat.formatInternal (MessageFormat.java:465)
> >    at java.text.MessageFormat.format (MessageFormat.java:403)
> >    at java.text.MessageFormat.format (MessageFormat.java:518)
> >    at java.text.Format.format (Format.java:101)
> >    at org.apache.tools.ant.util.DateUtils.formatElapsedTime (DateUtils.=
java:132)
> >    at org.apache.tools.ant.DefaultLogger.formatTime (DefaultLogger.java=
:276)
> >    at org.apache.tools.ant.DefaultLogger.buildFinished (DefaultLogger.j=
ava:156)
> >    at org.apache.tools.ant.Project.fireBuildFinished (Project.java:1796=
)
> >    at org.apache.tools.ant.Main.runBuild (Main.java:693)
> >    at org.apache.tools.ant.Main.startAnt (Main.java:188)
> >    at org.apache.tools.ant.Main.start (Main.java:151)
> >    at org.apache.tools.ant.Main.main (Main.java:241)
> >    at java.lang.VirtualMachine.invokeMain (VirtualMachine.java)
> >    at java.lang.VirtualMachine.main (VirtualMachine.java:108)
> > make: *** [debian/stamp-ant-build] Error 1
>=20
> This is a well known problem in sablevm. We should consider switching to
> another VM for building. kaffe has some problems too but they only get
> triggered by a small part of the packages. This bug get triggered always
> when using sablevm together with ant.

The above issue will probably be solved in an upcoming sablevm release.
They often ship with untested GNU Classpath CVS snapshots which they
call sablevm-classpath. The above was a small bug we fixed before the
official GNU Classpath release. Apparently it is possible to make
sablevm use stable well tested GNU Classpath releases.
http://sablevm.org/lists/sablevm-devel/2004-November/000223.html
It would be a good idea to fix the sablevm packages so they use this
option by default in Debian against the latest official classpath
package to prevent hitting these kind of bugs in unreleased/untested
sablevm-classpath drops.

Cheers,

Mark
--=20
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/

--=-9LnCJIRZjDEEV83RhP1D
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBCPE8pxVhZCJWr9QwRAlnVAJ9BiTpnfi5XagpWtiZQCMASYqNetwCfVJlh
ztk0BaEzmu/5MLIyThxYLNs=
=mE5/
-----END PGP SIGNATURE-----

--=-9LnCJIRZjDEEV83RhP1D--