Open MaciejNiemczyk opened 1 year ago
In messages.log before this stack trace always is (of course times are different):
INFO [org.netbeans.ui.indexing]: Indexing started, time from last indexing 5 187 ms. INFO [org.netbeans.ui.indexing]: Indexing finished, indexing took 33 ms. WARNING [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]
Finally I have some time to check it more specific. Most of projects are working without problems, but I found project which causing this problem and started to delete files from it. At finish I got only pom.xml and error still occurs.
At start I'm testing on installation of Apache Netbeans 20, next I delete its folders from AppData/Local/Netbeans/20 and AppData/Roaming/Netbeans/20, downloaded zipped binaries and installed newest JDK21. After these steps I started fresh unzipped Netbeans, opened attached project and get error. netbeans-test.zip
It turns out that I had corrupted sources jars in maven repository folder. After deleting corrupted jars everything works properly. The only thing to improve is to catch exception.
Seeing this Exception with Netbeans 21: messages.log
Also seeing consistently in Netbeans 22. I have been unsuccessful creating a simple project that exhibits the issue. My current project is a multi-module maven project with about 24 modules. In the log it references a .dump file, but it has the source of a file that caused an issue this time. It's not always the same file though. Is there a way to send that securely somehow?
it seems the side effect of this issue includes the inability to get context-sensitive help for variables/classes as well as the inability to debug specific methods or set breakpoints. It doesn't think the class/method is a valid test nor does it think the breakpoint is in a valid location. The 'Navigate' context menu functionality such as "Go to Source..." or "Go to Implementation..." also does not function in this state. If I manage to get the debugger running and it stops on a breakpoint, it shows the value of all variables as 'null'. This is maddening. Going to upgrade to Netbeans 23 shortly and try it.
Apache NetBeans version
Apache NetBeans 19
What happened
Very often in notifications I can see Unexpexted exception error, when I click details there is such stack trace:
How to reproduce
I don't know, it happens on different situations while using Netbeans
Did this work correctly in an earlier version?
Apache NetBeans 15
Operating System
Windows 10 version 10.0 running on amd64; UTF-8; pl_PL (nb)
JDK
17.0.8; Java HotSpot(TM) 64-Bit Server VM 17.0.8+9-LTS-211
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
No response
Are you willing to submit a pull request?
No