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

        

Reply via email to