[
https://issues.apache.org/jira/browse/AXIS2-5141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sagara Gunathunga reassigned AXIS2-5141:
-----------------------------------------
Assignee: Shameera Rathnayaka
> 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
> Assignee: Shameera Rathnayaka
> Labels: Enum
> Fix For: 1.7.0
>
> Attachments: AXIS2-5141.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]