[jbosstools-issues] [JBoss JIRA] (JBIDE-17947) Java Model Exception occurs while typing
Radoslav Rábara (JIRA)
issues at jboss.org
Tue Jul 22 12:23:29 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-17947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987145#comment-12987145 ]
Radoslav Rábara edited comment on JBIDE-17947 at 7/22/14 12:21 PM:
-------------------------------------------------------------------
STEP: Create Dynamic Web Project with JAX-RS Support (in a clean workspace)
STEP: Create class Resource (copy code and save the file)
{code}
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
@Path("/")
public class Resource {
@POST
@Path("{car}")
public void post()
}
{code}
STEP: add
{code}
@PathParam("car") Car car
{code}
as parameter of method post (and don't save the file)
FAIL: error in error log
if the error message doesn't appear in the error log then try it with these extra steps:
STEP: save the file
STEP: remove @PathParam("car") Car car
STEP: save the file
STEP: add @PathParam("car") Car car (don't save the file)
FAIL: error in error log
see attached video {code}JBIDE-17947 (2).ogv{code}
was (Author: rrabara):
STEP: Create Dynamic Web Project with JAX-RS Support
STEP: Create class Resource (copy code and save the file)
{code}
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
@Path("/")
public class Resource {
@POST
@Path("{car}")
public void post()
}
{code}
STEP: add
{code}
@PathParam("car") Car car
{code}
as parameter of method post (and don't save the file)
FAIL: error in error log
if the error message doesn't appear in the error log then try it with these extra steps:
STEP: save the file
STEP: remove @PathParam("car") Car car
STEP: save the file
STEP: add @PathParam("car") Car car (don't save the file)
FAIL: error in error log
see attached video {code}JBIDE-17947 (2).ogv{code}
> Java Model Exception occurs while typing
> ----------------------------------------
>
> Key: JBIDE-17947
> URL: https://issues.jboss.org/browse/JBIDE-17947
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.0.Beta3
> Reporter: Radoslav Rábara
> Assignee: Xavier Coulon
> Labels: respin-c
> Fix For: 4.2.0.Beta3
>
> Attachments: JBIDE-17947 (2).ogv, stack trace, video.ogv
>
>
> While editing JAX-RS resource class, the following exception shows up in Error log
> {code}
> Java Model Exception: Java Model Status [post() {key=LResource;.post()V} [in Resource [in [Working copy] Resource.java [in <default> [in src [in DynamicWebProject]]]]] does not exist]
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jbosstools-issues
mailing list