[midPoint] Error 500 with portuguese translation
Paulo Fernandes de Souza Junior
PFSJ at senado.leg.br
Mon Apr 10 15:29:41 CEST 2017
Hello All,
We are running a proof of concept with Midpoint in our organization. When we try to use the Portuguese translation, we get this internal error in every list of objects (user, roles, resources...) :
Internal Server Error 500
4/10/17 1:15 PM org.apache.wicket.WicketRuntimeException: Exception in rendering component: [Component id = count]
This is the content of the idm.log file:
Caused by: java.lang.RuntimeException: An error occurred while getting the model object for Component: [Component id = count, page = com.evolveum.midpoint.web.page.admin.users.PageUsers, path = 5:mainForm:table:mainForm:table:box:footer:footerContainer:count.Label, isVisible = true, isVersioned = true, markup = [markup = file:/usr/local/tomcat/webapps/midpoint/WEB-INF/classes/com/evolveum/midpoint/web/component/data/BoxedTablePanel.html
<div class="dataTables_info" wicket:id="count"></div>, index = 0, current = '<div class="dataTables_info" wicket:id="count">' (line 0, column 0)]]
at org.apache.wicket.Component.getDefaultModelObject(Component.java:1631) ~[wicket-core-7.3.0.jar:7.3.0]
at org.apache.wicket.Component.getDefaultModelObjectAsString(Component.java:1654) ~[wicket-core-7.3.0.jar:7.3.0]
at org.apache.wicket.markup.html.basic.Label.onComponentTagBody(Label.java:115) ~[wicket-core-7.3.0.jar:7.3.0]
at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:70) ~[wicket-core-7.3.0.jar:7.3.0]
at org.apache.wicket.Component.internalRenderComponent(Component.java:2565) ~[wicket-core-7.3.0.jar:7.3.0]
... 143 common frames omitted
Caused by: java.lang.IllegalArgumentException: unknown format type: número
at java.text.MessageFormat.makeFormat(MessageFormat.java:1526) ~[na:1.8.0_72-internal]
at java.text.MessageFormat.applyPattern(MessageFormat.java:479) ~[na:1.8.0_72-internal]
at java.text.MessageFormat.<init>(MessageFormat.java:380) ~[na:1.8.0_72-internal]
at org.apache.wicket.model.StringResourceModel.getString(StringResourceModel.java:481) ~[wicket-core-7.3.0.jar:7.3.0]
at org.apache.wicket.model.StringResourceModel.getString(StringResourceModel.java:424) ~[wicket-core-7.3.0.jar:7.3.0]
at com.evolveum.midpoint.web.component.data.BoxedTablePanel$PagingFooter.createCountString(BoxedTablePanel.java:319) ~[classes/:na]
at com.evolveum.midpoint.web.component.data.BoxedTablePanel$PagingFooter.access$000(BoxedTablePanel.java:215) ~[classes/:na]
at com.evolveum.midpoint.web.component.data.BoxedTablePanel$PagingFooter$1.getObject(BoxedTablePanel.java:236) ~[classes/:na]
at com.evolveum.midpoint.web.component.data.BoxedTablePanel$PagingFooter$1.getObject(BoxedTablePanel.java:232) ~[classes/:na]
at org.apache.wicket.Component.getDefaultModelObject(Component.java:1626) ~[wicket-core-7.3.0.jar:7.3.0]
... 147 common frames omitted
2017-04-10 12:58:09,918 [] [http-nio-8080-exec-3] INFO (com.evolveum.midpoint.request.web): REQUEST CYCLE: Scheduled redirect to error page class com.evolveum.midpoint.web.page.error.PageError
We found the same error in versions 3.5 and 3.5.1. Can someone help us with this?
Thanks in advance,
Paulo Fernandes de Souza Jr.
Senado Federal - Prodasen
Brasília - DF, Brasil.
More information about the midPoint
mailing list