Re: Compile error but no line indicators

2024-06-13 Thread Mitch Claborn

I submitted a bug: https://github.com/apache/netbeans/issues/7467

Mitch

On 6/13/24 09:47, Ernie Rael wrote:

On 24/06/12 8:10 PM, Owen Thomas wrote:
I have experienced this as well. The best that I have been able to do 
is rely on build output. Don't know if anyone else is looking into 
this problem. It gets tedious when this happens for a complex build. 
It seems to happen for me most often when there is a problem with 
generic parameters.


I see this occasionally, where clearing the cache fixes it. It's 
difficult to come up with steps to reproduce it. Not sure what you can 
look it without being able to reproduce it.


I have always wondered if some kind of verify-cache/validate-cache is 
around or available. It might be expensive to run. But if you're in a 
situation where it happens frequently, turning it on might help finding 
the problem.


-ernie


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Compile error but no line indicators

2024-06-13 Thread Ernie Rael

On 24/06/12 8:10 PM, Owen Thomas wrote:
I have experienced this as well. The best that I have been able to do 
is rely on build output. Don't know if anyone else is looking into 
this problem. It gets tedious when this happens for a complex build. 
It seems to happen for me most often when there is a problem with 
generic parameters.


I see this occasionally, where clearing the cache fixes it. It's 
difficult to come up with steps to reproduce it. Not sure what you can 
look it without being able to reproduce it.


I have always wondered if some kind of verify-cache/validate-cache is 
around or available. It might be expensive to run. But if you're in a 
situation where it happens frequently, turning it on might help finding 
the problem.


-ernie


-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Re: Compile error but no line indicators

2024-06-12 Thread Owen Thomas
I have experienced this as well. The best that I have been able to do is
rely on build output. Don't know if anyone else is looking into this
problem. It gets tedious when this happens for a complex build. It seems to
happen for me most often when there is a problem with generic parameters.


Re: Compile error but no line indicators

2024-06-12 Thread Tilman Hausherr
I have had this problem for years, but closing and reopening solves it. 
I've always thought it's a memory exhaustion problem (despite having a 
lot of memory).


Tilman

On 12.06.2024 22:49, Mitch Claborn wrote:
This happens to me occasionally, usually when editing a fairly large 
java file. The icon in the tab will show a red indicator for a compile 
error, but there are no red indicators on the right gutter to show 
which lines have the error(s). If I'm lucky enough to find one the 
errors on my own, the method call will be in italics, showing an 
error, but there is no red indicator on the right.


Re-opening NetBeans does not help, nor does re-opening the file in 
question. The only way I've found to recover is to close NetBeans, 
delete the cache directory, then re-open NetBeans.


Any ideas? Maybe a bug?




-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Compile error but no line indicators

2024-06-12 Thread Mitch Claborn
This happens to me occasionally, usually when editing a fairly large 
java file. The icon in the tab will show a red indicator for a compile 
error, but there are no red indicators on the right gutter to show which 
lines have the error(s). If I'm lucky enough to find one the errors on 
my own, the method call will be in italics, showing an error, but there 
is no red indicator on the right.


Re-opening NetBeans does not help, nor does re-opening the file in 
question. The only way I've found to recover is to close NetBeans, 
delete the cache directory, then re-open NetBeans.


Any ideas? Maybe a bug?

--
Mitch

-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists