Struts 2
  1. Struts 2
  2. WW-3808

First run test in portlet app always fails on JDK7

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.3.3
    • Fix Version/s: 2.3.12
    • Component/s: Example Applications
    • Labels:
      None
    • Environment:

      Java version: 1.7.0_03, vendor: Oracle Corporation
      OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"

    • Flags:
      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)

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Lukasz Lenart
            Reporter:
            Leonard Broman
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development