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 190543 - Generating doc block will Netbeans cause to hang
Summary: Generating doc block will Netbeans cause to hang
Status: RESOLVED DUPLICATE of bug 190622
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: issues@php
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-23 07:28 UTC by mdekrijger
Modified: 2010-10-06 12:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mdekrijger 2010-09-23 07:28:41 UTC
Product Version = NetBeans IDE 6.9.1 (Build 201007282301)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01

Sometimes, generateing a docblock (typing /**<enter> above a method) will cause Netbeans to hang. Everything in the IDE is unusable. CPU load isn't high, mouse cursor changes into the select cursor. Only thing I can do is kill netbeans in the task manager, and restart it. I cant figure out why this behaviour seems to happen now and then. I do know it always crashes on the same class and same method, but I can't predict on wich class/method this will happen. It must have something to do with this class and method specific.

As soon as I figure out when this behaviour occurs again, I will surely update this issue.
Comment 1 mdekrijger 2010-09-23 07:43:57 UTC
First of all I forgot to mention that this problem occurs within PHP development workspaces. 

Ok, tried to reproduce it;

Restarted Netbeans and went to the specific class. I don't think it matters wich class I take.

During the "scanning projects" task, it is no problem, because the docblock will be empty, because it doesn't know its context yet (because of "scanning projects")

After "scanning projects" task completes, it also seems to work. It tries to find the parameters and return types. And generates a default docblock.

So it doesn't seem to be class / method dependant.

I think I found the problem. When I type "/**" and wait for a few seconds, and then press <enter> it's ok.

But if I immediately press <enter> it will cause to hang.

Hope this is enough information to reproduce the problem, if additional information is needed, please let me know on mdekrijger [at] e-sites [dot] nl
Comment 2 Petr Pisl 2010-10-06 12:58:29 UTC

*** This bug has been marked as a duplicate of bug 190622 ***