cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "quzhe (JIRA)" <>
Subject [jira] Created: (CXF-1829) xmlbean binding can not handle Exception
Date Sun, 28 Sep 2008 09:35:44 GMT
xmlbean binding can not handle Exception

                 Key: CXF-1829
             Project: CXF
          Issue Type: Bug
          Components: JAXB Databinding
    Affects Versions: 2.1.1
            Reporter: quzhe

my webservice using xmlbean binding, when service have not throw a exception, it is working
fine, but when I add a throw exception, my webservice can not start.
here is my code:

public InsertFmdeclarationResponse insert(InsertFmdeclarationParamDocument.InsertFmdeclarationParam
body) throws TestException
// when I add TestException, it can not working

public class TestException extends Exception{

the error trace is"

Caused by: java.lang.NullPointerException
        at org.apache.cxf.xmlbeans.XmlBeansSchemaInitializer.mapClass(XmlBeansSc
        at org.apache.cxf.xmlbeans.XmlBeansSchemaInitializer.checkForExistence(X
        at org.apache.cxf.xmlbeans.XmlBeansSchemaInitializer.begin(XmlBeansSchem
        at org.apache.cxf.service.ServiceModelVisitor.visitOperation(ServiceMode
        at org.apache.cxf.service.ServiceModelVisitor.walk(ServiceModelVisitor.j
        at org.apache.cxf.xmlbeans.XmlBeansDataBinding.initialize(XmlBeansDataBi

thank you!

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

View raw message