struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eduardo Solanas" <eduardo.sola...@gmail.com>
Subject Re: problem with properties files after upgrading to 2.1.2
Date Thu, 29 May 2008 22:31:38 GMT
yeah i post the same problem before, i think its a bug :)

2008/5/30 Cecilia Castillo <castillo23@llnl.gov>:

> After I upgraded to Struts 2.1.2, the execAndWait interceptor is giving me
> problems.  If I use this intercepter as I had it configured with Struts 2.0,
> then my ActionSupport classes cannot find their properties files in the
> execute() method ...getText() gives me an exception (they can find the
> properties files in the ActionSupport constructor, however...getText() works
> fine in the constructor).  Can someone tell me if there is something I need
> to do to configure this interceptor differently with Struts 2.1.2?  The
> exception I get is below.
>
> Thanks,
>  Cecilia
>
>
> java.lang.NullPointerException
>        at
> com.opensymphony.xwork2.util.LocalizedTextUtil.findText(LocalizedTextUtil.java:299)
>        at
> com.opensymphony.xwork2.TextProviderSupport.getText(TextProviderSupport.java:172)
>        at
> com.opensymphony.xwork2.TextProviderSupport.getText(TextProviderSupport.java:87)
>        at
> com.opensymphony.xwork2.ActionSupport.getText(ActionSupport.java:80)
>        at
> com.llnl.rhwmMVCBase.base.SpreadsheetActionSupport.getSheetTitle(SpreadsheetActionSupport.java:648)
>        at
> com.llnl.rhwmMVCBase.base.SpreadsheetActionSupport.addDateRunToSheetTitle(SpreadsheetActionSupport.java:317)
>        at
> com.llnl.rhwm.reports.BlendPlanMixedLiquidBetaReportAction.getReport(BlendPlanMixedLiquidBetaReportAction.java:63)
>        at
> com.llnl.rhwm.reports.BlendPlanCommonDispReqReportAction.execute(BlendPlanCommonDispReqReportAction.java:23)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>        at java.lang.reflect.Method.invoke(Unknown Source)
>        at
> com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:434)
>        at
> com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:273)
>        at
> org.apache.struts2.interceptor.BackgroundProcess$1.run(BackgroundProcess.java:57)
>        at java.lang.Thread.run(Unknown Source)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message