Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-207

SimpleBigDecimalScoreHolder and HardSoftBigDecimalScoreHolder throw NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.1.0.Final
    • 6.0.0.CR5
    • optaplanner-core
    • None

      java.lang.NullPointerException
      	at org.optaplanner.core.api.score.buildin.simplebigdecimal.SimpleBigDecimalScoreHolder.addConstraintMatch(SimpleBigDecimalScoreHolder.java:50)
      	at org.optaplanner.core.api.score.buildin.simplebigdecimal.SimpleBigDecimalScoreHolderTest.addConstraintMatch(SimpleBigDecimalScoreHolderTest.java:26)
      	at org.optaplanner.core.api.score.buildin.simplebigdecimal.SimpleBigDecimalScoreHolderTest.addConstraintMatchWithoutConstraintMatch(SimpleBigDecimalScoreHolderTest.java:20)
      
      java.lang.NullPointerException
      	at org.optaplanner.core.api.score.buildin.hardsoftbigdecimal.HardSoftBigDecimalScoreHolder.addHardConstraintMatch(HardSoftBigDecimalScoreHolder.java:60)
      	at org.optaplanner.core.api.score.buildin.hardsoftbigdecimal.HardSoftBigDecimalScoreHolderTest.addConstraintMatch(HardSoftBigDecimalScoreHolderTest.java:26)
      	at org.optaplanner.core.api.score.buildin.hardsoftbigdecimal.HardSoftBigDecimalScoreHolderTest.addConstraintMatchWithoutConstraintMatch(HardSoftBigDecimalScoreHolderTest.java:20)
      

              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              gdesmet@redhat.com Geoffrey De Smet (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: