Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3808

First run test in portlet app always fails on JDK7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.3.3
    • 2.3.12
    • Example Applications
    • None
    • Java version: 1.7.0_03, vendor: Oracle Corporation
      OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"

    • Patch

    Description

      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)

      Attachments

        Activity

          People

            lukaszlenart Lukasz Lenart
            lbroman Leonard Broman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: