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 14674 - Exceptions in ide.log
Summary: Exceptions in ide.log
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: xtest (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
: 18155 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-08-22 15:29 UTC by Milan Kubec
Modified: 2004-10-01 15:17 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
implementation of ErrorManager (13.48 KB, text/plain)
2004-06-15 15:21 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2001-08-22 15:29:42 UTC
There should be a support for reporting Errors logged in ide.log file, either by
providing custom ErrorManager for IDE or by scanning ide.log file as
postprocessing.
Comment 1 David Simonek 2002-02-20 15:53:59 UTC
We prefer impl of custom ErrorManager, this would help us for example
for tests for window system, as situations where errors are reported
through ErrorManager are quite common.
I'm raising priority, because I believe this is important and desired
for some time. Change back if you disagree, of course.
Comment 2 Martin Brehovsky 2002-05-17 18:05:44 UTC
*** Issue 18155 has been marked as a duplicate of this issue. ***
Comment 3 Martin Brehovsky 2002-05-17 18:07:29 UTC
First version of custom error manager functionality is in CVS. You can
try it. Please note, you need updatet extra binaries for XTest and it
will work only on builds with openide specification version > 2.0
Comment 4 Martin Brehovsky 2002-10-22 13:55:53 UTC
XTest error manager does not work. Because of clashes with
NbErrorManager, its functionality was temporarily disabled.

This needs to be solved soon.
Comment 5 pzajac 2004-06-15 15:21:07 UTC
Created attachment 15706 [details]
implementation of ErrorManager
Comment 6 pzajac 2004-06-15 15:25:36 UTC
I've implemented simple ErrorManager and added it to nbjunit-ide.jar.
 The notification about exception is in the JUnitTestRunner class.
Look at the patch.  
Comment 7 Jiri Skrivanek 2004-06-28 15:40:56 UTC
Thanks to Petr Zajac I added error manager functionality to XTest. It
is enabled by default. To disable use xtest.ide.error.manager=false.
If an exception or error is caugth by error manager, the test case
currently running is signed as error and appropriate stack trace is
added to results.
Comment 8 pzajac 2004-06-30 15:35:36 UTC
Great. It looks fine. Jirka please add failure for
ErrorManager.UNKNOWN priority. This priority is notified using 

ErrorManager.notify(Throwable t)

Thanx

Comment 9 Jiri Skrivanek 2004-07-02 13:29:13 UTC
OK, ErrorManager.UNKNOWN was included too.
Comment 10 Milan Kubec 2004-10-01 15:17:03 UTC
v