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 243221 - NetBeans freezes without apparent cause
Summary: NetBeans freezes without apparent cause
Status: RESOLVED INCOMPLETE
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.4
Hardware: Macintosh (x86) Mac OS X
: P2 normal (vote)
Assignee: Martin Kozeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-24 18:47 UTC by aolryd
Modified: 2014-04-01 07:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread Dump for Netbeans 7.4 (5.18 KB, text/plain)
2014-03-25 15:58 UTC, aolryd
Details
Example of thread dump (18.69 KB, application/octet-stream)
2014-03-26 06:39 UTC, Martin Kozeny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aolryd 2014-03-24 18:47:49 UTC

    
Comment 1 aolryd 2014-03-24 18:50:41 UTC
NetBeans is crashing at least 10 times a day (8 hours workloads) which is unbearable to work with. Because of the client requisitions we can not use another developer.
Crashes when:
1) Using Find in Projects
2) Debugging (have tried various solutions proposed in differents threads, none have worked).
3) Changing setting
4) Creating new files
5) Creating new Projects or importing new Projects
6) Opening files
7) Starting/Stopping a server

As you can see, it crashes because of everything. Please indicate what you need to help identify the cause.

Thank you,

Alejandro
Comment 2 Martin Kozeny 2014-03-25 07:34:50 UTC
Hi,

could you please provide some thread dump http://wiki.netbeans.org/GenerateThreadDump or stack trace at least? Then reopen the issue.

Thank you.
Comment 3 aolryd 2014-03-25 15:58:33 UTC
Created attachment 146314 [details]
Thread Dump for Netbeans 7.4

What I did...
1) Opened Netbeans
2) Started "Debug" of one of my projects
3) FREEZE OF NETBEANS
Comment 4 aolryd 2014-03-25 15:59:18 UTC
Hey,
    I'm not sure if this is what you needed. I followed the instructions on the Wiki you sent. If there is any additional data, please let me know.

Thanks,

Alejandro
Comment 5 Martin Kozeny 2014-03-26 06:39:24 UTC
No it's not. Thread dump should looks like the following attached file. Simply use e.g. jps & jstack Tools for printing thread dump. Output of the IDE log should be found here http://wiki.netbeans.org/FaqLogMessagesFile.
Comment 6 Martin Kozeny 2014-03-26 06:39:55 UTC
Created attachment 146321 [details]
Example of thread dump
Comment 7 aolryd 2014-03-31 17:12:54 UTC
Upon further investigating I found a hint that it is a problem between Mac Mavericks, Java 7 and NetBeans. The solution, suggested, is to use Java 8. Thus far I have not experienced a single problem. Just to leave this for further reference and future readers:
Netbeans 8
Java 8
Mavericks

That seems to solve this.

And just to be fair, this is not a NetBeans problem or error or bug. It is between Mac and Java.

Thanks!
Comment 8 Martin Kozeny 2014-04-01 07:10:33 UTC
Ok and can you tell me please which type of Java did you use before? For Java 7 please use at least JDK7u21. Thank you.