Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 108187

Summary: CBEFileOutputter does not support being used as a custom GLA log outputter
Product: z_Archived Reporter: Dave Smith <smith>
Component: TPTP.monitoringAssignee: Dave Smith <smith>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: closed460

Description Dave Smith CLA 2005-08-26 23:41:42 EDT
If a CBEFileOutputter object, that has been initialized using setDirectory() 
and setFileName(), is passed to the Adapter class with the setLogOutputter 
method, the GLA fails with a NullPointerException.  The outputter directory and 
fileName properties are being ignored and they are not found in the outputter 
configuration so and exception is thrown in the update() method.  This causes 
the internal logging context to fail to start which in turn causes an NPE in 
the AdapterValidator class when it tries to use the internal logger which is 
NULL.
Comment 1 Dave Smith CLA 2005-09-14 17:05:25 EDT
Committed fix to TPTP Head CVS.

Changed the following:

1. CBEFileOuptter - using existing fileName and directory values in update()
2. AdapterConfigValidator - handle case of null logger
Comment 2 Paul Slauenwhite CLA 2009-06-30 08:09:00 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.