axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shameera Rathnayaka (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AXIS2-5141) An error is thrown when pass null value as the Enum parameter
Date Fri, 09 Sep 2011 10:01:09 GMT
An error is thrown when pass null value as the Enum parameter 
--------------------------------------------------------------

                 Key: AXIS2-5141
                 URL: https://issues.apache.org/jira/browse/AXIS2-5141
             Project: Axis2
          Issue Type: Bug
          Components: adb, kernel
    Affects Versions: 1.7.0
            Reporter: Shameera Rathnayaka
             Fix For: 1.7.0


When pass null as parameter to the method which requires Enum as the method parameter it throws
following Exception 

[ERROR] No enum const class org.apache.axis2.axis2userguide.EnumService$Status.
java.lang.IllegalArgumentException: No enum const class org.apache.axis2.axis2userguide.EnumService$Status.
	at java.lang.Enum.valueOf(Enum.java:196)
	at org.apache.axis2.databinding.utils.BeanUtil.processEnumObject(BeanUtil.java:1088)
	at org.apache.axis2.databinding.utils.BeanUtil.processElement(BeanUtil.java:945)
	at org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:818)
	at org.apache.axis2.rpc.receivers.RPCUtil.processRequest(RPCUtil.java:182)
	at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:235)


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message