NetBeans IDE Dev (Build 070425)
1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87
Mac OS X version 10.4.9 running on i386
en_US (nb); MacRoman
Create a new project
Select Identity Sample, Stack Service and Stack Client
On the web app there is a red "x" like something is broken
Expand nodes containing the red x.
Open the file that has a red x on it.
There are many underlinings but the sample builds fine and deploys without errors.
I sometimes see a green circle by an offending line and I can click it and the
red "x" goes away. Closing the project and IDE and reopening also can cure the
red "x". This is a P1 because it appears that the sample is broken when in fact
it is not.
Also to be noted, when you create the sample there are a few reference problem
that have to be resolved before deploying and running the sample.
I think this issue could be related to the issue #101387. I will look at it more.
In my opinion "... because it appears that the sample is broken when in fact it
is not." is not a reason why it should be P1. Regarding to
http://qa.netbeans.org/bugzilla/bug_priority_guidelines.html it is more P3. As
you said, the project can be built and deployed. I agree that the red x is
confusing but I also believe that all user will try to build the project to find
what is wrong and if they see the project is working they will not panic.
I made it a P1 per discussion w/ peterliu. If he has no problem with the
priority I am OK with it. I have found that the most effective way to resolve
the issue is to drill down the configuration node of the project in project
navigator and simply open StockService.wsdl. Once you do that "x"'s go away.
Ok, thanks for the additional information. The red x feature was implemented
outside of web project so this project is not directly responsible for this icon
badgeing. I will discuss it with the responsible developer.
This problem was improved by fix of issue 101387 but there are still some minor issues given by current implementation
of web services support in NB, e.g. Java files generated from WSDL are stored in build folder and therefore clean
removes them and therefore code completion gets broken and files gets annotated as having compilation error although
building them will pass.