I am getting null pointer exception from the Extensions filter: | java.lang.NullPointerException | 20:47:15,235 ERROR [STDERR] at com.tarhyar.file.FileLogicAction.upload(FileLogicAction.java:109) | 20:47:15,235 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 20:47:15,236 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 20:47:15,236 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 20:47:15,236 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 20:47:15,238 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:109) | 20:47:15,238 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:168) | 20:47:15,238 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:56) | 20:47:15,239 ERROR [STDERR] at org.jboss.seam.interceptors.ValidationInterceptor.validateTargetComponent(ValidationInterceptor.java:64) | 20:47:15,240 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor237.invoke(Unknown Source) | 20:47:15,240 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 20:47:15,240 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 20:47:15,241 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 20:47:15,241 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) | 20:47:15,241 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 20:47:15,241 ERROR [STDERR] at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:21) | 20:47:15,242 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source) | 20:47:15,243 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 20:47:15,243 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 20:47:15,243 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 20:47:15,243 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) | 20:47:15,244 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 20:47:15,244 ERROR [STDERR] at org.jboss.seam.interceptors.RollbackInterceptor.rollbackIfNecessary(RollbackInterceptor.java:30) | 20:47:15,244 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor235.invoke(Unknown Source) | 20:47:15,244 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 20:47:15,244 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 20:47:15,244 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 20:47:15,245 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) | 20:47:15,245 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 20:47:15,245 ERROR [STDERR] at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:33) | 20:47:15,245 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor234.invoke(Unknown Source) | 20:47:15,245 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 20:47:15,246 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 20:47:15,246 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 20:47:15,247 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) | 20:47:15,247 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 20:47:15,247 ERROR [STDERR] at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:68) | 20:47:15,247 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor233.invoke(Unknown Source) | 20:47:15,247 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 20:47:15,247 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 20:47:15,248 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 20:47:15,248 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) | 20:47:15,248 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 20:47:15,248 ERROR [STDERR] at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:60) | 20:47:15,248 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor232.invoke(Unknown Source) | 20:47:15,248 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 20:47:15,248 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 20:47:15,249 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 20:47:15,249 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) | 20:47:15,249 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 20:47:15,249 ERROR [STDERR] at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39)20:47:15,249 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor231.invoke(Unknown Source) | 20:47:15,249 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 20:47:15,250 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 20:47:15,250 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 20:47:15,250 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) | 20:47:15,250 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 20:47:15,252 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvokeInContexts(SeamInterceptor.java:73) | 20:47:15,252 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:45) | 20:47:15,252 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor230.invoke(Unknown Source) | 20:47:15,252 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 20:47:15,252 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 20:47:15,252 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:120) | 20:47:15,252 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:62) | 20:47:15,253 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | 20:47:15,253 ERROR [STDERR] at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:71) | 20:47:15,253 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | 20:47:15,253 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | 20:47:15,253 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | 20:47:15,253 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | 20:47:15,254 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | 20:47:15,257 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | 20:47:15,257 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:196) | 20:47:15,257 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | 20:47:15,257 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | 20:47:15,257 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | 20:47:15,258 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81) | 20:47:15,258 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | 20:47:15,258 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | 20:47:15,258 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | 20:47:15,258 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | 20:47:15,258 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | 20:47:15,258 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | 20:47:15,258 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | 20:47:15,259 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:199) | 20:47:15,259 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | 20:47:15,259 ERROR [STDERR] at $Proxy124.upload(Unknown Source) | 20:47:15,259 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 20:47:15,259 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 20:47:15,259 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 20:47:15,259 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 20:47:15,261 ERROR [STDERR] at com.sun.el.parser.AstValue.invoke(AstValue.java:130) | 20:47:15,261 ERROR [STDERR] at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:274) | 20:47:15,261 ERROR [STDERR] at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68) | 20:47:15,261 ERROR [STDERR] at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69) | 20:47:15,261 ERROR [STDERR] at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) | 20:47:15,276 ERROR [STDERR] at javax.faces.component.UICommand.broadcast(UICommand.java:106) | 20:47:15,277 ERROR [STDERR] at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90) | 20:47:15,277 ERROR [STDERR] at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164) | 20:47:15,278 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316) | 20:47:15,279 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) | 20:47:15,279 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106) | 20:47:15,279 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | 20:47:15,279 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | 20:47:15,279 ERROR [STDERR] at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:23) | 20:47:15,280 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | 20:47:15,280 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | 20:47:15,280 ERROR [STDERR] at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | 20:47:15,280 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | 20:47:15,280 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | 20:47:15,280 ERROR [STDERR] at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122) | 20:47:15,281 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | 20:47:15,281 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | 20:47:15,281 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | 20:47:15,281 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | 20:47:15,281 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | 20:47:15,281 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | 20:47:15,281 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | 20:47:15,282 ERROR [STDERR] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54) | 20:47:15,282 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174) | 20:47:15,282 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | 20:47:15,282 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | 20:47:15,282 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | 20:47:15,282 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | 20:47:15,282 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | 20:47:15,282 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | 20:47:15,283 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | 20:47:15,286 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | 20:47:15,286 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | 20:47:15,286 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | 20:47:15,286 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) |
I am uding the tomahawk and myfaes from the version shipped by seam RC1 my web.xml looks like: | | <filter> | <filter-name>Seam Exception Filter</filter-name> | <filter-class>org.jboss.seam.servlet.SeamExceptionFilter</filter-class> | </filter> | | <filter> | <filter-name>Seam Redirect Filter</filter-name> | <filter-class>org.jboss.seam.servlet.SeamRedirectFilter</filter-class> | </filter> | | <filter> | <filter-name>extensionsFilter</filter-name> | <filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class> | <init-param> | <param-name>uploadMaxFileSize</param-name> | <param-value>100m</param-value> | </init-param> | <init-param> | <param-name>uploadThresholdSize</param-name> | <param-value>500k</param-value> | </init-param> | <init-param> | <param-name>uploadRepositoryPath</param-name> | <param-value>/temp</param-value> | </init-param> | </filter> | | <filter-mapping> | <filter-name>extensionsFilter</filter-name> | <url-pattern>*.faces</url-pattern> | </filter-mapping> | | <filter-mapping> | <filter-name>Seam Exception Filter</filter-name> | <url-pattern>/*</url-pattern> | </filter-mapping> | | <filter-mapping> | <filter-name>Seam Redirect Filter</filter-name> | <url-pattern>*.faces</url-pattern> | </filter-mapping> | Any Idea? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941727#3941727 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941727 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
