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.
Build: NetBeans IDE Dev (Build 201004270201) VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03 OS: Linux User Comments: GUEST: This happend durring method suggestion at Zend_Form GUEST: I'm closin a red bottom altosch: PHP code. Tried to use one option from the offered code completion menu. Then whole program freezed for about 10sec and the exception appeared. Stacktrace: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2760) at java.util.Arrays.copyOf(Arrays.java:2734) at java.util.ArrayList.ensureCapacity(ArrayList.java:167) at java.util.ArrayList.add(ArrayList.java:351) at org.netbeans.modules.php.editor.indent.FormatVisitor.addFormatToken(FormatVisitor.java:915) at org.netbeans.modules.php.editor.indent.FormatVisitor.visit(FormatVisitor.java:772)
Created attachment 98100 [details] stacktrace
Created attachment 98115 [details] stacktrace
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=164515
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=164515
I don't know what is the problem. According the stacktraces is not possible find out the root of the problem. It would be great, if someone could attach heapdump.
Unfortunatelly it's not possible to attach heapdumps into bugzilla. Go to exceptions reporter side, open one of the set of duplicates and get heapdumps. It should be attached to all reports after 6.8. Also note that duplicates are not recognized based on heapdump. Just evaluate, fix if possible and close the bug - new one will be generated automatically for the rest of problems in few days.
Could please someone attached a file, when it happened? It would be very helpful. Thanks
I committed an assertion that should help to find out the root of the problem.
Integrated into 'main-golden', will be available in build *201005122200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ User: Log:
Thaks to Darthx for the file. Unfortunately it works for me and I'm not able to reproduce it. Are you able to reproduce this issue with this file?
*** Bug 184921 has been marked as a duplicate of this bug. ***
The latest reports are from NetBeans 6.8 o NetBeans 6.9 Beta. We are not able to reproduce it in the latest builds. Also according user report in issue #184921, the user is not able to reproduce the issue in latest builds. I'm marking this issue as incomplete until there will not be a reproducible case or new exception report from the latest NB 6.9 builds.
I think I have the same problem with build 100708. Submitted the issue to the Exception Reporter, id #408298, classified as a duplicate of report #168815, ie bug 187330. But from the symptoms and the stack trace it looks more like this bug. I hope this can reopen the case. From my original error report: In a PHP project I typed "fore" and pressed TAB co autocomplete into foreach. I encountered the problem on 6.9, then downloaded a nightly build from http://bits.netbeans.org/dev/nightly/2010-07-08_00-01-15/ Did not import settings from the old installation. The PHP project was used with 6.9 previously.