myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From murthy gandikota <murthy_gandik...@yahoo.com>
Subject Re: loadBundle throwing nullpointerexception
Date Mon, 28 Jul 2008 15:25:20 GMT
The message.properties is placed as
WEB-INF/classes/resources/properties/message.properties

--- On Mon, 7/28/08, murthy gandikota <murthy_gandikota@yahoo.com> wrote:

From: murthy gandikota <murthy_gandikota@yahoo.com>
Subject: loadBundle throwing nullpointerexception
To: users@myfaces.apache.org
Date: Monday, July 28, 2008, 8:22 AM







Hi All
 
I have a strange case where a resource bundle is throwing a null pointer exception:
 
Servlet.service() for servlet jsp threw exception java.lang.NullPointerException
        at com.sun.faces.taglib.jsf_core.LoadBundleTag.doStartTag(LoadBundleTag.
java:96)
 
The relevant code is
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<f:loadBundle basename="resources.properties.message" var="bundle" />
 
I have placed message.properties in WEB-INF/classes
 
Any help is appreciated
Thanks
Murthy
 



      
Mime
View raw message