You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Tim Bruijnzeels (JIRA)" <ji...@apache.org> on 2009/08/21 14:23:14 UTC

[jira] Created: (WICKET-2430) Malformed \uxxxx encoding in MultipleUploadField_sl.properties

Malformed \uxxxx encoding in MultipleUploadField_sl.properties
--------------------------------------------------------------

                 Key: WICKET-2430
                 URL: https://issues.apache.org/jira/browse/WICKET-2430
             Project: Wicket
          Issue Type: Bug
    Affects Versions: 1.3.6, 1.3.5, 1.3.4, 1.3.3, 1.3.2
            Reporter: Tim Bruijnzeels


Apperently the MultipleUploadField_sl.properties file contains an invalid unicode character here:

org.apache.wicket.mfu.caption.limited=Datoteke (najve\u\u010d ${max}):

This results in an exception when this file is loaded by wicket:
Caused by: java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
	at java.util.Properties.loadConvert(Properties.java:492)
	at java.util.Properties.load(Properties.java:331)
	at org.apache.wicket.resource.PropertiesFactory.loadPropertiesFile(PropertiesFactory.java:203)
	at org.apache.wicket.resource.PropertiesFactory.loadPropertiesFileAndWatchForChanges(PropertiesFactory.java:289)
	at org.apache.wicket.resource.PropertiesFactory.load(PropertiesFactory.java:118)
	at org.apache.wicket.resource.loader.ComponentStringResourceLoader.loadStringResource(ComponentStringResourceLoader.java:148)
	at org.apache.wicket.resource.loader.ComponentStringResourceLoader.loadStringResource(ComponentStringResourceLoader.java:225)
	at org.apache.wicket.Localizer.getString(Localizer.java:221)
	at org.apache.wicket.Localizer.getString(Localizer.java:112)
	at org.apache.wicket.Component.getString(Component.java:1799)
	at org.apache.wicket.Component.getString(Component.java:1786)
	at org.apache.wicket.markup.html.form.upload.MultiFileUploadField.renderHead(MultiFileUploadField.java:202)
	at org.apache.wicket.Component.renderHead(Component.java:2544)
	at org.apache.wicket.markup.html.form.FormComponentPanel.renderHead(FormComponentPanel.java:183)
	at org.apache.wicket.markup.html.internal.HtmlHeaderContainer$1.component(HtmlHeaderContainer.java:220)
	at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:829)
	at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:844)
	at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:869)
	at org.apache.wicket.markup.html.internal.HtmlHeaderContainer.renderHeaderSections(HtmlHeaderContainer.java:211)
	at org.apache.wicket.markup.html.internal.HtmlHeaderContainer.onComponentTagBody(HtmlHeaderContainer.java:136)
	at org.apache.wicket.Component.renderComponent(Component.java:2471)
	... 45 more

As far as we can tell versions 1.3.2 - 1.3.6 are affected. You may want to check other versions.

This is causing a production issue for us, but.. we will work around it by enforcing the en locale on our users.. which in this case is acceptable.

Cheers,
Tim

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WICKET-2430) Malformed \uxxxx encoding in MultipleUploadField_sl.properties

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-2430.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4.2
         Assignee: Igor Vaynberg

> Malformed \uxxxx encoding in MultipleUploadField_sl.properties
> --------------------------------------------------------------
>
>                 Key: WICKET-2430
>                 URL: https://issues.apache.org/jira/browse/WICKET-2430
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6
>            Reporter: Tim Bruijnzeels
>            Assignee: Igor Vaynberg
>             Fix For: 1.4.2
>
>
> Apperently the MultipleUploadField_sl.properties file contains an invalid unicode character here:
> org.apache.wicket.mfu.caption.limited=Datoteke (najve\u\u010d ${max}):
> This results in an exception when this file is loaded by wicket:
> Caused by: java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
> 	at java.util.Properties.loadConvert(Properties.java:492)
> 	at java.util.Properties.load(Properties.java:331)
> 	at org.apache.wicket.resource.PropertiesFactory.loadPropertiesFile(PropertiesFactory.java:203)
> 	at org.apache.wicket.resource.PropertiesFactory.loadPropertiesFileAndWatchForChanges(PropertiesFactory.java:289)
> 	at org.apache.wicket.resource.PropertiesFactory.load(PropertiesFactory.java:118)
> 	at org.apache.wicket.resource.loader.ComponentStringResourceLoader.loadStringResource(ComponentStringResourceLoader.java:148)
> 	at org.apache.wicket.resource.loader.ComponentStringResourceLoader.loadStringResource(ComponentStringResourceLoader.java:225)
> 	at org.apache.wicket.Localizer.getString(Localizer.java:221)
> 	at org.apache.wicket.Localizer.getString(Localizer.java:112)
> 	at org.apache.wicket.Component.getString(Component.java:1799)
> 	at org.apache.wicket.Component.getString(Component.java:1786)
> 	at org.apache.wicket.markup.html.form.upload.MultiFileUploadField.renderHead(MultiFileUploadField.java:202)
> 	at org.apache.wicket.Component.renderHead(Component.java:2544)
> 	at org.apache.wicket.markup.html.form.FormComponentPanel.renderHead(FormComponentPanel.java:183)
> 	at org.apache.wicket.markup.html.internal.HtmlHeaderContainer$1.component(HtmlHeaderContainer.java:220)
> 	at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:829)
> 	at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:844)
> 	at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:869)
> 	at org.apache.wicket.markup.html.internal.HtmlHeaderContainer.renderHeaderSections(HtmlHeaderContainer.java:211)
> 	at org.apache.wicket.markup.html.internal.HtmlHeaderContainer.onComponentTagBody(HtmlHeaderContainer.java:136)
> 	at org.apache.wicket.Component.renderComponent(Component.java:2471)
> 	... 45 more
> As far as we can tell versions 1.3.2 - 1.3.6 are affected. You may want to check other versions.
> This is causing a production issue for us, but.. we will work around it by enforcing the en locale on our users.. which in this case is acceptable.
> Cheers,
> Tim

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.