NPE using magnolia.utf8.enabled=true - UnicodeNormalizationFilter -----------------------------------------------------------------
Key: MAGNOLIA-3224 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3224 Project: Magnolia Issue Type: Bug Components: core Affects Versions: 4.3.2 Reporter: Luca Boati Assignee: Luca Boati Fix For: 4.3.x Attachments: UnicodeNormalizationFilter.patch Using magnolia.utf8.enabled=true a NPE occurs on UnicodeNormalizationFilter. With MAGNOLIA-3204 the method resetAggregationState has been modified and now it set these aggregationState properties to: {{this.originalURI=null;}} {{this.originalURL=null;}} {{this.originalBrowserURI=null;}} {{this.originalBrowserURL=null;}} {{this.currentURI = null;}} cannot be passed a null value to UnicodeNormalizer.normalizeNFC(null), this cause NPE. The UnicodeNormaliazioneFilter has to normalize originalURI/URL, to overwrite these properties it needs to reset it, otherwise IllegalStateException could occurs. patch Included, if ok I can commit it. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------