Re: NPE in ActionSupport.getText() from servlet

2014-05-06 Thread Bruno Klava
Answering my own question: LocalizedTextUtil.findDefaultText(messageKey, Locale.getDefault()) On Tue, May 6, 2014 at 1:30 PM, Bruno Klava wrote: > Hi, > > in order to load a message from a *.properties file from a servlet, I used > to do: > > new ActionSupport().getText(messageKey); > > It use

NPE in ActionSupport.getText() from servlet

2014-05-06 Thread Bruno Klava
Hi, in order to load a message from a *.properties file from a servlet, I used to do: new ActionSupport().getText(messageKey); It used to work in Struts versions up to 2.3.15.3. In Struts 2.3.16+ versions, now I get a NPE: java.lang.NullPointerException at com.opensymphony.xwork2.util.Localize

Re: want to get help with an issue in upgrading struts to 2.3.16.2

2014-05-06 Thread Lukasz Lenart
notiger means Java 1.4 - Struts2 doesn't support that anymore (for long time) or rather there is no re-packaged version for Java 1.4 2014-05-06 4:11 GMT+02:00 liangyu105 : > yes, but at first i only use some necessary jar files , it always give this > error , and then i try to use all the lib f

Re: Struts2.3.18 Released?

2014-05-06 Thread Lukasz Lenart
Added remark that this version is not yet released (but will be soon ;-) 2014-05-06 16:37 GMT+02:00 Amol Ghotankar : > more specific - > http://struts.apache.org/release/2.3.x/docs/version-notes-2318.html > > > > On Tue, May 6, 2014 at 8:06 PM, Amol Ghotankar wrote: > >> Hi, >> >> Version notes t

Re: Struts2.3.18 Released?

2014-05-06 Thread Amol Ghotankar
more specific - http://struts.apache.org/release/2.3.x/docs/version-notes-2318.html On Tue, May 6, 2014 at 8:06 PM, Amol Ghotankar wrote: > Hi, > > Version notes taking about this released > http://struts.apache.org/release/2.3.x/docs/migration-guide.html > > But in JIRA this shows unreleased.

Struts2.3.18 Released?

2014-05-06 Thread Amol Ghotankar
Hi, Version notes taking about this released http://struts.apache.org/release/2.3.x/docs/migration-guide.html But in JIRA this shows unreleased. Just wanted to bring to group's notice. -- *With Best Regards,* Amol Ghotankar Technical Lead M: +91 9960 980 419

Re: want to get help with an issue in upgrading struts to 2.3.16.2

2014-05-06 Thread liangyu105
yes, but at first i only use some necessary jar files , it always give this error , and then i try to use all the lib files to avoid missing some jars , it still give this errors. i found in my debug log ,it will try to load bean com.opensymphony.xwork2.conversion.ObjectTypeDeterminer (*notige

Re: want to get help with an issue in upgrading struts to 2.3.16.2

2014-05-06 Thread liangyu105
oh, i found the reason , it 's my struts.properties file has specify the struts.objectTypeDeterminer = notiger, and also thanks for your time . -- View this message in context: http://struts.1045723.n5.nabble.com/want-to-get-help-with-an-issue-in-upgrading-struts-to-2-3-16-2-tp5715895p5715910.h