struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hongxiang yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4459) getText() is broken
Date Thu, 24 Dec 2015 09:18:49 GMT

    [ https://issues.apache.org/jira/browse/WW-4459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15070792#comment-15070792
] 

hongxiang yu commented on WW-4459:
----------------------------------

hi,lukasz, when upgade to struts2 2.3.24.1 occur this issue.
can you help to analise this issue:
2015-12-24 15:56:39,501 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/mobile].[jsp]]
Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
	at com.opensymphony.xwork2.util.LocalizedTextUtil.findDefaultText(LocalizedTextUtil.java:213)

> getText() is broken 
> --------------------
>
>                 Key: WW-4459
>                 URL: https://issues.apache.org/jira/browse/WW-4459
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Expression Language
>    Affects Versions: 2.3.20
>         Environment: JBoss EAP 6
>            Reporter: Yuri
>            Assignee: Lukasz Lenart
>             Fix For: 2.3.24
>
>
> After upgrade from 2.3.15 to 2.3.20 we encountered couple issues:
> 1. Web server throws warning messages:
> {noformat}
> WARN [LocalizedTextUtil] Missing key [.... 
> {noformat}
> That happens when resource key starts with "errors."
> 2. getText() with formatting no longer works. For example, 
> {code:xml}
> <s:property value="getText('{0,number,#,#0}',{#pctComplete * 100})"/>
> {code}
> throws Warning: 
> {noformat}
> Missing key [{0,number,#,#0}] in bundles ...
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message