Uploaded image for project: 'Active and Available Inventory'
  1. Active and Available Inventory
  2. AAI-265

EdgePropertyMap throws NullPointer if edge rule does not include property

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Amsterdam Release
    • Labels:
      None

      Description

      If contains-other-v is not defined in an edge rule, EdgePropertyMap fails with a NullPointerException

      line 40: Matcher m = variablePattern.matcher(value.toString());

      When AAI encounters a missing field when reading DbEdgeRules_v*.json files, AAI should return AAI_4005, "Missing or invalid configuration parameter".  If it can include the missing attribute in the error message, that would be a bonus.  Knowing that this may not be practical, I'll offer double bonus if it can include the edge rule label or line number to point the person troubleshooting directly to the section of the file that is missing the attribute.  

       

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              • Assignee:
                jthreefoot Jane Threefoot
                Reporter:
                jimmydot James Forsyth
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: