• Post Reply Bookmark Topic Watch Topic
  • New Topic

Got a runtime exception in my simpleType class: java.lang.Instantiation Exception

 
Ajay Thomas
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I created a sample service in axis2. it contain a complexType(BookingType) with a simpleType (ChannelCodes).i generated java files.. created its .aar file... created .war file . And I deployed it in weblogic921. when i invoke my service i got a runtime exception:


Apr 21, 2007 12:19:13 PM org.apache.axis2.rpc.receivers.RPCMessageReceiver invokeBusinessLogic
SEVERE: Exception occurred while trying to invoke service method currencyConvertor
org.apache.axis2.AxisFault: com.ibsplc.ires.webservice.booking.vo.ChannelCodes; nested exception is:
java.lang.InstantiationException: com.ibsplc.ires.webservice.booking.vo.ChannelCodes
at org.apache.axis2.engine.DefaultObjectSupplier.getObject(DefaultObjectSupplier.java:28)
at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:269)
at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:299)
at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:299)
at org.apache.axis2.databinding.utils.BeanUtil.processObject(BeanUtil.java:557)
at org.apache.axis2.databinding.utils.BeanUtil.ProcessElement(BeanUtil.java:507)
at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:446)
at org.apache.axis2.rpc.receivers.RPCUtil.processRequest(RPCUtil.java:109)
at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:116)
at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:39)

at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:497)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:328)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:254)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3245)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: java.lang.InstantiationException: com.ibsplc.ires.webservice.booking.vo.ChannelCodes
at java.lang.Class.newInstance0(Class.java:335)
at java.lang.Class.newInstance(Class.java:303)
at org.apache.axis2.engine.DefaultObjectSupplier.getObject(DefaultObjectSupplier.java:26)
... 26 more


Any Suggetion will be a great Help..

Thanks In Advance
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!