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 109901 - Usability: Error message sent to user as "Information"
Summary: Usability: Error message sent to user as "Information"
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-16 21:05 UTC by Vince Kraemer
Modified: 2007-10-01 15:18 UTC (History)
2 users (show)

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 Vince Kraemer 2007-07-16 21:05:13 UTC
install NB 6.0 M10 on Solaris 10 x86.

Configure the ide to use jdk 6 update 2

Install b55 of GF V2

Configure GF  to use jdk 6 update 2 [same install as the jdk for the IDE]

Register the instance/domain as a local default domain

Start the domain, to confirm that it starts correctly.

Stop the domain.

Use the 'Start in Profile Mode' item on the instance's right click menu.

Select JDK 1.6 (Default) from the dialog that appears.  
   Title of the dialog: Select Java Platform For Profiling

Read the informational dialog that says...
   "The server will be started for Direct Attach with these settings
    Java Platform: JDK 1.6 (Default)
    Agent port: 5140

    Click "OK" to start the server"

The server is started.

The last line of the Server Log display 
  "Profiler Agent: Initialized succesfully"

Select "Attach Profiler" item from the Profile menu.

The "Attach Profiler" dialog appears.

Press the Monitor button on the left side of the dialog

Enable threads monitoring.

Press Attach button.

Forget to read the lengthy information dialog that tells the user that profiling will stop... because they haven't done
a calibration yet.

Read the short Error dialog that says that the profiler could not attach to the process that you wanted to profile.

The Information dialog that appears after the user presses the Attach button may be better if:

1. It said that it was an ERROR dialog and not a "Information" dialog.
2. The text was shorter.


It would be nice to get this information dialog right after the user selected the JDK to use... even BEFORE the server
is actually started...

that would avoid some confusion.
Comment 1 Alexander Kouznetsov 2007-07-17 10:21:02 UTC
See also issue 96285, issue 94315, issue 60455
Comment 2 Jiri Sedlacek 2007-08-02 18:23:15 UTC
Changed dialog type to Error. Only short message is now displayed with a possibility to display more details. Filed a 
RFE for detecting not calibrated Java platform before profiling: Issue 111809.

Fixed for Beta1.
Comment 3 Alexander Kouznetsov 2007-10-01 15:18:33 UTC
Verified with 20071001