axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kinichiro Inoguchi (JIRA)" <>
Subject [jira] Created: (AXIS2-1745) POJO service with NULL array causes NPE
Date Sat, 18 Nov 2006 07:30:37 GMT
POJO service with NULL array causes NPE

                 Key: AXIS2-1745
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: rpc
         Environment: Axis2 1.1 release
            Reporter: Kinichiro Inoguchi

I created POJO test service.
Response javabeans contains simple type and its arrays.
Also nested javabeans and its arrays are included

If all elements are filled, this works fine.
You can see this by REST call.

But, elements not set and NULL, this causes NPE.
You can see this by REST call.

<stack trace>
2006/11/18 14:59:38 org.apache.axis2.rpc.receivers.RPCMessageReceiver invokeBusinessLogic
: Exception occurred while trying to invoke service method getBean
	at java.lang.reflect.Array.getLength(Native Method)
	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(
	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(
	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(
	at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(
	at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(
	at org.apache.axis2.engine.AxisEngine.receive(
	at org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(
	at org.apache.axis2.transport.http.util.RESTUtil.processGetRequest(
	at org.apache.axis2.transport.http.AxisRESTServlet.doGet(

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message