Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Smooks v1.0
    • Fix Version/s: Smooks v1.1
    • Component/s: Smooks Core
    • Labels:
      None
    • Environment:
      Java 6.0
    • Number of attachments :
      0

      Description

      Smooks does not currently support Java 6.0, but it should.

        Activity

        Hide
        Maurice Zeijen added a comment -

        I tested Smooks with Java 6.0 again and I got the following failure list in smooks-core:

        milyn-smooks-core

        org.milyn.delivery.sax.SAXFilterTest\

        test_reader_writer(org.milyn.delivery.sax.SAXFilterTest)
        junit.framework.ComparisonFailure: null expected:<...-><h> Some text... &[amp; ... <] ...<i><Unable to render embedded object: File (<...-><h> Some text... &[ ... <] ...<i><) not found.[CDATA[cdat...>
        at junit.framework.Assert.assertEquals(Assert.java:81)
        at junit.framework.Assert.assertEquals(Assert.java:87)
        at org.milyn.delivery.sax.SAXFilterTest.test_reader_writer(SAXFilterTest.java:41)
        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 junit.framework.TestCase.runTest(TestCase.java:168)
        at junit.framework.TestCase.runBare(TestCase.java:134)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at junit.framework.TestSuite.runTest(TestSuite.java:232)
        at junit.framework.TestSuite.run(TestSuite.java:227)
        at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
        at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45)
        at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

        test_reader_stream(org.milyn.delivery.sax.SAXFilterTest)
        junit.framework.ComparisonFailure: null expected:<...-><h> Some text... &[amp; ... <] ...<i><Unable to render embedded object: File (<...-><h> Some text... &[ ... <] ...<i><) not found.[CDATA[cdat...>
        at junit.framework.Assert.assertEquals(Assert.java:81)
        at junit.framework.Assert.assertEquals(Assert.java:87)
        at org.milyn.delivery.sax.SAXFilterTest.test_reader_stream(SAXFilterTest.java:51)
        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 junit.framework.TestCase.runTest(TestCase.java:168)
        at junit.framework.TestCase.runBare(TestCase.java:134)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at junit.framework.TestSuite.runTest(TestSuite.java:232)
        at junit.framework.TestSuite.run(TestSuite.java:227)
        at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
        at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45)
        at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

        test_stream_stream(org.milyn.delivery.sax.SAXFilterTest)
        junit.framework.ComparisonFailure: null expected:<...-><h> Some text... &[amp; ... <] ...<i><Unable to render embedded object: File (<...-><h> Some text... &[ ... <] ...<i><) not found.[CDATA[cdat...>
        at junit.framework.Assert.assertEquals(Assert.java:81)
        at junit.framework.Assert.assertEquals(Assert.java:87)
        at org.milyn.delivery.sax.SAXFilterTest.test_stream_stream(SAXFilterTest.java:61)
        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 junit.framework.TestCase.runTest(TestCase.java:168)
        at junit.framework.TestCase.runBare(TestCase.java:134)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at junit.framework.TestSuite.runTest(TestSuite.java:232)
        at junit.framework.TestSuite.run(TestSuite.java:227)
        at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
        at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45)
        at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

        test_stream_writer(org.milyn.delivery.sax.SAXFilterTest)
        junit.framework.ComparisonFailure: null expected:<...-><h> Some text... &[amp; ... <] ...<i><Unable to render embedded object: File (<...-><h> Some text... &[ ... <] ...<i><) not found.[CDATA[cdat...>
        at junit.framework.Assert.assertEquals(Assert.java:81)
        at junit.framework.Assert.assertEquals(Assert.java:87)
        at org.milyn.delivery.sax.SAXFilterTest.test_stream_writer(SAXFilterTest.java:71)
        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 junit.framework.TestCase.runTest(TestCase.java:168)
        at junit.framework.TestCase.runBare(TestCase.java:134)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at junit.framework.TestSuite.runTest(TestSuite.java:232)
        at junit.framework.TestSuite.run(TestSuite.java:227)
        at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
        at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45)
        at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

        test_selection(org.milyn.delivery.sax.SAXFilterTest)
        junit.framework.AssertionFailedError: expected:<7> but was:<6>
        at junit.framework.Assert.fail(Assert.java:47)
        at junit.framework.Assert.failNotEquals(Assert.java:277)
        at junit.framework.Assert.assertEquals(Assert.java:64)
        at junit.framework.Assert.assertEquals(Assert.java:195)
        at junit.framework.Assert.assertEquals(Assert.java:201)
        at org.milyn.delivery.sax.SAXFilterTest.test_selection(SAXFilterTest.java:113)
        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 junit.framework.TestCase.runTest(TestCase.java:168)
        at junit.framework.TestCase.runBare(TestCase.java:134)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at junit.framework.TestSuite.runTest(TestSuite.java:232)
        at junit.framework.TestSuite.run(TestSuite.java:227)
        at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
        at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45)
        at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

        org.milyn.SmooksTest

        test_setClassPath(org.milyn.SmooksTest)
        junit.framework.AssertionFailedError: null
        at junit.framework.Assert.fail(Assert.java:47)
        at junit.framework.Assert.assertTrue(Assert.java:20)
        at junit.framework.Assert.assertTrue(Assert.java:27)
        at org.milyn.SmooksTest.test_setClassPath(SmooksTest.java:100)
        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 junit.framework.TestCase.runTest(TestCase.java:168)
        at junit.framework.TestCase.runBare(TestCase.java:134)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at junit.framework.TestSuite.runTest(TestSuite.java:232)
        at junit.framework.TestSuite.run(TestSuite.java:227)
        at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
        at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45)
        at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

        Show
        Maurice Zeijen added a comment - I tested Smooks with Java 6.0 again and I got the following failure list in smooks-core: milyn-smooks-core org.milyn.delivery.sax.SAXFilterTest \ test_reader_writer(org.milyn.delivery.sax.SAXFilterTest) junit.framework.ComparisonFailure: null expected:<...-><h> Some text... & [amp; ... <] ...<i>< Unable to render embedded object: File (<...-><h> Some text... &[ ... <] ...<i><) not found. [CDATA[cdat...> at junit.framework.Assert.assertEquals(Assert.java:81) at junit.framework.Assert.assertEquals(Assert.java:87) at org.milyn.delivery.sax.SAXFilterTest.test_reader_writer(SAXFilterTest.java:41) 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 junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) test_reader_stream(org.milyn.delivery.sax.SAXFilterTest) junit.framework.ComparisonFailure: null expected:<...-><h> Some text... & [amp; ... <] ...<i>< Unable to render embedded object: File (<...-><h> Some text... &[ ... <] ...<i><) not found. [CDATA[cdat...> at junit.framework.Assert.assertEquals(Assert.java:81) at junit.framework.Assert.assertEquals(Assert.java:87) at org.milyn.delivery.sax.SAXFilterTest.test_reader_stream(SAXFilterTest.java:51) 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 junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) test_stream_stream(org.milyn.delivery.sax.SAXFilterTest) junit.framework.ComparisonFailure: null expected:<...-><h> Some text... & [amp; ... <] ...<i>< Unable to render embedded object: File (<...-><h> Some text... &[ ... <] ...<i><) not found. [CDATA[cdat...> at junit.framework.Assert.assertEquals(Assert.java:81) at junit.framework.Assert.assertEquals(Assert.java:87) at org.milyn.delivery.sax.SAXFilterTest.test_stream_stream(SAXFilterTest.java:61) 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 junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) test_stream_writer(org.milyn.delivery.sax.SAXFilterTest) junit.framework.ComparisonFailure: null expected:<...-><h> Some text... & [amp; ... <] ...<i>< Unable to render embedded object: File (<...-><h> Some text... &[ ... <] ...<i><) not found. [CDATA[cdat...> at junit.framework.Assert.assertEquals(Assert.java:81) at junit.framework.Assert.assertEquals(Assert.java:87) at org.milyn.delivery.sax.SAXFilterTest.test_stream_writer(SAXFilterTest.java:71) 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 junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) test_selection(org.milyn.delivery.sax.SAXFilterTest) junit.framework.AssertionFailedError: expected:<7> but was:<6> at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.failNotEquals(Assert.java:277) at junit.framework.Assert.assertEquals(Assert.java:64) at junit.framework.Assert.assertEquals(Assert.java:195) at junit.framework.Assert.assertEquals(Assert.java:201) at org.milyn.delivery.sax.SAXFilterTest.test_selection(SAXFilterTest.java:113) 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 junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) org.milyn.SmooksTest test_setClassPath(org.milyn.SmooksTest) junit.framework.AssertionFailedError: null at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at junit.framework.Assert.assertTrue(Assert.java:27) at org.milyn.SmooksTest.test_setClassPath(SmooksTest.java:100) 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 junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
        Hide
        Daniel Bevenius added a comment -

        This task is somewhat stalled at the moment. We have filed a bugreport on Java 1.6 with regard to the ordering of SAX callbacks which differ between Java 1.5 and Java 1.6.
        The following test class highlight the issue:
        https://svn.codehaus.org/milyn/workspaces/dbevenius/java16/smooks-core/src/test/java/org/milyn/delivery/sax/XmlParserTest.java

        I've tried this Java7 and the behavior is the same as for Java6.
        I'll post a link to the bugreport as soon as it is accepted, or update this Jira with info if it is rejected.

        Show
        Daniel Bevenius added a comment - This task is somewhat stalled at the moment. We have filed a bugreport on Java 1.6 with regard to the ordering of SAX callbacks which differ between Java 1.5 and Java 1.6. The following test class highlight the issue: https://svn.codehaus.org/milyn/workspaces/dbevenius/java16/smooks-core/src/test/java/org/milyn/delivery/sax/XmlParserTest.java I've tried this Java7 and the behavior is the same as for Java6. I'll post a link to the bugreport as soon as it is accepted, or update this Jira with info if it is rejected.
        Hide
        Daniel Bevenius added a comment -

        I've been notified that our bug report has been accepted:
        http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6770436

        We can vote for this bug here:
        http://bugs.sun.com/bugdatabase/addVote.do?bug_id=6770436

        But they said that it might take a day or two to show up using the above url.

        I'll post back when I know more.

        Show
        Daniel Bevenius added a comment - I've been notified that our bug report has been accepted: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6770436 We can vote for this bug here: http://bugs.sun.com/bugdatabase/addVote.do?bug_id=6770436 But they said that it might take a day or two to show up using the above url. I'll post back when I know more.
        Hide
        Tom Fennelly added a comment -

        Nice one Dan. That seems like a major gaf to me. So basically, out of the box, SAX is broken in both Java6 and Java7???

        As far as this issue is concerned we could:

        1. Modify the build dependencies for the module that effected by this to explicitly use a SAX parser that doesn't exhibit this bug.
        2. Document it as a known issue in the User Guide. Actually, maybe we should create a "Known Issues" page on the website and link to it from inside the User Guide.

        I tried voting for that issue and I get an error on that URL.

        Show
        Tom Fennelly added a comment - Nice one Dan. That seems like a major gaf to me. So basically, out of the box, SAX is broken in both Java6 and Java7??? As far as this issue is concerned we could: Modify the build dependencies for the module that effected by this to explicitly use a SAX parser that doesn't exhibit this bug. Document it as a known issue in the User Guide. Actually, maybe we should create a "Known Issues" page on the website and link to it from inside the User Guide. I tried voting for that issue and I get an error on that URL.
        Hide
        Daniel Bevenius added a comment -

        Yeah, it looks like SAX is broken in Java6 and Java7.

        I'll do those that you suggested. Users still might want to build using java6. And I'll document this and create a page named "Known issues" with a little more details in case anyone is interested.

        Yeah, they said that it might take a day or two before the bugs are visible on the their site. I can't access them either.

        Show
        Daniel Bevenius added a comment - Yeah, it looks like SAX is broken in Java6 and Java7. I'll do those that you suggested. Users still might want to build using java6. And I'll document this and create a page named "Known issues" with a little more details in case anyone is interested. Yeah, they said that it might take a day or two before the bugs are visible on the their site. I can't access them either.
        Hide
        Daniel Bevenius added a comment -

        Committed to trunk with revision 915.

        I'll create the wiki page "Know Issues" tomorrow about this with information to users that want/need to run with Java6 or Java7.

        Show
        Daniel Bevenius added a comment - Committed to trunk with revision 915. I'll create the wiki page "Know Issues" tomorrow about this with information to users that want/need to run with Java6 or Java7.
        Hide
        Maurice Zeijen added a comment -

        I have voted for the issue in the Sun Bugtracker.

        Interesting to see that Randall from the JBoss DNA problem encountered it around the same time as we did. They build some kind of fix for it.

        Show
        Maurice Zeijen added a comment - I have voted for the issue in the Sun Bugtracker. Interesting to see that Randall from the JBoss DNA problem encountered it around the same time as we did. They build some kind of fix for it.
        Hide
        Daniel Bevenius added a comment -

        Thanks!

        Yeah, I read that when I was looking for a solution to this problem. I've commented on the JBoss DNA issue (https://jira.jboss.org/jira/browse/DNA-231) just to follow up.

        We created a workaround which would have worked in both cases but still opted not to add that code if this was a bug.

        Show
        Daniel Bevenius added a comment - Thanks! Yeah, I read that when I was looking for a solution to this problem. I've commented on the JBoss DNA issue ( https://jira.jboss.org/jira/browse/DNA-231 ) just to follow up. We created a workaround which would have worked in both cases but still opted not to add that code if this was a bug.
        Hide
        Tom Fennelly added a comment -

        Yeah... I don't think it would be a good idea to start coding around issues like this. If we get it wrong, people will rightly start pointing the finger at Smooks instead of the real bug. Also... when it gets fixed, we'll have to be adding workarounds to the workarounds etc The solution from the users pov is straightforward enough (just add Xerces/whatever to the CP).

        Show
        Tom Fennelly added a comment - Yeah... I don't think it would be a good idea to start coding around issues like this. If we get it wrong, people will rightly start pointing the finger at Smooks instead of the real bug. Also... when it gets fixed, we'll have to be adding workarounds to the workarounds etc The solution from the users pov is straightforward enough (just add Xerces/whatever to the CP).

          People

          • Assignee:
            Daniel Bevenius
            Reporter:
            Maurice Zeijen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: