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.
Some times the ide crash with OOM Exception. From the thread dump it's clear that resolving prototype chain can be never ending: at org.netbeans.modules.javascript2.editor.model.impl.ModelUtils.findPrototypeChain(ModelUtils.java:838) at org.netbeans.modules.javascript2.editor.model.impl.ModelUtils.findPrototypeChain(ModelUtils.java:838) ..... Still the same line.
Created attachment 130069 [details] Reproducible in this file It can be reproducible in the attached file.
This is showstopper for NB 7.3
Fixed in web-main: http://hg.netbeans.org/web-main/rev/c9ab1248b1f0 Could I ask QE for verification? Thanks
Petre, could you please review the fix. Thanks.
(In reply to comment #4) > Petre, could you please review the fix. Thanks. The fix seems to be ok.
Integrated into 'main-golden', will be available in build *201301110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/c9ab1248b1f0 User: Petr Pisl <ppisl@netbeans.org> Log: #224688 - Long recursion during finding prototype chain
I'll try it later today
Verified, seems OK Product Version: NetBeans IDE Dev (Build 201301140001) Java: 1.7.0_10; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-b18 System: Linux version 3.2.0-35-generic-pae running on i386; UTF-8; en_US (nb)
The fix transplanted into releases73 branch: http://hg.netbeans.org/releases/rev/f860f8e3d751
Integrated into 'releases', will be available in build *201301142100* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/f860f8e3d751 User: Petr Pisl <ppisl@netbeans.org> Log: #224688 - Long recursion during finding prototype chain
No issue found in RC1, verified Product Version: NetBeans IDE 7.3 RC1 (Build 201301142100) Java: 1.7.0_10; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-b18 System: Linux version 3.2.0-35-generic-pae running on i386; UTF-8; en_US (nb)