[ 
https://issues.apache.org/jira/browse/CXF-2296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Kulp resolved CXF-2296.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.6
         Assignee: Daniel Kulp  (was: Sergey Beryozkin)


This is definitely a parser bundle issue in the osgi container.   I added a 
couple checks and moved some of the exception handling around so if document 
builder creation fails, it fails right away but the schema creation stuff will 
just log an INFO and continue.   Nothing major.

> Aegis XMLTypeCreator causes a warning stack trace when used by JAXRS runtime
> ----------------------------------------------------------------------------
>
>                 Key: CXF-2296
>                 URL: https://issues.apache.org/jira/browse/CXF-2296
>             Project: CXF
>          Issue Type: Bug
>          Components: Aegis Databinding
>    Affects Versions: 2.2.3, 2.3
>            Reporter: Sergey Beryozkin
>            Assignee: Daniel Kulp
>            Priority: Minor
>             Fix For: 2.2.6
>
>
> 17-Jun-2009 14:56:13 org.apache.cxf.aegis.type.XMLTypeCreator <clinit>
> INFO: Parser doesn't support setSchema.  Not validating.
> java.lang.UnsupportedOperationException: This parser does not support 
> specificat
> ion "null" version "null"
>         at 
> javax.xml.parsers.DocumentBuilderFactory.setSchema(DocumentBuilderFac
> tory.java:489)
>         at 
> org.apache.cxf.aegis.type.XMLTypeCreator.<clinit>(XMLTypeCreator.java
> :125)
>         at 
> org.apache.cxf.aegis.AegisContext.createRootTypeCreator(AegisContext.
> java:119)
>         at 
> org.apache.cxf.aegis.AegisContext.createTypeCreator(AegisContext.java
> :108)
>         at org.apache.cxf.aegis.AegisContext.initialize(AegisContext.java:150)
>         at 
> org.apache.cxf.jaxrs.provider.AbstractAegisProvider.getClassContext(A
> bstractAegisProvider.java:79)
>         at 
> org.apache.cxf.jaxrs.provider.AbstractAegisProvider.getAegisContext(A
> bstractAegisProvider.java:66)
>         at 
> org.apache.cxf.jaxrs.provider.AegisElementProvider.writeTo(AegisEleme
> ntProvider.java:69)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to