[jbosstools-issues] [JBoss JIRA] (JBIDE-11766) Work with "Annotation Properties" view breaks JAX-RS explorer
Xavier Coulon (JIRA)
jira-events at lists.jboss.org
Mon Jun 4 16:05:18 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-11766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698600#comment-12698600 ]
Xavier Coulon edited comment on JBIDE-11766 at 6/4/12 4:05 PM:
---------------------------------------------------------------
The JavaAnnotationsVisitor seems to be the cause of the problem: the search range is not correct
Some messages as below appear in the log:
{code}
22:03:36.896 [Worker-123] Visiting member ''lookupMemberById'' member, looking for annotions [javax.ws.rs.Path, javax.ws.rs.Produces, javax.ws.rs.Consumes, javax.ws.rs.DELETE, javax.ws.rs.GET, javax.ws.rs.HEAD, javax.ws.rs.OPTIONS, javax.ws.rs.POST, javax.ws.rs.PUT]
22:03:36.896 [Worker-123] Node @GET @Path("/{id:[0-9][0-9]*}") @Produces("text/xml") public Member lookupMemberById(@PathParam("id") long id){
new Service().method1();
return em.find(Member.class,id);
}
does not match search range: start=1334 (>= 1334) / end=1532 (<= 1526)
22:03:36.896 [Worker-123] Annotations found on lookupMemberById: {}
{code}
was (Author: xcoulon):
The JavaAnnotationsVisitor seems to be the cause of the problem: the search range is not correct
Some messages as below appear in the log:
22:03:36.896 [Worker-123] Visiting member ''lookupMemberById'' member, looking for annotions [javax.ws.rs.Path, javax.ws.rs.Produces, javax.ws.rs.Consumes, javax.ws.rs.DELETE, javax.ws.rs.GET, javax.ws.rs.HEAD, javax.ws.rs.OPTIONS, javax.ws.rs.POST, javax.ws.rs.PUT]
22:03:36.896 [Worker-123] Node @GET @Path("/{id:[0-9][0-9]*}") @Produces("text/xml") public Member lookupMemberById(@PathParam("id") long id){
new Service().method1();
return em.find(Member.class,id);
}
does not match search range: start=1334 (>= 1334) / end=1532 (<= 1526)
22:03:36.896 [Worker-123] Annotations found on lookupMemberById: {}
> Work with "Annotation Properties" view breaks JAX-RS explorer
> -------------------------------------------------------------
>
> Key: JBIDE-11766
> URL: https://issues.jboss.org/browse/JBIDE-11766
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Webservices
> Affects Versions: 3.3.0.Beta3
> Reporter: Jaroslav Jankovič
> Assignee: Xavier Coulon
> Fix For: 3.3.1, 3.4.0.M1
>
>
> After some random clicking on JAX-RS annotation in Annotation Properties view, JAX-RS breaks.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list