wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes Web service invocation gives nullpointer exception?    Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Web service invocation gives nullpointer exception?    " Watch "Web service invocation gives nullpointer exception?    " New topic

Web service invocation gives nullpointer exception?

jina das

Joined: Nov 03, 2007
Posts: 1
I've created a web service using netbeans on jboss 4.2.1ga by exposing a ejb. the wdsl is created and loads in browser when i check it & the jmx-console also seems pretty convinced all is working
but then when i try an invoke it from within a flex page, i get a nullpointer exception

when i google it, i come here;

and it says if the event context is initialised, it is fixed, my log tells me that initialcontext did not implement eventcontext - so this seems to be my problem.

could anyone point me in the direction of getting my event context up - when i've googled it, i've read that the warning is merely a red herring & ignorable! or i get here http://www.koders.com/java/fid72171CE0FDE51DD5EC10946C2A938F23CFD3ED94.aspx - where the exception alludes to it being a classcast exception - i'm not really sure what to do with that information though!

i'm really at a loss here and any hints would be massively massively appreciated!


context message;


invocation error;

I agree. Here's the link: http://aspose.com/file-tools
subject: Web service invocation gives nullpointer exception?
Similar Threads
Mapping hibernate with Oracle
ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] SOAP request exception
Exception when webservice is invoked
Error while calling webservice client from EJB3 SLB Local interface.
Problem with XA Transactions in JBoss when use multiple datasources for related tables