Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368114 - Protect against non-Strings in System properties for Log
Summary: Protect against non-Strings in System properties for Log
Status: RESOLVED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: server (show other bugs)
Version: 8.1.0.RC0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 7.5.x   Edit
Assignee: Jan Bartel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-08 20:14 EST by Jan Bartel CLA
Modified: 2012-01-08 22:29 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Bartel CLA 2012-01-08 20:14:59 EST
From Jetty mailing list:

I got a NPE in the static part of the Log class if some system properties set by some other parts of our platform are not strings.

The NPE occurs at "org.eclipse.jetty.util.log.Log.java" line 105, when setting a property with a null value:
- __props.setProperty(key,System.getProperty(key))
Comment 1 Jan Bartel CLA 2012-01-08 22:29:41 EST
Fixed for 7.6.0.RC4/8.1.0.RC4.