axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jürgen Weber (JIRA) <j...@apache.org>
Subject [jira] [Created] (AXIS2-5631) org.apache.axis2.databinding.ADBException: shortmin cannot be null
Date Tue, 25 Feb 2014 12:12:19 GMT
Jürgen Weber created AXIS2-5631:
-----------------------------------

             Summary: org.apache.axis2.databinding.ADBException: shortmin cannot be null
                 Key: AXIS2-5631
                 URL: https://issues.apache.org/jira/browse/AXIS2-5631
             Project: Axis2
          Issue Type: Bug
          Components: adb
    Affects Versions: 1.6.2
            Reporter: Jürgen Weber


I want to serialize a short variable "shortmin" containing Short.MIN_VALUE (which is legal
for short)

In the generated stub there is code
if (localShortmin==java.lang.Short.MIN_VALUE) {
   		 throw new org.apache.axis2.databinding.ADBException("shortmin cannot be null!!");

The == should be replace with < and the exception text with shortmin is < Short.MIN_VALUE

Same for

if (localLongmin==java.lang.Integer.MIN_VALUE) {

	 throw new org.apache.axis2.databinding.ADBException("longmin cannot be null!!");
      



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
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