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

DefaultAttribute NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 2.0.0.AM3
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: