This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Web service invocation gives nullpointer exception?    " Watch "Web service invocation gives nullpointer exception?    " New topic
Author

Web service invocation gives nullpointer exception?

jina das
Greenhorn

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;
http://jira.jboss.org/jira/secure/attachment/12316304/SOAPFaultHelperJAXWS.java

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;

 
It is sorta covered in the JavaRanch Style Guide.
 
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