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 167434 - Long pauses while editing PHP code
Summary: Long pauses while editing PHP code
Status: CLOSED DUPLICATE of bug 166982
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P2 blocker with 1 vote (vote)
Assignee: Tomasz Slota
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2009-06-22 00:33 UTC by ritty
Modified: 2009-06-30 18:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log file by request (49.97 KB, text/plain)
2009-06-23 00:38 UTC, ritty
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ritty 2009-06-22 00:33:50 UTC
Consistently get long pauses (approximately 45 seconds) when editing PHP code. Can't do anything during pauses.
Comment 1 Filip Zamboj 2009-06-22 12:57:18 UTC
could you provide more, please? Steps to reproduce, for example, what were you writing when it happens, did you invoke
code completion? Could you attach messages that can be found in <netbeans_folder>/var/log/messages.log? Thanks a lot
Comment 2 Jiri Prox 2009-06-22 13:06:13 UTC
Can you please capture threaddump during this pauses?
Comment 3 ritty 2009-06-23 00:38:34 UTC
Created attachment 83902 [details]
messages.log file by request
Comment 4 ritty 2009-06-23 00:39:40 UTC
I have attached the messages.log file as found in C:\Users\User\.netbeans\6.7rc3\var\log\messages.log

Can you tell me how I can use threaddump during the pauses?
Comment 5 ingoreinhart 2009-06-25 19:24:39 UTC
Have the same problem since RC3!
It's unbelivible how bad RC3 is....
Comment 6 ingoreinhart 2009-06-25 20:37:12 UTC
More Info: I have this problem on Mac OS X

I type some chars, or want to copy some words - than the editor blocks all.


The last catch in my message.log:
        at
org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultTreePathVisitor.visit(DefaultTreePathVisitor.java:170)
        at org.netbeans.modules.php.editor.parser.astnodes.Block.accept(Block.java:93)
[catch] at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:51)
SEVERE [org.openide.util.Exceptions]
java.lang.IllegalStateException: WARNING: Going from readAccess to writeAccess through queue, see #10778:
http://www.netbeans.org/issues/show_bug.cgi?id=10778 
        at org.openide.util.Mutex.enterImpl(Mutex.java:698)
        at org.openide.util.Mutex.enter(Mutex.java:630)
        at org.openide.util.Mutex.readEnter(Mutex.java:613)
Comment 7 Tomasz Slota 2009-06-26 09:47:02 UTC
It is possibly the same problem as the one described in issue 167468. I really need a thread dump (or better a few of them) taken when the IDE pauses. 

See http://wiki.netbeans.org/GenerateThreadDump for instructions
Comment 8 beberlei 2009-06-29 09:51:58 UTC
I have the same issue on Vista, but after several tries I am unable to capture the complete threaddump using the Console
in Windows, since it seems you cannot really pipe it into a file. The isuse has my vote though :-)
Comment 9 Tomasz Slota 2009-06-29 13:08:41 UTC
seems it is a duplicate of issue 166982. Please download NetBeans 6.7 final where it should be fixed and verify.

*** This issue has been marked as a duplicate of 166982 ***
Comment 10 ingoreinhart 2009-06-30 18:55:34 UTC
Works now on Linux and Mac OS X with NB 6.7 final