Bug 44054 - [PATCH] Bugfix for possible NPE in ParsedURL
Summary: [PATCH] Bugfix for possible NPE in ParsedURL
Status: RESOLVED FIXED
Alias: None
Product: Batik - Now in Jira
Classification: Unclassified
Component: Utilities (show other bugs)
Version: 1.7
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Batik Developer's Mailing list
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2007-12-11 05:09 UTC by Jeremias Maerki
Modified: 2007-12-26 03:45 UTC (History)
0 users



Attachments
Patch to fix the NPE and to "unswallow" the original exception in CSSEngine (1.46 KB, patch)
2007-12-11 05:10 UTC, Jeremias Maerki
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremias Maerki 2007-12-11 05:09:12 UTC
While testing some SVG in FOP I had a swallowed NPE from a clip-path style
attribute. The SVG doesn't have a base URL in this case which caused the NPE.
The attached patch fixes this.
Comment 1 Jeremias Maerki 2007-12-11 05:10:15 UTC
Created attachment 21256 [details]
Patch to fix the NPE and to "unswallow" the original exception in CSSEngine
Comment 2 Cameron McCormack 2007-12-26 03:45:59 UTC
Looks good.  Applied, thanks!

  http://svn.apache.org/viewvc?rev=606891&view=rev