<div dir="ltr"><div><div>Hi Paulo,<br><br></div>This problem is solved in Midpoint 3.6. <br><br><br><br></div><div>Carlos Antonio Ferreira<br></div><div>TRT3/MG/Brasil<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-04-10 10:29 GMT-03:00 Paulo Fernandes de Souza Junior <span dir="ltr"><<a href="mailto:PFSJ@senado.leg.br" target="_blank">PFSJ@senado.leg.br</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello All,<br>
<br>
<br>
<br>
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...) :<br>
<br>
Internal Server Error 500<br>
4/10/17 1:15 PM org.apache.wicket.<wbr>WicketRuntimeException: Exception in rendering component: [Component id = count]<br>
<br>
This is the content of the idm.log file:<br>
<br>
Caused by: java.lang.RuntimeException: An error occurred while getting the model object for Component: [Component id = count, page = com.evolveum.midpoint.web.<wbr>page.admin.users.PageUsers, path = 5:mainForm:table:mainForm:<wbr>table:box:footer:<wbr>footerContainer:count.Label, isVisible = true, isVersioned = true, markup = [markup = file:/usr/local/tomcat/<wbr>webapps/midpoint/WEB-INF/<wbr>classes/com/evolveum/midpoint/<wbr>web/component/data/<wbr>BoxedTablePanel.html<br>
<div class="dataTables_info" wicket:id="count"></div>, index = 0, current = '<div class="dataTables_info" wicket:id="count">' (line 0, column 0)]]<br>
at org.apache.wicket.Component.<wbr>getDefaultModelObject(<wbr>Component.java:1631) ~[wicket-core-7.3.0.jar:7.3.0]<br>
at org.apache.wicket.Component.<wbr>getDefaultModelObjectAsString(<wbr>Component.java:1654) ~[wicket-core-7.3.0.jar:7.3.0]<br>
at org.apache.wicket.markup.html.<wbr>basic.Label.<wbr>onComponentTagBody(Label.java:<wbr>115) ~[wicket-core-7.3.0.jar:7.3.0]<br>
at org.apache.wicket.markup.html.<wbr>panel.<wbr>DefaultMarkupSourcingStrategy.<wbr>onComponentTagBody(<wbr>DefaultMarkupSourcingStrategy.<wbr>java:70) ~[wicket-core-7.3.0.jar:7.3.0]<br>
at org.apache.wicket.Component.<wbr>internalRenderComponent(<wbr>Component.java:2565) ~[wicket-core-7.3.0.jar:7.3.0]<br>
... 143 common frames omitted<br>
Caused by: java.lang.<wbr>IllegalArgumentException: unknown format type: número<br>
at java.text.MessageFormat.<wbr>makeFormat(MessageFormat.java:<wbr>1526) ~[na:1.8.0_72-internal]<br>
at java.text.MessageFormat.<wbr>applyPattern(MessageFormat.<wbr>java:479) ~[na:1.8.0_72-internal]<br>
at java.text.MessageFormat.<init><wbr>(MessageFormat.java:380) ~[na:1.8.0_72-internal]<br>
at org.apache.wicket.model.<wbr>StringResourceModel.getString(<wbr>StringResourceModel.java:481) ~[wicket-core-7.3.0.jar:7.3.0]<br>
at org.apache.wicket.model.<wbr>StringResourceModel.getString(<wbr>StringResourceModel.java:424) ~[wicket-core-7.3.0.jar:7.3.0]<br>
at com.evolveum.midpoint.web.<wbr>component.data.<wbr>BoxedTablePanel$PagingFooter.<wbr>createCountString(<wbr>BoxedTablePanel.java:319) ~[classes/:na]<br>
at com.evolveum.midpoint.web.<wbr>component.data.<wbr>BoxedTablePanel$PagingFooter.<wbr>access$000(BoxedTablePanel.<wbr>java:215) ~[classes/:na]<br>
at com.evolveum.midpoint.web.<wbr>component.data.<wbr>BoxedTablePanel$PagingFooter$<wbr>1.getObject(BoxedTablePanel.<wbr>java:236) ~[classes/:na]<br>
at com.evolveum.midpoint.web.<wbr>component.data.<wbr>BoxedTablePanel$PagingFooter$<wbr>1.getObject(BoxedTablePanel.<wbr>java:232) ~[classes/:na]<br>
at org.apache.wicket.Component.<wbr>getDefaultModelObject(<wbr>Component.java:1626) ~[wicket-core-7.3.0.jar:7.3.0]<br>
... 147 common frames omitted<br>
2017-04-10 12:58:09,918 [] [http-nio-8080-exec-3] INFO (com.evolveum.midpoint.<wbr>request.web): REQUEST CYCLE: Scheduled redirect to error page class com.evolveum.midpoint.web.<wbr>page.error.PageError<br>
<br>
<br>
We found the same error in versions 3.5 and 3.5.1. Can someone help us with this?<br>
<br>
Thanks in advance,<br>
<br>
Paulo Fernandes de Souza Jr.<br>
Senado Federal - Prodasen<br>
Brasília - DF, Brasil.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
</blockquote></div><br></div>