Skip to main content

STORKSAMLEngine breaks into exception when there is an attribute with no value

Published on: 28/05/2010 Discussion Archived

With Ricardo Ferreira we discovered a bug in STORKSAMLEngine. It happens when isAgeOver is requested and the age of the citizen is lower than requested. The returned attribute isAgeOver in this case by specification has no value. The method STORKSAMLEngine.generateAttributeStatement in the line if (attribute.getValue().size() > 0 && attribute.getComplexValue().size() > 0) { breaks with NPE, as attribute.getValue() is null.



HardwareNone
ProductNone
Operating SystemNone
ComponentNone
VersionNone
SeverityNone
ResolutionFixed

Component

Code

Category

Bugs

Comments

Anonymous (not verified) Wed, 20/10/2010 - 10:40

Is fixed in version 0.4.2, May 2010

Anonymous (not verified) Wed, 14/12/2011 - 10:24