axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russell Butek" <bu...@us.ibm.com>
Subject Re: Exception on implementing java.util.Observer in WebService
Date Mon, 18 Mar 2002 13:08:25 GMT
A couple things.

First, you're getting an exception from the server (SOAPFaultBuilder is
trying to build it up).  Even though this exception isn't getting to you
because of a bug in SOAPFaultBuilder, you can use tcpmon to see that
exception.

Secondly, what version of AXIS are you running?  Line 134 in the current
build cannot possibly throw NullPointerException:  "if (f == null)".
Perhaps your problem has been fixed in a recent build?

Russell Butek
butek@us.ibm.com


"Kumar, Vinay 2" <Vinay@barco.com> on 03/18/2002 12:47:15 AM

Please respond to axis-user@xml.apache.org

To:    "'AXIS-USER'" <axis-user@xml.apache.org>
cc:
Subject:    Exception on implementing java.util.Observer in WebService



hello,

my client is a Applet
in my Web Service i try to implement Observer Interface to watch any change
in my Object Store

the moment i call function "notifyObservers()" in Class which extends
Observable,

it has to call the "update(java.util.Observable aObservable, Object
aObject)" function in Web Service
but, it raises the following exception in Applet:

Any comments? suggestions?

VINK


java.lang.NullPointerException
 at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:13

4)
 at
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationCo

ntext.java:671)
 at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1489)
 at org.apache.crimson.parser.Parser2.content(Parser2.java:1700)
 at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1468)
 at org.apache.crimson.parser.Parser2.content(Parser2.java:1700)
 at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1468)
 at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:499)
 at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
 at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
 at javax.xml.parsers.SAXParser.parse(SAXParser.java:346)
 at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext

.java:204)
 at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:378)
 at org.apache.axis.client.Call.invoke(Call.java:1268)
 at org.apache.axis.client.Call.invoke(Call.java:1113)
 at org.apache.axis.client.Call.invoke(Call.java:1043)
 at org.apache.axis.client.Call.invoke(Call.java:676)
 at GenericApplet.SendCommand(GenericApplet.java:275)
 at GenericApplet.actionPerformed(GenericApplet.java:194)
 at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
 at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
 at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
 at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
 at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
 at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
 at java.awt.Component.processMouseEvent(Unknown Source)
 at java.awt.Component.processEvent(Unknown Source)
 at java.awt.Container.processEvent(Unknown Source)
 at java.awt.Component.dispatchEventImpl(Unknown Source)
 at java.awt.Container.dispatchEventImpl(Unknown Source)
 at java.awt.Component.dispatchEvent(Unknown Source)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
 at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
 at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
 at java.awt.Container.dispatchEventImpl(Unknown Source)
 at java.awt.Component.dispatchEvent(Unknown Source)
 at java.awt.EventQueue.dispatchEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source)




Mime
View raw message