Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 19498 invoked from network); 19 May 2006 17:47:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 May 2006 17:47:09 -0000 Received: (qmail 87354 invoked by uid 500); 19 May 2006 17:47:04 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 87313 invoked by uid 500); 19 May 2006 17:47:04 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 87299 invoked by uid 99); 19 May 2006 17:47:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 May 2006 10:47:04 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 May 2006 10:47:03 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9B1E47142A1 for ; Fri, 19 May 2006 17:46:30 +0000 (GMT) Message-ID: <26894605.1148060790632.JavaMail.jira@brutus> Date: Fri, 19 May 2006 17:46:30 +0000 (GMT+00:00) From: "Bjorn Townsend (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS-2479) cannot deserialize exception with null non-nillable attributes (premature end of file) In-Reply-To: <2566438.1147875850600.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS-2479?page=comments#action_12412545 ] Bjorn Townsend commented on AXIS-2479: -------------------------------------- Nikolay, Can you provide code with which to reproduce this issue? I'm also a bit confused as to why you'd want to throw an exception without setting its attributes... Thanks, Bjorn > cannot deserialize exception with null non-nillable attributes (premature end of file) > -------------------------------------------------------------------------------------- > > Key: AXIS-2479 > URL: http://issues.apache.org/jira/browse/AXIS-2479 > Project: Apache Axis > Type: Bug > Components: Serialization/Deserialization > Versions: 1.4 > Reporter: Nikolay Metchev > > If you have an exception which has a non-nillable attribute and you throw such an exception in the server but don't set the non-nillable attribute then you get the following exception: > SEVERE: ; nested exception is: > org.xml.sax.SAXParseException: Premature end of file. > AxisFault > faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException > faultSubcode: > faultString: org.xml.sax.SAXParseException: Premature end of file. > faultActor: > faultNode: > faultDetail: > {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXParseException: P > remature end of file. > at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAX > ParseException(ErrorHandlerWrapper.java:236) > at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalErro > r(ErrorHandlerWrapper.java:215) > at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError( > XMLErrorReporter.java:386) > at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError( > XMLErrorReporter.java:316) > at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineD > ocVersion(XMLVersionDetector.java:230) > at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X > ML11Configuration.java:798) > at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X > ML11Configuration.java:764) > at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser. > java:148) > at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab > stractSAXParser.java:1242) > at javax.xml.parsers.SAXParser.parse(SAXParser.java:375) > at org.apache.axis.encoding.DeserializationContext.parse(Deserialization > Context.java:227) > at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) > at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) > at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnders > tandChecker.java:62) > at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) > at org.apache.axis.client.Call.invokeEngine(Call.java:2784) > at org.apache.axis.client.Call.invoke(Call.java:2767) > at org.apache.axis.client.Call.invoke(Call.java:2443) > at org.apache.axis.client.Call.invoke(Call.java:2366) > at org.apache.axis.client.Call.invoke(Call.java:1812) > at com.teamphone.enterprise.admin.service.AdminBindingStub.login(AdminBi > ndingStub.java:2556) > at com.teamphone.enterprise.admin.client.DefaultTeamphoneAdminAdapter.lo > gin(DefaultTeamphoneAdminAdapter.java:3315) > at com.teamphone.enterprise.admin.client.ui.AdminRootTreeModel.login(Adm > inRootTreeModel.java:204) > at com.teamphone.enterprise.admin.client.ui.AdminRootTreeModel.access$00 > 0(AdminRootTreeModel.java:39) > at com.teamphone.enterprise.admin.client.ui.AdminRootTreeModel$1.actionP > erformed(AdminRootTreeModel.java:126) > at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18 > 49) > at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav > a:2169) > at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel > .java:420) > at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258 > ) > at javax.swing.AbstractButton.doClick(AbstractButton.java:302) > at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1 > 000) > at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMen > uItemUI.java:1041) > at java.awt.Component.processMouseEvent(Component.java:5488) > at javax.swing.JComponent.processMouseEvent(JComponent.java:3126) > at java.awt.Component.processEvent(Component.java:5253) > at java.awt.Container.processEvent(Container.java:1966) > at java.awt.Component.dispatchEventImpl(Component.java:3955) > at java.awt.Container.dispatchEventImpl(Container.java:2024) > at java.awt.Component.dispatchEvent(Component.java:3803) > at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212 > ) > at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) > at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) > at java.awt.Container.dispatchEventImpl(Container.java:2010) > at java.awt.Window.dispatchEventImpl(Window.java:1774) > at java.awt.Component.dispatchEvent(Component.java:3803) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) > at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh > read.java:242) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre > ad.java:163) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) > {http://xml.apache.org/axis/}hostname:qa5 > org.xml.sax.SAXParseException: Premature end of file. > at org.apache.axis.AxisFault.makeFault(AxisFault.java:101) > at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:701) > at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) > at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnders > tandChecker.java:62) > at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) > at org.apache.axis.client.Call.invokeEngine(Call.java:2784) > at org.apache.axis.client.Call.invoke(Call.java:2767) > at org.apache.axis.client.Call.invoke(Call.java:2443) > at org.apache.axis.client.Call.invoke(Call.java:2366) > at org.apache.axis.client.Call.invoke(Call.java:1812) > at com.teamphone.enterprise.admin.service.AdminBindingStub.login(AdminBi > ndingStub.java:2556) > at com.teamphone.enterprise.admin.client.DefaultTeamphoneAdminAdapter.lo > gin(DefaultTeamphoneAdminAdapter.java:3315) > at com.teamphone.enterprise.admin.client.ui.AdminRootTreeModel.login(Adm > inRootTreeModel.java:204) > at com.teamphone.enterprise.admin.client.ui.AdminRootTreeModel.access$00 > 0(AdminRootTreeModel.java:39) > at com.teamphone.enterprise.admin.client.ui.AdminRootTreeModel$1.actionP > erformed(AdminRootTreeModel.java:126) > at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18 > 49) > at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav > a:2169) > at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel > .java:420) > at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258 > ) > at javax.swing.AbstractButton.doClick(AbstractButton.java:302) > at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1 > 000) > at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMen > uItemUI.java:1041) > at java.awt.Component.processMouseEvent(Component.java:5488) > at javax.swing.JComponent.processMouseEvent(JComponent.java:3126) > at java.awt.Component.processEvent(Component.java:5253) > at java.awt.Container.processEvent(Container.java:1966) > at java.awt.Component.dispatchEventImpl(Component.java:3955) > at java.awt.Container.dispatchEventImpl(Container.java:2024) > at java.awt.Component.dispatchEvent(Component.java:3803) > at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212 > ) > at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) > at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) > at java.awt.Container.dispatchEventImpl(Container.java:2010) > at java.awt.Window.dispatchEventImpl(Window.java:1774) > at java.awt.Component.dispatchEvent(Component.java:3803) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) > at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh > read.java:242) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre > ad.java:163) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) > Caused by: org.xml.sax.SAXParseException: Premature end of file. > at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAX > ParseException(ErrorHandlerWrapper.java:236) > at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalErro > r(ErrorHandlerWrapper.java:215) > at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError( > XMLErrorReporter.java:386) > at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError( > XMLErrorReporter.java:316) > at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineD > ocVersion(XMLVersionDetector.java:230) > at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X > ML11Configuration.java:798) > at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X > ML11Configuration.java:764) > at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser. > java:148) > at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab > stractSAXParser.java:1242) > at javax.xml.parsers.SAXParser.parse(SAXParser.java:375) > at org.apache.axis.encoding.DeserializationContext.parse(Deserialization > Context.java:227) > at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) > ... 39 more -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org