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

Bug 365476

Summary: Error encountered related to setting ErrorHandler & EntityHandler to null
Product: z_Archived Reporter: Blaise Doughan <blaise.doughan>
Component: EclipselinkAssignee: Blaise Doughan <blaise.doughan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipselink.oxm-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Core - Fix (Trunk)
none
Core - Fix (2.3.3) none

Description Blaise Doughan CLA 2011-12-02 14:45:40 EST
In SAXUnmarshaller it is possible to for a null to be set for ErrorHandler and EntityResolver.  This is causing problems with some parsers.
Comment 1 Blaise Doughan CLA 2011-12-02 14:47:13 EST
Created attachment 207861 [details]
Core - Fix (Trunk)
Comment 2 Blaise Doughan CLA 2011-12-02 14:59:24 EST
Fixed checked into trunk at rev:  10492

Code reviewed by:  Denise Smith

Fix Details:
When lazily building the parsers, don't set the ErrorHandler and EntityResolvers if they are null.
Comment 3 Blaise Doughan CLA 2011-12-12 16:25:25 EST
Created attachment 208292 [details]
Core - Fix (2.3.3)
Comment 4 Blaise Doughan CLA 2011-12-12 16:33:45 EST
Fix checked into 2.3.3 at rev:  10548

Code reviewed by:  Denise Smith

Fix Details (same as trunk check in):
When lazily building the parsers, don't set the ErrorHandler and
EntityResolvers if they are null.
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:02:32 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink