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 198578 - Design view freezes
Summary: Design view freezes
Status: RESOLVED DUPLICATE of bug 187697
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-13 08:47 UTC by diegoeg
Modified: 2011-07-18 13:50 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
dump file (27.07 KB, text/plain)
2011-07-06 08:22 UTC, ParaOct99
Details

Note You need to log in before you can comment on or make changes to this bug.
Description diegoeg 2011-05-13 08:47:16 UTC
Dear friends,

I am developing a NetBeans Platform application that uses the built-in GUI builder.

For a while I have been able to shift between the Code view and the Design view without a problem. However, after several days, whenever I shirt to the Design view the IDE freezes out, with the hourglass mouse pointer. The rest of the programs running at that time continue working, and you can jump to one another no probs. But when going back to NetBeans (NB), the screen fails to paint. I have waited up to 5 minutes and NB is still frozen.

After the first freezing event, NB works fine provided you don't go into Design View, where it would freeze again. I have found no fix for this except to uninstall NB and reinstall again.

This problem has happened to me in two different computers, one running Windows XP, the other running Windows 7.

Any thoughts?

Best regards

D
Comment 1 Marian Mirilovic 2011-05-17 07:15:59 UTC
Could you please generate thread-dump at the time of freeze, attach it here and reopen this issue ? http://wiki.netbeans.org/GenerateThreadDump
Thanks in advance.
Comment 2 diegoeg 2011-05-17 15:48:09 UTC
(In reply to comment #1)
> Could you please generate thread-dump at the time of freeze, attach it here and
> reopen this issue ? http://wiki.netbeans.org/GenerateThreadDump
> Thanks in advance.

Hi Marian,

Thanks for your help. How can I increase the line buffer length? (Windows XP) Right now I am loosing part of the thread dump.

Regards

Diego
Comment 3 diegoeg 2011-05-17 15:51:44 UTC
Sorry, forget this last comment, I found the answer (I should have looked first)

Thanks


(In reply to comment #2)
> (In reply to comment #1)
> > Could you please generate thread-dump at the time of freeze, attach it here and
> > reopen this issue ? http://wiki.netbeans.org/GenerateThreadDump
> > Thanks in advance.
> 
> Hi Marian,
> 
> Thanks for your help. How can I increase the line buffer length? (Windows XP)
> Right now I am loosing part of the thread dump.
> 
> Regards
> 
> Diego
Comment 4 ParaOct99 2011-07-06 08:22:01 UTC
Created attachment 109248 [details]
dump file
Comment 5 Jan Stola 2011-07-15 12:41:51 UTC
This is a well known regression in JDK. It appears in JDK 6 update 21 and 22 (and in some "old" JDK 7 builds). It has been fixed in JDK 6 update 23. Therefore, I suggest you to update your JDK.

*** This bug has been marked as a duplicate of bug 187697 ***
Comment 6 smarshie 2011-07-18 13:31:05 UTC
I am having the same problem using Netbeans 7.0 and 64-bit JDK 6 update 26....

Want to try with update 23 to see if OK - any ideas where to download from?

Steve
Comment 7 smarshie 2011-07-18 13:50:08 UTC
No, ignore me - I have discovered that Netbeans was using Update 21 instead of 26. Problem solved :)

Steve