Hi Saminda,

I am just using standard RPCMessageReceiver.

However I did finally figured out what happened. For some reason my service was able to read the file sometimes but unable to find it other times. So when I couldn't find the file, I returned null for the service (which is kinda stupid on my part), which caused that exception.

In any case, part of the mystery solved.

Thanks

Jian

On Jun 10, 2006, at 1:03 AM, Saminda Abeyruwan wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

May i ask, are you using a custom Message receiver for this service ?

Saminda

Jian Zhen wrote:
Hi all,

I have probably a really stupid question but I've been pulling my hair
out (not much left as you can imagine) with this one.

I have a web service that returns a list of reports available on the
system. It's actually very simple at the moment. When called, it opens up a xml file on the filesystem, then dumps the xml file over the wire.
Can't be any simpler.

It has actually been working fine all day yesterday. This morning when
I tried it again, it stopped working and started giving this error.

I added 1 jar file to the lib dir since last night, but even if I
removed the new jar, it still give me this same exception.

The interesting thing is that my other services work just fine. For
example, I have one service that takes a name of the report and outputs the result. That continues to work. Another is the login service, that
works as well.

I actually have a different tomcat app that have this same ReportList
service that's I've not touched in a few days. It was working fine
before as well. However, calling this same ReportList service is now
giving the same error!! And these happens for two different tomcat apps.

So the ReportList on two different tomcat apps seems to fail but the
other services work just fine. I have not modified the service at all
since the last time it was working.

Does anyone have an idea what might be causing this?

any help is much appreciated..

Jian

---

java.lang.NullPointerException

org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingO utp
utStream(CommonsHTTPTransportSender.java:256)
    org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke
(CommonsHTTPTransportSender.java:210)
    org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:589)
org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive
(AbstractInOutSyncMessageReceiver.java:43)
    org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:454)
    org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine
(RESTUtil.java:150)
    org.apache.axis2.transport.http.util.RESTUtil.processGetRequest
(RESTUtil.java:138)
    org.apache.axis2.transport.http.AxisRESTServlet.doGet
(AxisRESTServlet.java:36)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

--
Jian Zhen <[EMAIL PROTECTED]>
http://www.zhen.org




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEinzoYmklbLuW6wYRAmTrAJ9Lv9ba5PkbttBb8JbJ9rWLr48b5wCffQDN
QIWCEHb5ui3xvleONG9mzzg=
=JvUw
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Jian Zhen <[EMAIL PROTECTED]>
http://www.zhen.org




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to