Uploaded image for project: 'JOC - JS7 Operations Center'
  1. JOC - JS7 Operations Center
  2. JOC-2126

Changes : Throws Null Pointer Exception on creating Change with duplicate name with empty status

    XMLWordPrintable

Details

    Description

      Current Situation: 
      On creating new Change with duplicate name with empty status, throws Null Pointer Exception.

      Steps to reproduce:

      • In the env click on upper right corner settings icon -> Manage changes -> Add change
      • Create a change with the name same as an existing change.
      • Leave the status field empty -> produce below error :
        • java.lang.NullPointerException: Cannot invoke "com.sos.joc.model.inventory.changes.common.ChangeState.intValue()" because the return value of "com.sos.joc.model.inventory.changes.common.ChangeIdentifier.getState()" is null

      Desired Behavior

      On creating new Change with duplicate name with empty status, should not throw any Exception.

      Attachments

        Activity

          People

            oh Oliver Haufe
            karuna-pawar Karuna Pawar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: