myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samba <saas...@gmail.com>
Subject Re: Trinidad FileUpload failing with Tomahawk Extension Filter
Date Fri, 14 Mar 2008 06:58:31 GMT
Just to add a few more details :

     I'm using SUN RI JSF 1.2

     Trinidad 1.2.7-snapshot

     Tomahawk1.1.7-snapshot

and

     Facelets 1.1.4

On Fri, Mar 14, 2008 at 12:25 PM, Samba <saasira@gmail.com> wrote:

> Hi!
> I'm using both Trinidad and Tomahawk components together in the same page.
>
> I wanted to use Trinidad InputFileUpload component for uploading files..
> But I'm getting null pointer exception
>
> Stack Trace is given below:
>
>
> javax.servlet.ServletException: #{fileUploadTest.doUpload}: /home.xhtml @27,74 action="#{fileUploadTest.doUpload}":
java.lang.NullPointerException
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
> 	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238)
> 	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195)
> 	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
> 	org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
> 	org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
>
>  *root cause*
>
> javax.faces.FacesException: #{fileUploadTest.doUpload}: /home.xhtml @27,74 action="#{fileUploadTest.doUpload}":
java.lang.NullPointerException
> 	com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:107)
> 	org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
> 	javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
> 	javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
> 	com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
> 	com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
> 	com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
> 	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238)
> 	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195)
> 	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
> 	org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
> 	org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
>
>  *root cause*
>
> javax.faces.el.EvaluationException: /home.xhtml @27,74 action="#{fileUploadTest.doUpload}":
java.lang.NullPointerException
> 	org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
> 	com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
> 	org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
> 	javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
> 	javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
> 	com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
> 	com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
> 	com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
> 	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238)
> 	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195)
> 	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
> 	org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
> 	org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
>
>  *root cause*
>
> java.lang.NullPointerException
> 	demo.backing.FileUploadTest.doUpload(FileUploadTest.java:84)
> 	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	java.lang.reflect.Method.invoke(Method.java:585)
> 	com.sun.el.parser.AstValue.invoke(AstValue.java:151)
> 	com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
> 	com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
> 	org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
> 	com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
> 	org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
> 	javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
> 	javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
> 	com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
> 	com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
> 	com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
> 	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238)
> 	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195)
> 	org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
> 	org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
> 	org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
>
>
> Is there any known issues of incompatibility of Trinidad FileUploader with
> Tomahawk Extension Filtter?
> Thanking you in advance,
>
> --
> Regards...
> Samba.
>
>


-- 
Regards...
Samba.

Mime
View raw message