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

Exception in thread "main" java.lang.NumberFormatException: For input string: "1000.0"

    XMLWordPrintableJSON

Details

    Description

      Exception in thread "main" java.lang.NumberFormatException: For input string: "1000.0"
      I am facing the same issue in version 1.7.5. Kindly help me on the same..

      public void setEMPL_RCDTypeDef(int param) {
      java.lang.String totalDigitsDecimal = org.apache.axis2.databinding.utils.ConverterUtil.convertToStandardDecimalNotation(
      "3").toPlainString();

      if (org.apache.axis2.databinding.utils.ConverterUtil.compare(
      param, totalDigitsDecimal) < 0)

      { this.localEMPL_RCDTypeDef = param; }

      else

      { throw new java.lang.RuntimeException( "Input values do not follow defined XSD restrictions"); }

      }

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              khalithbasha khalithbasha
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: