[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#487547: libgcj9-0: Null Pointer Exception in Datum constructor

Package: libgcj9-0
Version: 4.3.1-2
Severity: normal

= cat DatumBug.java
// DatumBug.java        20080622        NHA
// Demonstrate bug in gij-4.3

final class DatumBug
    public static void main (String args[])
        Datum date = new Datum();
    }                                           //DatumBug.main()
}                                               //DatumBug
= javac DatumBug.java
= /usr/bin/gij-4.3 DatumBug
Exception in thread "main" java.lang.ExceptionInInitializerError
   at java.lang.Class.initializeClass(libgcj.so.90)
   at DatumBug.main(DatumBug.java:8)
Caused by: java.lang.NullPointerException
   at java.util.TimeZone.setID(libgcj.so.90)
   at java.util.SimpleTimeZone.<init>(libgcj.so.90)
   at Datum.<clinit>(Datum.java:41)
   at java.lang.Class.initializeClass(libgcj.so.90)
   ...1 more

-- System Information:
Debian Release: lenny/sid
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages libgcj9-0 depends on:
ii  gcj-4.3-base           4.3.1-2           The GNU Compiler Collection (gcj b
ii  libasound2             1.0.16-2          ALSA library
ii  libc6                  2.7-10            GNU C Library: Shared libraries
ii  libgcc1                1:4.3.0-5         GCC support library
ii  libgcj-common          1:4.3.0-7         Java runtime library (common files
ii  zlib1g                 1: compression library - runtime

Versions of packages libgcj9-0 recommends:
ii  libgcj9-0-awt                 4.3.0-3    AWT peer runtime libraries for use
ii  libgcj9-jar                   4.3.0-3    Java runtime library for use with 

-- no debconf information

Reply to: