[jbosstools-issues] [JBoss JIRA] (JBIDE-12994) NPE while validating JAX-RS content

Xavier Coulon (JIRA) jira-events at lists.jboss.org
Tue Nov 20 04:09:25 EST 2012


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

Xavier Coulon commented on JBIDE-12994:
---------------------------------------

Jaroslav,

To be honest, I just filled this issue while doing some basic tests on a sample project. I noticed this NPE while editing some JAX-RS code, and fixed the bug just afterwards as the bug was obvious (passing a null argument to a method), but I don't have steps to reproduce it.   
                
> NPE while validating JAX-RS content
> -----------------------------------
>
>                 Key: JBIDE-12994
>                 URL: https://issues.jboss.org/browse/JBIDE-12994
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Webservices
>    Affects Versions: 4.0.0.Beta1
>            Reporter: Xavier Coulon
>            Assignee: Xavier Coulon
>             Fix For: 4.0.0.Beta1
>
>
> Stacktrace:
> !ENTRY org.jboss.tools.common 4 0 2012-11-05 14:28:36.321
> !MESSAGE 
> !STACK 0
> org.jboss.tools.common.validation.JBTValidationException
> 	at org.jboss.tools.common.validation.ValidatorManager.validateInJob(ValidatorManager.java:101)
> 	at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:78)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> Caused by: java.lang.NullPointerException
> 	at org.jboss.tools.ws.jaxrs.core.internal.metamodel.builder.JaxrsElementChangedPublisher.publish(JaxrsElementChangedPublisher.java:36)
> 	at org.jboss.tools.ws.jaxrs.core.internal.metamodel.validation.JaxrsMetamodelValidator.validate(JaxrsMetamodelValidator.java:125)
> 	at org.jboss.tools.common.validation.ValidatorManager.validate(ValidatorManager.java:117)
> 	at org.jboss.tools.common.validation.ValidatorManager.validateInJob(ValidatorManager.java:81)
> 	... 2 more

--
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