[jboss-user] [JBoss Tools] - Re: CDI fails when adding a new folder
Viacheslav Kabanovich
do-not-reply at jboss.com
Wed Dec 5 17:39:45 EST 2012
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&containerType=14&container=2128]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121205/3343b2dc/attachment.html
More information about the jboss-user
mailing list