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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Amsterdam Release
    • None
    • None

      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.  

       

            jthreefoot jthreefoot
            jimmydot jimmydot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: