Uploaded image for project: 'Directory Client API'
  1. Directory Client API
  2. DIRAPI-302

DefaultAttribute NPE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 2.0.0.AM3
    • Labels:
      None

      Description

      AttributeType attributeType = new AttributeType("mail");
      StringValue stringValue = new StringValue(attributeType,
      "test@test.com");
      Attribute attribute = new DefaultAttribute(attributeType, stringValue);

      on the third line i get a NullPointerException and stepping through
      the code inside DefaultAttribute at line 1857 isHR =
      attributeType.getSyntax().isHumanReadable(); attributeType.syntax is
      null.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              chongma Matthew Broadhead
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: