Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 32151 invoked from network); 28 Sep 2008 09:36:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Sep 2008 09:36:05 -0000 Received: (qmail 72921 invoked by uid 500); 28 Sep 2008 09:36:04 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 72895 invoked by uid 500); 28 Sep 2008 09:36:03 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 72884 invoked by uid 99); 28 Sep 2008 09:36:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Sep 2008 02:36:03 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Sep 2008 09:35:10 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 53D37234C1E2 for ; Sun, 28 Sep 2008 02:35:44 -0700 (PDT) Message-ID: <932725988.1222594544342.JavaMail.jira@brutus> Date: Sun, 28 Sep 2008 02:35:44 -0700 (PDT) From: "quzhe (JIRA)" To: issues@cxf.apache.org Subject: [jira] Created: (CXF-1829) xmlbean binding can not handle Exception MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org xmlbean binding can not handle Exception ---------------------------------------- Key: CXF-1829 URL: https://issues.apache.org/jira/browse/CXF-1829 Project: CXF Issue Type: Bug Components: JAXB Databinding Affects Versions: 2.1.1 Reporter: quzhe hi,All: 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: service: public InsertFmdeclarationResponse insert(InsertFmdeclarationParamDocument.InsertFmdeclarationParam body) throws TestException // when I add TestException, it can not working exception: @WebFault(name="TestException") public class TestException extends Exception{ ... } the error trace is" Caused by: java.lang.NullPointerException at org.apache.cxf.xmlbeans.XmlBeansSchemaInitializer.mapClass(XmlBeansSc hemaInitializer.java:165) at org.apache.cxf.xmlbeans.XmlBeansSchemaInitializer.checkForExistence(X mlBeansSchemaInitializer.java:217) at org.apache.cxf.xmlbeans.XmlBeansSchemaInitializer.begin(XmlBeansSchem aInitializer.java:142) at org.apache.cxf.service.ServiceModelVisitor.visitOperation(ServiceMode lVisitor.java:120) at org.apache.cxf.service.ServiceModelVisitor.walk(ServiceModelVisitor.j ava:74) at org.apache.cxf.xmlbeans.XmlBeansDataBinding.initialize(XmlBeansDataBi nding.java:102) thank you! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.