File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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 - 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:
subject: Web service invocation gives nullpointer exception?
Similar Threads
Exception when webservice is invoked
Error while calling webservice client from EJB3 SLB Local interface.
ERROR [] SOAP request exception
Problem with XA Transactions in JBoss when use multiple datasources for related tables
Mapping hibernate with Oracle