Viacheslav Kabanovich [
https://community.jboss.org/people/scabanovich] created the
discussion
"Re: CDI fails when adding a new folder"
To view the discussion, visit:
https://community.jboss.org/message/780253#780253
--------------------------------------------------------------
I reproduced the issue with annotation
{code}
@Target({ElementType.TYPE})
public @interface MyAnnotation {
String[] value();
}
{code}
added to a type with null element
{code}
@MyAnnotation({null})
public class C {
}
{code}
In this case, method validateNamedValue gets parameter value=null and fails at line
{code}
String stringValue = value.toString();
{code}
which was 136th line in one of previous versions.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/780253#780253]
Start a new discussion in JBoss Tools at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]