Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365476 - Error encountered related to setting ErrorHandler & EntityHandler to null
Summary: Error encountered related to setting ErrorHandler & EntityHandler to null
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Blaise Doughan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-02 14:45 EST by Blaise Doughan CLA
Modified: 2022-06-09 10:02 EDT (History)
1 user (show)

See Also:


Attachments
Core - Fix (Trunk) (1.49 KB, patch)
2011-12-02 14:47 EST, Blaise Doughan CLA
no flags Details | Diff
Core - Fix (2.3.3) (1.49 KB, patch)
2011-12-12 16:25 EST, Blaise Doughan CLA
no flags Details | Diff

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