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

Bug 368114

Summary: Protect against non-Strings in System properties for Log
Product: [RT] Jetty Reporter: Jan Bartel <janb>
Component: serverAssignee: Jan Bartel <janb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jetty-inbox
Version: 8.1.0.RC0   
Target Milestone: 7.5.x   
Hardware: PC   
OS: Linux   
Whiteboard:

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.