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 244239 - NB will occasionally close for no apparent reason whilst typing in source editor, latest saved changes are lost.
Summary: NB will occasionally close for no apparent reason whilst typing in source edi...
Status: RESOLVED INCOMPLETE
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-02 01:28 UTC by Geoff_C
Modified: 2014-05-06 08:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log for session prior to crash. (780.54 KB, text/plain)
2014-05-02 01:31 UTC, Geoff_C
Details
hs_err file (32.08 KB, text/plain)
2014-05-06 03:33 UTC, Geoff_C
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geoff_C 2014-05-02 01:28:55 UTC
Product Version = NetBeans IDE 8.0 (Build 201403101706)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01

This has happened twice now, where I will be typing in the source editor and saving changes as I go along, then in the midst of further typing NetBeans will disappear/crash.

Upon reloading the changes to the file are all lost for that small block of editing, including the ones that I'd expect to have been saved. Changes over a slightly longer timespan are still saved.

There is nothing in the Windows event logs around the time of the crash.
Comment 1 Geoff_C 2014-05-02 01:31:43 UTC
Created attachment 147055 [details]
IDE log for session prior to crash.
Comment 2 Antonin Nebuzelsky 2014-05-05 12:00:09 UTC
Try searching for hs_err_pid[pid].log file with Java crash details.

Regardless of the details of the crash, you should update your JDK installation to the newest 7u55 or 8u5 and run NetBeans on that new JDK version. After installing new JDK, modify your netbeans.conf to point at the new JDK.
Comment 3 Geoff_C 2014-05-06 03:33:39 UTC
Created attachment 147126 [details]
hs_err file
Comment 4 Geoff_C 2014-05-06 03:35:48 UTC
Thanks Antonin. I have changed NB to use the latest JDK I have on my PC, 8u20, and I'll see how that goes.
Comment 5 Antonin Nebuzelsky 2014-05-06 08:41:02 UTC
Thanks for the hs_err log. The VM crashed in Garbage Collection thread. To report to Java we'd need a log from the latest JVM. Please reopen with the log if you encounter the crash again.