You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/01/20 22:50:12 UTC

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

    [ https://issues.apache.org/jira/browse/WW-3808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13558397#comment-13558397 ] 

Hudson commented on WW-3808:
----------------------------

Integrated in Struts2-JDK6 #620 (See [https://builds.apache.org/job/Struts2-JDK6/620/])
    WW-3808 adds xerces to allow pass build on JDK7 (Revision 1435934)

     Result = SUCCESS
lukaszlenart : 
Files : 
* /struts/struts2/trunk/apps/portlet/pom.xml
* /struts/struts2/trunk/pom.xml

                
> 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
>            Assignee: Lukasz Lenart
>            Priority: Trivial
>             Fix For: 2.3.9
>
>         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