bug-classpath
[Top][All Lists]
Advanced

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

[Bug classpath/22836] java.text.SimpleDateFormat.parse() throws NullPoin


From: gcc-bugzilla at gcc dot gnu dot org
Subject: [Bug classpath/22836] java.text.SimpleDateFormat.parse() throws NullPointerException
Date: 16 Oct 2005 01:27:24 -0000

The attached example gives the following exception trace:

java.lang.NullPointerException
   at java.lang.String.startsWith (String.java:805)
   at java.text.SimpleDateFormat.parse (SimpleDateFormat.java:804)
   at java.text.DateFormat.parse (DateFormat.java:597)
   at Test.main (Test.java:13)

(Thanks to Sven de Marothy for supplying the testcase.)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22836





reply via email to

[Prev in Thread] Current Thread [Next in Thread]