Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5631

org.apache.axis2.databinding.ADBException: shortmin cannot be null

Rank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.6.2
    • None
    • adb
    • None

    Description

      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!!");

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            weberjn Jürgen Weber

            Dates

              Created:
              Updated:

              Slack

                Issue deployment