[jbosstools-issues] [JBoss JIRA] (JBIDE-13252) NullPointerException in AnnotationDeclaration.validateNamedValue

Jesper Skov (JIRA) jira-events at lists.jboss.org
Thu Dec 6 03:04:21 EST 2012


    [ https://issues.jboss.org/browse/JBIDE-13252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12739841#comment-12739841 ] 

Jesper Skov commented on JBIDE-13252:
-------------------------------------

The NPE mentioned in https://community.jboss.org/message/780253#780253 was caused by this:

{code}
	@Produces({MediaType.APPLICATION_XML+";charset=UTF-8"})
{code}

This is with jbosstools-4.0.0.Alpha2.

                
> NullPointerException in AnnotationDeclaration.validateNamedValue
> ----------------------------------------------------------------
>
>                 Key: JBIDE-13252
>                 URL: https://issues.jboss.org/browse/JBIDE-13252
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: CDI, common/jst/core
>    Affects Versions: 4.0.0.Beta2
>            Reporter: Viacheslav Kabanovich
>            Assignee: Max Rydahl Andersen
>            Priority: Critical
>             Fix For: 4.0.0.CR1, 4.1.0.Alpha1
>
>
> https://community.jboss.org/message/780126
> Comment to method IMemberValuePair.getValue() says that it may return null.
> There is no check for null in AnnotationDeclaration.validateNamedValue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list