Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362015 - NPE in OSLCUtils#getHttpClient when creds are null
Summary: NPE in OSLCUtils#getHttpClient when creds are null
Status: CLOSED FIXED
Alias: None
Product: Lyo
Classification: Technology
Component: TestSuite (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Michael Fiedler CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-25 19:11 EDT by Michael Fiedler CLA
Modified: 2015-03-09 09:52 EDT (History)
1 user (show)

See Also:
sspeiche: review+


Attachments
Add NPE protection to OSLCUtils#getHttpClient (847 bytes, patch)
2011-10-25 19:14 EDT, Michael Fiedler CLA
fiedler.mf: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.