Thanks for the response!

Sorry to ask an unrelated question then ... I've tried switching to MyFaces
by swapping out jsf-api and jsf-impl with the myfaces versions.  I take it
that it's not that simple.

I am getting java.lang.ClassNotFoundException:
com.sun.faces.config.ConfigureListener.

On 19/04/07, Mike Kienenberger <[EMAIL PROTECTED]> wrote:

The JSF RI 1.1 has poor error reporting.   This makes it difficult to
figure out the real problem sometimes.  At minimum, you might want to
at least try running it against MyFaces Core.   That doesn't mean you
can't switch back to JSF RI once you've determined the problem.

I've had no issues with using inputCalendar pointing to a null backing
bean date.


On 4/19/07, Jack Terranova <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am having a mind-numbingly frustrating issue with
inputCalendar.  Hooked
> up to a bean with a null date, I am getting a NullPointerException (I am
> assuming, of course, that the tag can/should handle  it  - am I wrong?)
>
> My tag ...
>
> <t:inputCalendar renderPopupButtonAsImage="true" renderAsPopup="true"
> value="#{bean.my_date}" />
>
> The exception ...
>
> ERROR 19/04/07 12:04 (ApplicationDispatcher.java :704) - Servlet.service
()
> for servlet jsp threw exception
> java.lang.NullPointerException: Argument Error: One or more parameters
are
> null.
>     at
> com.sun.faces.renderkit.html_basic.HtmlResponseWriter.writeAttribute(
> HtmlResponseWriter.java:240)
>     at
>
org.apache.myfaces.custom.inputTextHelp.HtmlTextHelpRenderer.renderInputTextHelp
(HtmlTextHelpRenderer.java:93)
>     at
>
org.apache.myfaces.custom.inputTextHelp.HtmlTextHelpRenderer.renderNormal
> (HtmlTextHelpRenderer.java:48)
>     at
> org.apache.myfaces.renderkit.html.ext.HtmlTextRenderer.encodeEnd(
HtmlTextRenderer.java:80)
>     at
> javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java
:712)
> ....
>
> If the date is non-null everything is fine.  If I save a blank date or
just
> read a blank date from the db, I get the error.  As you can see, I am
using
> the Sun jsf implementation with Tomahawk.  Should I abandon Sun and go
with
> MyFaces implementation?
>
>

Reply via email to