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 149606 - infinite loop
Summary: infinite loop
Status: RESOLVED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-09 11:12 UTC by matheszabi
Modified: 2009-05-25 20:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump, exception, log (29.29 KB, application/x-compressed)
2008-10-09 14:00 UTC, matheszabi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matheszabi 2008-10-09 11:12:33 UTC
I have created a desktop database application. I bund a JLabel "enabled" property to a database entity String property.
After that on the properties window I want to set the initial state of the enbled property. After I cliked on the
checkbox enabled: It generates an infinite loop!
Comment 1 Petr Dvorak 2008-10-09 11:51:13 UTC
Can you please attach the information from help>about so that we can see the NB build number, JDK version and OS info?

Could you also please verify if this issue is still present in latest development version? 

http://bits.netbeans.org/download/trunk/nightly/latest/

Also, is this issue reproducible? If yes, can you please provide numbered steps describing how to reproduce it and
generate a thread dump so that we can investigate this a little further? Thread dump is very useful, maybe the most
useful piece of information in cases like this...

http://wiki.netbeans.org/GenerateThreadDump
Comment 2 Vitezslav Stejskal 2008-10-09 11:55:58 UTC
I am sorry, but what do you mean by 'It generates an infinite loop!'? Do you mean that [1] the IDE freezes up and no
longer responds to mouse and keyboard? Or that [2] the java code generated by the IDE is wrong and when your program
starts it will end up in an infinite loop? Or something else?

If [1] please generate several threaddumps when the IDE is frozen and attach them here. Here are details about how to
generate a threaddump - http://wiki.netbeans.org/GenerateThreadDump. If [2] please describe exact steps and attach the
generated code here. In any case please attach the IDE's log file from <nb-userdir>/var/log/messages.log. Thanks
Comment 3 matheszabi 2008-10-09 12:05:16 UTC
Product Version: NetBeans IDE 6.1 (Build 200804211638)
Java: 1.6.0_05; Java HotSpot(TM) Client VM 10.0-b19
System: Windows Vista version 6.0 running on x86;

Of course it is repetitive, because: 
1. I have bound the enabled property to something with read-write events.
2. I have modifyed the enabled property within the editor.

The netbeans takes all processor time: I see 50% busy on my dual core procesor, and the 50% is occuped by the java.exe 
witch is the Netbeans process...
So no keyboard or mouse action on the netbeans.

One way to solve this problem can be to disable the enabled property settings on the property panel.
I am on work time. I didn't want to frooze the netbeans and learh how to start the thread dump now. Maybe a lille bit 
later. 
Comment 4 Vitezslav Stejskal 2008-10-09 13:26:46 UTC
> I am on work time. I didn't want to frooze the netbeans and learh how to start the thread dump now.
> Maybe a lille bit later. 

Fair enough, thanks for your time. Please send us the threaddumps anytime you want, but please send them, because
otherwise we might not be able to track this down. Thanks
Comment 5 matheszabi 2008-10-09 14:00:20 UTC
Created attachment 71461 [details]
thread dump, exception, log
Comment 6 matheszabi 2008-10-09 14:03:18 UTC
The netbeans generates an Stack overflow exception if I give tham enoght time ... 
The thread dump was created after the excepton has been created.
Comment 7 Vitezslav Stejskal 2008-10-09 14:13:48 UTC
Thanks for the attachment!
Comment 8 Jan Stola 2008-10-09 15:05:45 UTC
I am sorry, I still do not understand how to reproduce this issue. Could you, please, provide _exact_ steps to 
reproduce? The attached exception shows some infinite loop, but it is not clear what is the cause of this loop e.g. how 
it was created. Thank you in advance.
Comment 9 pribyl 2008-12-07 19:29:20 UTC
Reporter didn't provided required information for more than 14 days. 
I'm closing this issue as worksforme, as we are not able to reproduce it with available information. 
matheszabi, feel free to reopen when you face the problem again but attach additional info jstola requested.

thank you for report