You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by murthy gandikota <mu...@yahoo.com> on 2008/07/28 17:22:32 UTC

loadBundle throwing nullpointerexception

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
�


      

Re: loadBundle throwing nullpointerexception

Posted by "simon.kitching@chello.at" <si...@chello.at>.
murthy gandikota schrieb:
> 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"% 
> <http://java.sun.com/jsf/core%22%>>
> <f:loadBundle basename="resources.properties.message" var="bundle" />
>  
> I have placed message.properties in WEB-INF/classes
>  
> Any help is appreciated
> Thanks
> Murthy
>  
>
>
That's a class from the Sun JSF implementation, so you should probably 
ask on the Sun list...


Re: loadBundle throwing nullpointerexception

Posted by murthy gandikota <mu...@yahoo.com>.
The message.properties is placed as
WEB-INF/classes/resources/properties/message.properties

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

From: murthy gandikota <mu...@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
�