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

Bug 362015

Summary: NPE in OSLCUtils#getHttpClient when creds are null
Product: [Technology] Lyo Reporter: Michael Fiedler <fiedler.mf>
Component: TestSuiteAssignee: Michael Fiedler <fiedler.mf>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: sspeiche
Version: unspecifiedFlags: sspeiche: review+
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Add NPE protection to OSLCUtils#getHttpClient fiedler.mf: iplog+

Description Michael Fiedler CLA 2011-10-25 19:11:43 EDT
Build Identifier: 

OSLCUtils#formLogin explicitly passes null credentials down the stack to getHttpClient and we take an NPE on a call to setCredentials.   Add NPE protection.

Please assign to Michael Fiedler

Reproducible: Always
Comment 1 Michael Fiedler CLA 2011-10-25 19:14:16 EDT
Created attachment 205957 [details]
Add NPE protection to OSLCUtils#getHttpClient

I wrote all this code and have the rights to contribute it to Eclipse under the eclipse.org web site terms of use.
Comment 3 Samuel Padgett CLA 2015-03-09 09:52:59 EDT
Bulk update: Closing out Lyo bugs fixed long ago. Feel free to reopen if you feel your bug was closed in error.