Skip to main content

Unit test error while building jdnc-0_6-2004_12_02 source

No replies
Anonymous

I was trying to build the jdnc 0.6-2004-12-02 sources and i got this
error while it was running the test:

[junit] Testcase:
testDateConverter(org.jdesktop.swing.data.ConvertersUnitTe
st): Caused an ERROR
[junit] Error converting to java.util.Date Object: 30 Sep 65 12:01:01
[junit] java.lang.RuntimeException: Error converting to
java.util.Date Objec
t: 30 Sep 65 12:01:01
[junit] at
org.jdesktop.swing.data.ConvertersUnitTest.testConverter(Conv
ertersUnitTest.java:305)
[junit] at
org.jdesktop.swing.data.ConvertersUnitTest.testDateConverter(
ConvertersUnitTest.java:182)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[junit] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[junit] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
[junit] Caused by: org.jdesktop.swing.data.ConversionException:
could not co
nvert string value "30 Sep 65 12:01:01" to java.util.Date
[junit] at
org.jdesktop.swing.data.Converters$DateConverter.decode(Conve
rters.java:379)
[junit] at
org.jdesktop.swing.data.ConvertersUnitTest.testConverter(Conv
ertersUnitTest.java:301)
[junit] ... 16 more
[junit] Caused by: java.text.ParseException: Unparseable date: "30
Sep 65 12
:01:01"
[junit] at java.text.DateFormat.parse(DateFormat.java:335)
[junit] at
org.jdesktop.swing.data.Converters$DateConverter.decode(Conve
rters.java:376)
[junit] ... 17 more

The test continues executing after this, but a few test after it freezes.

Any sugestions?

Thanks,
Ricardo Lopes.

---------------------------------------------------------------------
To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
For additional commands, e-mail: jdnc-help@jdnc.dev.java.net