Search code examples
netbeansstartupfreezenetbeans-11

Why does my NetBeans 11.2 IDE freeze upon startup and how do I fix it?


This question has been asked before, most of them (if not all) however are 4 years or older and do not concern the 11.2 build specifically.

My issue is pretty much as the title says. 8/10 times I open up my NetBeans IDE, it freezes shortly after starting up. Typically while it says it's in the process of "Background scanning of projects...".

I've tried several things without any luck. These include:

  1. Clear the cache folder inside C:\Users\malthe.w\AppData\Local\NetBeans\Cache
  2. Close NetBeans, move project folders out to a different location and reopen NetBeans.
  3. Only have one project open at a time (meaning closing all unused projects).
  4. Disabling unused plugins.

My workaround at the moment is to restart my laptop entirely, which is not a very viable solution considering how often my NetBeans suddenly freezes indefinitely in the middle of work.

One thing to note is that during every startup, NetBeans insists on opening old tabs from old projects, even though they have been closed previously.

I'd be happy to provide some logs of some kind, I just don't know where to find them. So please let me know if needed.

Edit:

Laptop Specs:

  • Intel Core i5-8265U CPU @ 1.60GHz 1.80GHz
  • 8,00 GB RAM
  • Windows 10 Home Version 1909, OS build 18363.720, x64-based processor

Here's my NetBeans 11.2 log file: https://pastebin.com/S631dbfk

I'm using JDK 8.0 with NetBeans 11.2.

Can't really see what exactly the problem is in the logs, but I guess memory could be the issue. Thing is I just have a lot of peers with the same or less amount of RAM that I have, but their NetBeans works just fine.


Solution

  • SOLVED

    Problem seemed to be with the version of Windows I was running (Windows 10 Home), as completely reinstalling Windows 10 (Enterprise version) managed to fix the issue.