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

Bug 320047

Summary: NPE in MetaData
Product: [RT] Jetty Reporter: David Jencks <david.a.jencks>
Component: serverAssignee: Jan Bartel <janb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: janb, jetty-inbox, mgorovoy
Version: 8.0.0   
Target Milestone: 8.0.0.M2   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description David Jencks CLA 2010-07-15 18:42:07 EDT
_orderResources may be null (at least in geronimo integration), but is not checked before iterating through it.

Whether or not it is null is used as a flag, so making getOrderedResources return an empty list rather than setting _orderedResources on access seems reasonable.
Comment 1 David Jencks CLA 2010-07-15 18:43:11 EDT
Fixed in rev 2144
Comment 2 Jan Bartel CLA 2010-07-19 02:04:18 EDT
Fix confirmed for jetty-8 and also backported to jetty-7.