This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 268515 - Netbeans 8.2 with JDK 8.0.101 Closing/Restarting with no error frequently
Summary: Netbeans 8.2 with JDK 8.0.101 Closing/Restarting with no error frequently
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 8.2
Hardware: PC Windows 10 x64
: P3 normal with 1 vote (vote)
Assignee: Antonin Nebuzelsky
: 268998 (view as bug list)
Depends on:
Reported: 2016-10-13 22:28 UTC by simsman2695
Modified: 2017-08-05 15:11 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

NetBeans 8.2 crash log (40.10 KB, application/octet-stream)
2016-11-09 12:03 UTC, gabrieldiasrosa

Note You need to log in before you can comment on or make changes to this bug.
Description simsman2695 2016-10-13 22:28:42 UTC
Netbeans closes or restarts losing all work that I was working on. Started a few days ago with no changes to NetBeans. Read around and tried updating drivers and reinstalling NetBeans and JDK with no luck. I am unable to work on projects and I am about to find another IDE after years of using Netbeans
Comment 1 Tomas Hurka 2016-10-14 10:27:17 UTC
This looks to me like JDK crash. In general the first step with any crash is to locate the fatal error log. This is a text file that the HotSpot VM generates in the event of a crash. By default the file name is hs_err_pid <pid> .log, where pid is the process ID of the process. The system attempts to create the file in the working directory of the process. In the event that the file cannot be created in the working directory (insufficient space, permission problem, or other issue), the file is created in the temporary directory for the operating system. On Solaris OS and Linux the temporary directory is /tmp. On Windows the temporary directory is specified by the value of the TMP environment variable; if that environment variable is not defined, the value of the TEMP environment variable is used.

Once you locate the fatal error log, please attach it to this bug.
Comment 2 gabrieldiasrosa 2016-11-09 12:03:49 UTC
Created attachment 162847 [details]
NetBeans 8.2 crash log
Comment 3 gabrieldiasrosa 2016-11-09 12:04:07 UTC
Same problem on Windows 10 Pro (x64).
Comment 4 gabrieldiasrosa 2016-11-09 12:33:37 UTC
Found out the solution.

I'm using 3 monitors, 2x on VGA and 1x on motherboard.

When i'm not using the motherboard monitor NetBeans works nice.
Comment 5 nhujanen 2016-11-16 12:13:44 UTC
*** Bug 268998 has been marked as a duplicate of this bug. ***
Comment 6 nhujanen 2016-11-16 12:15:49 UTC
Confirmed here with W10 x64 + 3 monitors. 
Tried to run NetBeans with newest JRE - crashes still occure.
Comment 7 guyost 2017-08-05 15:11:52 UTC
Hello I also have the same problem with 3 and 4 monitors. 2 monitors on the motherboard, and 2 on an additionnal AMD Radeon R7 video card.

I found a workaround that works for me, I can't know if that can work for you too, but worth a try.

1. Close Netbeans.
2. Disable Monitors plugged on the motherboard (keep on only the monitors on the external card, in my case AMD Radeon)
3. Start Netbeans and wait for it to load your project.
4. Turn on all your monitors again

That way, I never got any crash (usually it crash in less than 1 minute).