Bug#300388: libxml-commons-resolver1.1-java: FTBFS: NullPointerException
Wolfgang Baer
Wolfgang Baer <WBaer@gmx.de>, 300388@bugs.debian.org
Sat Mar 19 11:11:03 2005
Hi Grzegorz,
Grzegorz B. Prokopski wrote:
> Hi,
>
> That was an issue with setting default locales, and is already fixed
> in unstable (fix will be propagated into testing soon). Please just try
> to use ANT with this version and everything should be all right. Or
> actually you don't need to do anything :-)
Well there was something fixed with an NMU and it has already propagated
to testing - but it didn't fix the sablevm ant interaction problem.
I am running uptodate unstable and everytime i try to build a package
with ant and sablevm I run in this problem - for example bsh-1.3.0 with
sablevm in the clean target:
java.lang.NullPointerException
at java.text.DecimalFormatSymbols.setCurrency
(DecimalFormatSymbols.java:397)
at java.text.DecimalFormatSymbols.DecimalFormatSymbols
(DecimalFormatSymbols.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.java: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)
The problem is also reported as bug #293509 on sablevm. The FTBS of
libcommons-jexl-java is also the same error (#299125). Although marked
as done by Arnaud (because of the sablevm-classlib NMU) it does FTBS
for me (just tried).
dpkg -l | grep sablevm
ii libsablevm-classlib 1.1.9.dfsg1-0.1
ii libsablevm-native1 1.1.9.dfsg1-0.1
ii libsablevm1 1.1.9-1
ii sablevm 1.1.9-1
Are you planning to make a package of the 1.11.1 release ? I hope this
release will fix all the FTBS bugs against the packages build with ant /
sablevm combination.
Grzergorz, if I can help you with testing a new sablevm package send
me an email.
Regards,
Wolfgang