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.
- Select im main menu Profiler->Load Heap Dump... - select any non Heap Dump file and press Open Button nothing happend plus exception in log Will be good to have Error message about wrong format Also will be nice to use filter for Open Heap Dump File dialog
Filter is not defined because heap dumps in hprof format can have several extensions - .hprof, .bin and others. Will show an error message when dump cannot be loaded.
Reproduced with: Profiler 070205 NetBeans IDE Dev (Build 200702011900) 1.5.0_10; Java HotSpot(TM) Client VM 1.5.0_10-b03 Windows XP version 5.1 running on x86 ru_RU (nb); Cp1251 Exception (attached) is thrown when incorrect file is selected: java.nio.BufferUnderflowException Since there are several common extentsions it would be better to provide the appropriate filter as well as All Files filter. The absence of filter seems to be a usability issue.
Created attachment 38040 [details] Exception
*** Issue 98592 has been marked as a duplicate of this issue. ***
Implemented a dialog notifying about loading heapdump failure. Still needs to correctly handle java.nio.Buffer.nextGetIndex and provide correct localized message in IOException. Reassigning.
Fixed in trunk.
verified in NetBeans IDE 6.0 Beta 2 (Build 200710160000)