JBoss development,
A new message was posted in the thread "NPE on ungetValue()":
http://community.jboss.org/message/526953#526953
Author : Kabir Khan
Profile :
http://community.jboss.org/people/kabir.khan@jboss.com
Message:
--------------------------------------------------------------
The problem is actually, when using contextual injection and InjectOption.OPTIONAL
a) That AbstractInjectionValueMetaData.item is null in AIVMD.ungetValue() since it only
gets set when InjectOption.STRICT is used (in describeVisit())
b) That getUnderlyingValue() returns null in AbstractDependencyValueMetaData in its
ungetValue() which also gets called
I have added null checks in the ungetValue() methods.
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/526953#526953