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 33852 - Command failures should not present exception dialog, but just an error message.
Summary: Command failures should not present exception dialog, but just an error message.
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: -S1S-
Hardware: PC All
: P4 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2003-05-23 08:28 UTC by Marek Fukala
Modified: 2005-01-31 13:23 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 Marek Fukala 2003-05-23 08:28:41 UTC
[nevada #030516]

Note: to reproduce the problem you must not have
installed the PVCS support.

1) open mount VCS generic dialog
2) select PVCS dialog
3) select project database (click select)
4) chooset the second option 

=> An exception dialog appears saying 'failed to
execute command...' . 
The message is ok, but the way how it's presented
to user is wrong. 
The exception dialog should containt neither 'Log
report' button nor the exception stack trace. 
IMO there should be only a simple dialog with OK
button and the error message.
At least the 'Log report' button should not be
present in the dialog.
Comment 1 Martin Entlicher 2003-11-27 10:14:40 UTC
Moving to vcscore module, which opens this dialog.
A standard annotated exception is thrown to present a localized message.
However, I agree, that the exception body is of no use and this
problem should most probably not be reported (unless we provide bad
commands in the profiles).

A simple error dialog (with the command execution string) is probably
enough. It can be reported into the ide.log as well.
Comment 2 Martin Entlicher 2005-01-31 13:23:36 UTC
Already fixed, probably as a part of another issue...