[jira] [Updated] (DIRAPI-302) DefaultAttribute NPE
[ https://issues.apache.org/jira/browse/DIRAPI-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRAPI-302: - Fix Version/s: (was: 2.0.0) 2.0.0.AM3 > DefaultAttribute NPE > > > Key: DIRAPI-302 > URL: https://issues.apache.org/jira/browse/DIRAPI-302 > Project: Directory Client API > Issue Type: Bug >Affects Versions: 1.0.0 >Reporter: Matthew Broadhead >Priority: Major > Fix For: 2.0.0.AM3 > > > AttributeType attributeType = new AttributeType("mail"); > StringValue stringValue = new StringValue(attributeType, > "t...@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. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (DIRAPI-302) DefaultAttribute NPE
[ https://issues.apache.org/jira/browse/DIRAPI-302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRAPI-302: - Fix Version/s: 2.0.0 > DefaultAttribute NPE > > > Key: DIRAPI-302 > URL: https://issues.apache.org/jira/browse/DIRAPI-302 > Project: Directory Client API > Issue Type: Bug >Affects Versions: 1.0.0 >Reporter: Matthew Broadhead >Priority: Major > Fix For: 2.0.0 > > > AttributeType attributeType = new AttributeType("mail"); > StringValue stringValue = new StringValue(attributeType, > "t...@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. -- This message was sent by Atlassian JIRA (v7.6.3#76005)