You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Leonard Broman (JIRA)" <ji...@apache.org> on 2012/05/03 20:44:50 UTC

[jira] [Created] (WW-3808) First run test in portlet app always fails on JDK7

Leonard Broman created WW-3808:
----------------------------------

             Summary: First run test in portlet app always fails on JDK7
                 Key: WW-3808
                 URL: https://issues.apache.org/jira/browse/WW-3808
             Project: Struts 2
          Issue Type: Bug
          Components: Example Applications
    Affects Versions: 2.3.3
         Environment: Java version: 1.7.0_03, vendor: Oracle Corporation
OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
            Reporter: Leonard Broman
            Priority: Trivial
         Attachments: 0001-Use-newer-xerces-to-avoid-problems-on-java-7.patch

The first test run in the portlet app test suite always fails when the xml parser is instantiated. The next tests however succeeds.
The easy fix is to use a newer version of xerces required for pluto (in the test scope).

20:23:42,261 ERROR [org.apache.commons.digester.Digester] Digester.getParser: 
java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
	at javax.xml.parsers.SAXParserFactory.setSchema(SAXParserFactory.java:419)
	at org.apache.commons.digester.Digester.getFactory(Digester.java:536)
	at org.apache.commons.digester.Digester.getParser(Digester.java:786)
	at org.apache.commons.digester.Digester.getXMLReader(Digester.java:1058)
	at org.apache.commons.digester.Digester.parse(Digester.java:1887)
	at org.apache.pluto.driver.services.impl.resource.ResourceConfigReader.parse(ResourceConfigReader.java:63)
	at org.apache.pluto.driver.services.impl.resource.PropertyConfigServiceImpl.init(PropertyConfigServiceImpl.java:55)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WW-3808) First run test in portlet app always fails on JDK7

Posted by "Lukasz Lenart (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WW-3808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Lenart updated WW-3808:
------------------------------

    Fix Version/s: 2.3.4
    
> First run test in portlet app always fails on JDK7
> --------------------------------------------------
>
>                 Key: WW-3808
>                 URL: https://issues.apache.org/jira/browse/WW-3808
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Example Applications
>    Affects Versions: 2.3.3
>         Environment: Java version: 1.7.0_03, vendor: Oracle Corporation
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
>            Reporter: Leonard Broman
>            Priority: Trivial
>             Fix For: 2.3.4
>
>         Attachments: 0001-Use-newer-xerces-to-avoid-problems-on-java-7.patch
>
>
> The first test run in the portlet app test suite always fails when the xml parser is instantiated. The next tests however succeeds.
> The easy fix is to use a newer version of xerces required for pluto (in the test scope).
> 20:23:42,261 ERROR [org.apache.commons.digester.Digester] Digester.getParser: 
> java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
> 	at javax.xml.parsers.SAXParserFactory.setSchema(SAXParserFactory.java:419)
> 	at org.apache.commons.digester.Digester.getFactory(Digester.java:536)
> 	at org.apache.commons.digester.Digester.getParser(Digester.java:786)
> 	at org.apache.commons.digester.Digester.getXMLReader(Digester.java:1058)
> 	at org.apache.commons.digester.Digester.parse(Digester.java:1887)
> 	at org.apache.pluto.driver.services.impl.resource.ResourceConfigReader.parse(ResourceConfigReader.java:63)
> 	at org.apache.pluto.driver.services.impl.resource.PropertyConfigServiceImpl.init(PropertyConfigServiceImpl.java:55)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WW-3808) First run test in portlet app always fails on JDK7

Posted by "Lukasz Lenart (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WW-3808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Lenart updated WW-3808:
------------------------------

    Fix Version/s:     (was: 2.3.5)
                   2.3.6
    
> First run test in portlet app always fails on JDK7
> --------------------------------------------------
>
>                 Key: WW-3808
>                 URL: https://issues.apache.org/jira/browse/WW-3808
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Example Applications
>    Affects Versions: 2.3.3
>         Environment: Java version: 1.7.0_03, vendor: Oracle Corporation
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
>            Reporter: Leonard Broman
>            Priority: Trivial
>             Fix For: 2.3.6
>
>         Attachments: 0001-Use-newer-xerces-to-avoid-problems-on-java-7.patch
>
>
> The first test run in the portlet app test suite always fails when the xml parser is instantiated. The next tests however succeeds.
> The easy fix is to use a newer version of xerces required for pluto (in the test scope).
> 20:23:42,261 ERROR [org.apache.commons.digester.Digester] Digester.getParser: 
> java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
> 	at javax.xml.parsers.SAXParserFactory.setSchema(SAXParserFactory.java:419)
> 	at org.apache.commons.digester.Digester.getFactory(Digester.java:536)
> 	at org.apache.commons.digester.Digester.getParser(Digester.java:786)
> 	at org.apache.commons.digester.Digester.getXMLReader(Digester.java:1058)
> 	at org.apache.commons.digester.Digester.parse(Digester.java:1887)
> 	at org.apache.pluto.driver.services.impl.resource.ResourceConfigReader.parse(ResourceConfigReader.java:63)
> 	at org.apache.pluto.driver.services.impl.resource.PropertyConfigServiceImpl.init(PropertyConfigServiceImpl.java:55)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (WW-3808) First run test in portlet app always fails on JDK7

Posted by "Leonard Broman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WW-3808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonard Broman updated WW-3808:
-------------------------------

    Attachment: 0001-Use-newer-xerces-to-avoid-problems-on-java-7.patch
    
> First run test in portlet app always fails on JDK7
> --------------------------------------------------
>
>                 Key: WW-3808
>                 URL: https://issues.apache.org/jira/browse/WW-3808
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Example Applications
>    Affects Versions: 2.3.3
>         Environment: Java version: 1.7.0_03, vendor: Oracle Corporation
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
>            Reporter: Leonard Broman
>            Priority: Trivial
>         Attachments: 0001-Use-newer-xerces-to-avoid-problems-on-java-7.patch
>
>
> The first test run in the portlet app test suite always fails when the xml parser is instantiated. The next tests however succeeds.
> The easy fix is to use a newer version of xerces required for pluto (in the test scope).
> 20:23:42,261 ERROR [org.apache.commons.digester.Digester] Digester.getParser: 
> java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
> 	at javax.xml.parsers.SAXParserFactory.setSchema(SAXParserFactory.java:419)
> 	at org.apache.commons.digester.Digester.getFactory(Digester.java:536)
> 	at org.apache.commons.digester.Digester.getParser(Digester.java:786)
> 	at org.apache.commons.digester.Digester.getXMLReader(Digester.java:1058)
> 	at org.apache.commons.digester.Digester.parse(Digester.java:1887)
> 	at org.apache.pluto.driver.services.impl.resource.ResourceConfigReader.parse(ResourceConfigReader.java:63)
> 	at org.apache.pluto.driver.services.impl.resource.PropertyConfigServiceImpl.init(PropertyConfigServiceImpl.java:55)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WW-3808) First run test in portlet app always fails on JDK7

Posted by "Lukasz Lenart (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WW-3808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Lenart updated WW-3808:
------------------------------

    Fix Version/s:     (was: 2.3.4)
                   2.3.5
    
> First run test in portlet app always fails on JDK7
> --------------------------------------------------
>
>                 Key: WW-3808
>                 URL: https://issues.apache.org/jira/browse/WW-3808
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Example Applications
>    Affects Versions: 2.3.3
>         Environment: Java version: 1.7.0_03, vendor: Oracle Corporation
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
>            Reporter: Leonard Broman
>            Priority: Trivial
>             Fix For: 2.3.5
>
>         Attachments: 0001-Use-newer-xerces-to-avoid-problems-on-java-7.patch
>
>
> The first test run in the portlet app test suite always fails when the xml parser is instantiated. The next tests however succeeds.
> The easy fix is to use a newer version of xerces required for pluto (in the test scope).
> 20:23:42,261 ERROR [org.apache.commons.digester.Digester] Digester.getParser: 
> java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
> 	at javax.xml.parsers.SAXParserFactory.setSchema(SAXParserFactory.java:419)
> 	at org.apache.commons.digester.Digester.getFactory(Digester.java:536)
> 	at org.apache.commons.digester.Digester.getParser(Digester.java:786)
> 	at org.apache.commons.digester.Digester.getXMLReader(Digester.java:1058)
> 	at org.apache.commons.digester.Digester.parse(Digester.java:1887)
> 	at org.apache.pluto.driver.services.impl.resource.ResourceConfigReader.parse(ResourceConfigReader.java:63)
> 	at org.apache.pluto.driver.services.impl.resource.PropertyConfigServiceImpl.init(PropertyConfigServiceImpl.java:55)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira