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.
Running the daily build from 2007-10-14 on JDK6u2 on Ubuntu 7.04. I open a binary heap dump file and use the experimental Analysis feature to run the "Collapse (Weak)HashMaps" rule. I get this error: java.lang.ArithmeticException: / by zero at org.netbeans.modules.profiler.heapwalk.memorylint.rules.CollapsedHashMap.scanHashmap(CollapsedHashMap.java:96) at org.netbeans.modules.profiler.heapwalk.memorylint.rules.CollapsedHashMap.perform(CollapsedHashMap.java:74) at org.netbeans.modules.profiler.heapwalk.memorylint.IteratingRule.perform(IteratingRule.java:94) at org.netbeans.modules.profiler.heapwalk.memorylint.MemoryLint.process(MemoryLint.java:85) at org.netbeans.modules.profiler.heapwalk.AnalysisController$1.run(AnalysisController.java:66) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964) The heap dump I used is a rather large one that I got from thurka and jis.
profiler/modules/main/src/org/netbeans/modules/profiler/heapwalk/memorylint/rules/CollapsedHashMap.java,v1.2