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 144522 - NetBeans 6.1/6.5 often hangs on Mac OS X at opening file
Summary: NetBeans 6.1/6.5 often hangs on Mac OS X at opening file
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 6.x
Hardware: Macintosh (x86) Mac OS X
: P2 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-20 06:20 UTC by Masaki Katakai
Modified: 2008-08-23 13:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack trace 1 : jdk1.5 (28.46 KB, text/plain)
2008-08-20 06:26 UTC, Masaki Katakai
Details
stack trace 2 : jdk1.5 (29.43 KB, text/plain)
2008-08-20 06:27 UTC, Masaki Katakai
Details
stack trace 3 : jdk6 (36.03 KB, text/plain)
2008-08-20 06:27 UTC, Masaki Katakai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2008-08-20 06:20:51 UTC
NetBeans IDE 6.5 Beta (Build 200808111757)
Mac OS X 10.5.4
Java:
  - 1.6.0_05; Java HotSpot(TM) 64-Bit Server VM 1.6.0_05-b13-52
  - 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119

When new file is opened into editor from navigation window by double clicking,
NetBeans on Mac OS X often hangs. It happens on both JDK1.5 and JDK6.
Also I'm seeing this issue both on NetBeans 6.1 and NetBeans 6.5 Beta.
It happens sometimes when I opened xml file and html file, but sometimes
happens when I opened .java file.

I decided to file this issue because some community members in Japan
are complaining this issue. They are blogging about the issue, at least,
I know at least 3 folks are wrinting the entries, also there was a post
to Japanese local mailing list. The person was saying the issue happens
3~4 times in 2 hours.

I'm also Mac user and seeing this issue on my desktop.

I was thinking this issue is,

http://www.netbeans.org/issues/show_bug.cgi?id=135807

but when I tried NetBeans 6.5 Beta with -J-DFolderArchive.noNormalize=true,
I'm still seeing this issue.

Any idea? I will attach the stack trace.
Comment 1 Masaki Katakai 2008-08-20 06:26:35 UTC
Created attachment 67915 [details]
stack trace 1 : jdk1.5
Comment 2 Masaki Katakai 2008-08-20 06:27:17 UTC
Created attachment 67916 [details]
stack trace 2 : jdk1.5
Comment 3 Masaki Katakai 2008-08-20 06:27:59 UTC
Created attachment 67917 [details]
stack trace 3 : jdk6
Comment 4 Jaromir Uhrik 2008-08-21 13:11:04 UTC
Passing to editor which is likely the right component.
Comment 5 Vitezslav Stejskal 2008-08-21 15:31:20 UTC
Thanks Masaki. If I am not mistaken the problem seems to be in Apple's JDK. There is a deadlock between AWT-EventQueue-1
and AWT-AppKit threads. The two locks involved are ava.awt.Component$AWTTreeLock and apple.awt.CInputMethod. I would
recommend to report this to Apple. Thanks
Comment 6 Masaki Katakai 2008-08-21 17:11:24 UTC
Sure. Thank you very much for quick evaluation! I'll try to check the JDK bug against Apple's JDK.
Comment 7 Masaki Katakai 2008-08-23 13:45:57 UTC
I have filed this issue against Apple's Java as bug ID:6171355.