[
https://issues.jboss.org/browse/JBIDE-17947?page=com.atlassian.jira.plugi...
]
Alexey Kazakov commented on JBIDE-17947:
----------------------------------------
+1 to merge this PR into Beta3 (the PR is targeting master, don't forget to merge into
beta3 branch too). But null-check is not a silver bullet. See my comments in github:
{quote}
The problem is that as-you-type validation works in a separate job. It may happen that
this method exists in the time of this null checking but won't when you do
NodeFinder.perform().
So a core exception still can be thrown here. There is not much you can do actually. You
should just be ready to get a Core Exception and handle it properly.
Anyway this PR looks OK for Beta3 since it decreases the possibility of getting a
CoreExeption. But we should be sure that JAX-RS tools have a proper exception handling. It
can be done for CR1.
{quote}
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: Alexey Kazakov
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)