Uploaded image for project: 'XWork'
  1. XWork
  2. XW-639

latest trunk does not build on Leopard with Java 6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.1.2
    • 2.1.2
    • None
    • None
    • Important

    Description

      Could not parse date - Class: java.text.DateFormat

      File: DateFormat.java

      Method: parse

      Line: 337 - java/text/DateFormat.java:337:-1

      at com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter.doConvertToDate(XWorkBasicConverter.java:381)

      at com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter.convertValue(XWorkBasicConverter.java:117)

      at com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter.convertValue(XWorkBasicConverter.java:146)

      at com.opensymphony.xwork2.conversion.impl.XWorkConverter.convertValue(XWorkConverter.java:313)

      at com.opensymphony.xwork2.conversion.impl.AnnotationXWorkConverterTest.testFieldErrorMessageAddedWhenConversionFailsOnModelDriven(AnnotationXWorkConverterTest.java:144)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:552)

      at org.testng.internal.Invoker.invokeMethod(Invoker.java:411)

      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:785)

      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:114)

      at org.testng.TestRunner.privateRun(TestRunner.java:693)

      at org.testng.TestRunner.run(TestRunner.java:574)

      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:241)

      at org.testng.SuiteRunner.run(SuiteRunner.java:145)

      at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:901)

      at org.testng.TestNG.runSuitesLocally(TestNG.java:863)

      at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeTestNG(TestNGDirectoryTestSuite.java:195)

      at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:133)

      at org.apache.maven.surefire.Surefire.run(Surefire.java:132)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)

      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)

      Caused by: java.text.ParseException: Unparseable date: "invalid date"

      at java.text.DateFormat.parse(DateFormat.java:337)

      at com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter.doConvertToDate(XWorkBasicConverter.java:371)

      ... 27 more

      Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.174 sec

      Running com.opensymphony.xwork2.TestNGXWorkTestCaseTest$RunTest

      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec

      Running com.opensymphony.xwork2.validator.URLValidatorTest

      Jun 10, 2008 4:01:09 PM com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn

      WARNING: Could not find property [testingUrl1]

      Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 sec

      Results :

      Failed tests:

      testParseValidators(com.opensymphony.xwork2.validator.DefaultValidatorFactoryTest)

      testProxiedActionIsNotStateful(com.opensymphony.xwork2.spring.ActionsFromSpringTest)

      testAutoProxiedAction(com.opensymphony.xwork2.spring.ActionsFromSpringTest)

      Tests run: 596, Failures: 3, Errors: 0, Skipped: 0

      [INFO] ------------------------------------------------------------------------

      [ERROR] BUILD FAILURE

      [INFO] ------------------------------------------------------------------------

      Attachments

        Activity

          People

            rainerh Rainer Hermanns
            paul Paul Hammant
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: