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

Summary: DIsplay of Exception during MDR Initialization
Product: java Reporter: Mark McKinlay <mckinlay>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

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 ***