Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-7076

DefaultFactHandle.createFromExternalFormat() fails with NumberFormatException when ID is larger than 2147483647

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.74.0.Final
    • 7.73.0.Final
    • core engine
    • None
    • 2022 Week 29-31 (from Jul 18)
    • 1
    • NEW
    • NEW
    • ---
    • ---

      DefaultFactHandle.createFromExternalFormat() fails with NumberFormatException when ID is larger than 2147483647

      Caused by: java.lang.NumberFormatException: For input string: "2147483648"
      at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
      at java.lang.Integer.parseInt(Integer.java:583)
      at java.lang.Integer.parseInt(Integer.java:615)
      at org.drools.core.common.DefaultFactHandle.populateFactHandleFromExternalForm(DefaultFactHandle.java:461)
      at org.drools.core.common.DefaultFactHandle.createFromExternalFormat(DefaultFactHandle.java:444)
      at org.drools.core.runtime.help.impl.XStreamXML$BatchExecutionResultConverter.unmarshal(XStreamXML.java:990)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
      ... 105 common frames omitted
      

      Same as DisconnectedFactHandle and FromExternalFactHandleCommand.

              rhn-support-tkobayas Toshiya Kobayashi
              rhn-support-tkobayas Toshiya Kobayashi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: