Re: location file which saves compole errors

2020-04-30 Thread Peter Steele
Hi

Quick update, I down graded from java 13 to java 11 and the problem has
gone away so it looks like it is linked to Java 13.

Regards

Peter

On Sun, Apr 5, 2020 at 2:15 PM Peter Steele  wrote:

> Hi
>
> Netbeans seems to cache compile errors and on startup immediate flags
> those compile errors with a red underline and red marker.
>
> I am assuming to be the case if it's wrong then the question will have to
> change slightly.
>
> I am getting incorrect compile errors highlighted in red which persist
> restarts. My program compiles and runs successfully but the code keeps
> getting highlighted as if it was in error. This started off with one error
> but has exploded to a lot of classes having this issue now.
>
> I have had this before and previously deleted the netbeans .netbeans
> folder but I would rather just delete the file necessary to make netbeans
> clear it's cache.
>
> Any help would be appreciated
>
> Thanks
>
> Peter
>
> p.s. this issue isn't easily replicatable as it just happens all of a
> sudden
>
> P.p.s I am on 11.3 but this has happened on all previous netbeans versions
> (can remember if it happened on an oracle version or not though)
>


RE: location file which saves compole errors

2020-04-06 Thread Eirik Bakke
What kind of project is this? Java, Maven, or Gradle?

For me, these problems are usually fixed (at least in Maven projects) by 
exiting NetBeans, deleting the "index" subdirectory in the NetBeans cache 
directory (see About dialog), and starting NetBeans again, then doing a clean 
build.

-- Eirik

From: Peter Steele 
Sent: Sunday, April 5, 2020 9:15 AM
To: NetBeans Mailing List 
Subject: location file which saves compole errors

Hi

Netbeans seems to cache compile errors and on startup immediate flags those 
compile errors with a red underline and red marker.

I am assuming to be the case if it's wrong then the question will have to 
change slightly.

I am getting incorrect compile errors highlighted in red which persist 
restarts. My program compiles and runs successfully but the code keeps getting 
highlighted as if it was in error. This started off with one error but has 
exploded to a lot of classes having this issue now.

I have had this before and previously deleted the netbeans .netbeans folder but 
I would rather just delete the file necessary to make netbeans clear it's cache.

Any help would be appreciated

Thanks

Peter

p.s. this issue isn't easily replicatable as it just happens all of a sudden

P.p.s I am on 11.3 but this has happened on all previous netbeans versions (can 
remember if it happened on an oracle version or not though)


Re: location file which saves compole errors

2020-04-05 Thread Boris Heithecker
I'm encountering this too at times. I think it's a caching issue.
This works for me:
Go to the NetBeans cache directory, which is platform specific. On Linux
it's in .cache/netbeans/VERSION
Clear everything but not mavenindex and mavencachedirs. I'm sure that not
all files and folder must be deleted, so one try to find out which file
oder folder exactly must be removed.
Restart the IDE

Hope it helps,
Boris

On Sun, 5 Apr 2020 at 15:15, Peter Steele  wrote:

> Hi
>
> Netbeans seems to cache compile errors and on startup immediate flags
> those compile errors with a red underline and red marker.
>
> I am assuming to be the case if it's wrong then the question will have to
> change slightly.
>
> I am getting incorrect compile errors highlighted in red which persist
> restarts. My program compiles and runs successfully but the code keeps
> getting highlighted as if it was in error. This started off with one error
> but has exploded to a lot of classes having this issue now.
>
> I have had this before and previously deleted the netbeans .netbeans
> folder but I would rather just delete the file necessary to make netbeans
> clear it's cache.
>
> Any help would be appreciated
>
> Thanks
>
> Peter
>
> p.s. this issue isn't easily replicatable as it just happens all of a
> sudden
>
> P.p.s I am on 11.3 but this has happened on all previous netbeans versions
> (can remember if it happened on an oracle version or not though)
>


-- 
Boris Heithecker


Dr. Boris Heithecker
Lüneburger Str. 30
28870 Ottersberg
Festnetz: +49 4205 315834
Mobil: +49 170 6137015


location file which saves compole errors

2020-04-05 Thread Peter Steele
Hi

Netbeans seems to cache compile errors and on startup immediate flags those
compile errors with a red underline and red marker.

I am assuming to be the case if it's wrong then the question will have to
change slightly.

I am getting incorrect compile errors highlighted in red which persist
restarts. My program compiles and runs successfully but the code keeps
getting highlighted as if it was in error. This started off with one error
but has exploded to a lot of classes having this issue now.

I have had this before and previously deleted the netbeans .netbeans folder
but I would rather just delete the file necessary to make netbeans clear
it's cache.

Any help would be appreciated

Thanks

Peter

p.s. this issue isn't easily replicatable as it just happens all of a sudden

P.p.s I am on 11.3 but this has happened on all previous netbeans versions
(can remember if it happened on an oracle version or not though)