Srijith, from your info, it seems that you should address this question to Axis project. If you can get an XMLBeans stand alone repro, will look at it.
Cezar ________________________________________ From: Srijith Kochunni [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 24, 2008 8:03 AM To: user@xmlbeans.apache.org Subject: get_store() throws NullPointerException. Hi All, I am using Axis2 to create web service client using xmlbeans databinding. I have this strange problem that when I invoke the setter method for a particular type, I get a NullPointer exception. The exception is being thrown from an autogenerated code which I got using wsdl2java. The specific class which throws this error extends XmlObjectBase. The exception is thrown when the following code is invoked in the autogenerated class. target = (com.test.abc.Status)get_store().find_element_user(STATUS$0, 0); So obviously get_store is returning null. Have checked with the xmlbeans doc here - > http://ws.apache.org/axis2/1_1_1/userguide-creatingclients-xmlbeans.html and am following all steps correctly, but not sure, why this error is caused. Any help in this regard would be greatly appreciated. Xml beans has been working for all my requirements so far and don't want to back out right now. Thanks, Srijith. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]