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.

Bug 92792 - Error dialog for taking heap dump should be more informative
Summary: Error dialog for taking heap dump should be more informative
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-18 17:16 UTC by Ivan Sidorkin
Modified: 2007-02-13 08:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Sidorkin 2007-01-18 17:16:05 UTC
profiler build 070117

- run application with profiler agent
- connect to it fom another computer
- try to take heap dump

Error dialo displayed with message:
"Taking Heap dump failed. See NetBeans log file for detailes."

Error message should be more informative.

The same error message shows when try to get heap dump localy using jdk1.5
Comment 1 Jiri Sedlacek 2007-01-19 13:20:49 UTC
I cannot reproduce the problem, please provide exact steps. I've used 1.5 for 
local profiling and the dialog showed a warning that 1.6 or 1.7 has to be used. 
For remote profiling it warns that take heap dump isn't supported.
Comment 2 Alexander Kouznetsov 2007-02-05 10:53:31 UTC
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

Experienced different behavior using Dump Heap button in Profiler Control Panel
and using Dump Heap menu item. Information message is shown only for the menu
item, when using Control Panel button the error message (the same as in the
original description) is shown and the following line is added to messages.log file:

*** Profiler error (Mon Feb 05 13:49:46 MSK 2007): error in
getAndCheckLastResponse: for NO TYPEError, Take heap dump is not available. got
error message: Take heap dump is not available. and context message takeHeapDump.
Comment 3 Jiri Sedlacek 2007-02-12 15:57:08 UTC
Fixed for M7.
Comment 4 Ivan Sidorkin 2007-02-13 08:59:18 UTC
verified in 070213