Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 200027 - IAC AdminPlugin throws NPE when handling shutdown error
Summary: IAC AdminPlugin throws NPE when handling shutdown error
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Joe Toomey CLA
QA Contact:
URL:
Whiteboard: closed460
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-15 09:17 EDT by Joe Toomey CLA
Modified: 2016-05-05 11:01 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Toomey CLA 2007-08-15 09:17:53 EDT
I see this error sometimes when using ASF services -- the AdminPlugin.stop() nulls out the plugin variable before calling AutoStartStop.stopIAC().  There are a couple of error handlers in that method that call AdminPlugin.getDefault(), which returns the plugin variable (which we just set to null), and they dereference the return result.

I moved the plugin = null assignment after the call to stopIAC().
Comment 1 Joe Toomey CLA 2007-08-15 09:19:36 EDT
Fixed in 4.4.1
Comment 2 Paul Slauenwhite CLA 2009-06-30 12:08:28 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.