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 27003 - DIsplay of Exception during MDR Initialization
Summary: DIsplay of Exception during MDR Initialization
Status: RESOLVED DUPLICATE of bug 26934
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-04 07:47 UTC by Mark McKinlay
Modified: 2002-09-04 19:02 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 Mark McKinlay 2002-09-04 07:47:58 UTC
MDR displays a "StorageBadRequestException" when creating 
the MDR for first time use. This does not affect 
processing as the MDR is created if it does not exist, but 
the display can be a concern for anyone not familiar with 
it.

This display is created in the method 
org.netbeans.mdr.storagemodel.MdrStorage.init(line:392) 
via an "e.printStackTrace()".

Is it possible to remove this unconditional display?
Perhaps this could be replaced by a call to a Logging 
framework rather than stackTrace.
Comment 1 _ briansmith 2002-09-04 19:02:57 UTC
There are many more messages than this that are displayed. I believe
that this can just be folded into Issue 26934. Issue 26934 is about
creating an API for controlling the MDR logging and also changing the
MDR implementation to use this API. Since it is P1, I think it will
likely get fixed soon. I will add a note to convert uses of the
'printStackTrace' to use the logging mechanism.


*** This issue has been marked as a duplicate of 26934 ***