Thanks Roy: JBPORTAL-984.

To everyone else following this saga, looks like the i18n tag isn't a good 
alternative.  Apparently the class that implements it expects an HttpRequest 
object to be in thread local storage, but when called from my portlet code, 
there is no HttpRequest object so I get an NPE:

2006-08-17 14:48:12,851 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/image].[jsp]] 
Servlet.service() for servlet jsp threw exception
  | java.lang.NullPointerException
  |     at 
org.jboss.portal.core.servlet.jsp.taglib.PortalLib.getMessage(PortalLib.java:53)
  |     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |     at java.lang.reflect.Method.invoke(Method.java:585)
  |     at 
org.apache.commons.el.FunctionInvocation.evaluate(FunctionInvocation.java:172)
  |     at 
org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
  |     at 
org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:190)
  |     at 
org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:932)
  |     at org.apache.jsp.WEB_002dINF.jsp.edit_jsp._jspService(edit_jsp.java:98)
  |     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  | etc.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965919#3965919

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965919
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to