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 20140903-c18b0c00b87d) VM: Java HotSpot(TM) 64-Bit Server VM, 24.60-b09, Java(TM) SE Runtime Environment, 1.7.0_60-b19 OS: Mac OS X User Comments: thurka: Steps: 1) open OOME heap dump from issue #246796. 2) select byte[]#95436 instance in instances view. Stacktrace: java.lang.NegativeArraySizeException at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:64) at java.lang.StringBuilder.<init>(StringBuilder.java:97) at org.netbeans.modules.profiler.heapwalk.details.basic.ArrayValueView.getString(ArrayValueView.java:245) at org.netbeans.modules.profiler.heapwalk.details.basic.ArrayValueView.computeView(ArrayValueView.java:145) at org.netbeans.modules.profiler.heapwalk.details.spi.DetailsProvider$View$2.run(DetailsProvider.java:133) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
Created attachment 149054 [details] stacktrace
Fixed in profiler-main changeset: 277520:88aad9eb9ff3 user: Tomas Hurka <thurka@netbeans.org> date: Fri Sep 05 17:21:54 2014 +0200 summary: bugfix #246898, 'valuesCount*(2+separatorLength)' can be bigger than Integer.MAX_VALUE
Integrated into 'main-silver', will be available in build *201409060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/88aad9eb9ff3 User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #246898, 'valuesCount*(2+separatorLength)' can be bigger than Integer.MAX_VALUE