[jbosstools-issues] [JBoss JIRA] (JBIDE-12690) No JAX-RS problems when importing a project that contains errors

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Wed Jun 26 13:48:21 EDT 2013


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

Alexey Kazakov commented on JBIDE-12690:
----------------------------------------

I got the following exception when creating a Dynamic Web Project with JAX-RS facet:
{code}
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
{code}
                
> No JAX-RS problems when importing a project that contains errors
> ----------------------------------------------------------------
>
>                 Key: JBIDE-12690
>                 URL: https://issues.jboss.org/browse/JBIDE-12690
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Webservices
>    Affects Versions: 4.0.0.Alpha1
>            Reporter: Jaroslav Jankovič
>            Assignee: Alexey Kazakov
>             Fix For: 4.1.x
>
>         Attachments: JBIDE-12690.ogv
>
>
> Supposing you have created project with JAX-RS support and validation error in it (e.g. HTTPMethod annotation without Target or Retention). If you open a fresh workspace, import the project and build the project, there is no errors found. It is a bug.

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