|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
[68cat] [core] Spurious code errors being reportedHi,
Does anyone else see lots of incorrect errors reported in the tasks pane, the projects pane and the editor pane? I always see many. At the minute there are 105 code errors showing in the tasks pane for a maven project. The code builds quite happily with maven. The errors being reported are not consistent, so I have an error in the tasks pane for a java source file but no error badge on the project containing that source file. When I open that source file, it is then marked with an error badge in the projects pane, but it's project still shows no error badge. This has been happening for some time and is making Netbeans almost unusable. I have found that setting the maven option "On Project Open Download Binaries" to "Every Project Open" gives some respite from this problem, but dramatically slows startup and causes masses of unnecessary network traffic. Has anyone else run into these problems? Is there anything I can do to prevent the problems? Cheers Neil |
|
|
Re: [68cat] [core] Spurious code errors being reportedI didn't observe such behavior, but I don't use maven. Might be a Maven module issue?
Michael On Thu, Oct 15, 2009 at 11:16 AM, Neil Green <neil.r.green@...> wrote: Hi, |
|
|
Re: [68cat] [core] Spurious code errors being reportedIt could well be a maven issue. One source of the inconsistencies between the different error displays is that error badges don't seem to be propagated up the project tree from "Test Packages" in a maven project (http://www.netbeans.org/issues/show_bug.cgi?id=174636).
As I work out what the other conditions are I'll raise them as defects. Cheers Neil 2009/10/15 Michael Bar-sinai <mich.barsinai@...>
|
|
|
RE: [68cat] [core] Spurious code errors being reportedI don’t use the tasks pane, but I’ve noticed that it sometimes takes a while before an error clears on the tab or in the projects pane. I’ve been also having trouble with changes from an included project being recognized by the main project. I am not using maven. I came up with a simple test
case for http://www.netbeans.org/issues/show_bug.cgi?id=174006,
maybe you could try reproducing it? John Leed From: Neil Green [mailto:neil.r.green@...]
It could well be a maven issue. One source of the inconsistencies between the different error displays is that error badges don't seem to be propagated up the project tree from "Test Packages" in a maven project
(http://www.netbeans.org/issues/show_bug.cgi?id=174636). 2009/10/15 Michael Bar-sinai <mich.barsinai@...> I didn't observe such behavior, but I don't use maven. Might be a Maven module issue? On Thu, Oct 15, 2009 at 11:16 AM, Neil Green <neil.r.green@...> wrote: Hi, This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is confidential and protected by law from unauthorized disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. |
|
|
Re: [68cat] [core] Spurious code errors being reportedI witness quite often that there is an error in my code, and the error
is also displayed, but when I compile the compiler doesn't complain. Which is weird. It is as if the compiler uses other sources than I do. Then again, at times I see the error icon in the project view, which only disappears after opening the file and compile the project. But since I haven't been able to reproduce it, I thought it didn't make sense to report it. Iwan Leed III, John P wrote: > > I don’t use the tasks pane, but I’ve noticed that it sometimes takes a > while before an error clears on the tab or in the projects pane. > > I’ve been also having trouble with changes from an included project > being recognized by the main project. I am not using maven. I came up > with a simple test case for > http://www.netbeans.org/issues/show_bug.cgi?id=174006, maybe you could > try reproducing it? > > John Leed > > *From:* Neil Green [mailto:neil.r.green@...] > *Sent:* Thursday, October 15, 2009 7:28 AM > *To:* netcat@... > *Subject:* Re: [68cat] [core] Spurious code errors being reported > > It could well be a maven issue. One source of the inconsistencies > between the different error displays is that error badges don't seem > to be propagated up the project tree from "Test Packages" in a maven > project (http://www.netbeans.org/issues/show_bug.cgi?id=174636). > > As I work out what the other conditions are I'll raise them as defects. > > Cheers > Neil > > 2009/10/15 Michael Bar-sinai <mich.barsinai@... > <mailto:mich.barsinai@...>> > > I didn't observe such behavior, but I don't use maven. Might be a > Maven module issue? > > Michael > > On Thu, Oct 15, 2009 at 11:16 AM, Neil Green <neil.r.green@... > <mailto:neil.r.green@...>> wrote: > > Hi, > > Does anyone else see lots of incorrect errors reported in the tasks > pane, the projects pane and the editor pane? I always see many. At the > minute there are 105 code errors showing in the tasks pane for a maven > project. The code builds quite happily with maven. The errors being > reported are not consistent, so I have an error in the tasks pane for > a java source file but no error badge on the project containing that > source file. When I open that source file, it is then marked with an > error badge in the projects pane, but it's project still shows no > error badge. > > This has been happening for some time and is making Netbeans almost > unusable. I have found that setting the maven option "On Project Open > Download Binaries" to "Every Project Open" gives some respite from > this problem, but dramatically slows startup and causes masses of > unnecessary network traffic. > > Has anyone else run into these problems? Is there anything I can do to > prevent the problems? > > Cheers > Neil > > > ------------------------------------------------------------------------ > This e-mail message, including any attachments, is for the sole use of > the intended recipient(s) and may contain information that is > confidential and protected by law from unauthorized disclosure. Any > unauthorized review, use, disclosure or distribution is prohibited. If > you are not the intended recipient, please contact the sender by reply > e-mail and destroy all copies of the original message. |
|
|
Re: [68cat] [core] Spurious code errors being reportedThis sounds like part of the error badging problems that happen all
the time in 6.7.1 - it happens on generated code from consuming a web service, or or some interface implementations if the interface definition is nested in another class declaration. I would test with 6.8 builds, but everything I have that consumes a web service can't be built in 6.8 because of a strange dependency on JAX-WS 2.2 with no known workaround (at least none that anyone is willing to share :-) ) Scott On 2009-10-19, at 1:53 PM, Iwan Eising wrote: > I witness quite often that there is an error in my code, and the > error is also displayed, but when I compile the compiler doesn't > complain. Which is weird. It is as if the compiler uses other > sources than I do. > Then again, at times I see the error icon in the project view, which > only disappears after opening the file and compile the project. > > But since I haven't been able to reproduce it, I thought it didn't > make sense to report it. > > Iwan |
| Free embeddable forum powered by Nabble | Forum Help |