myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Punz (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (EXTSCRIPT-38) NPE after reloading NavigationHandler
Date Tue, 15 Dec 2009 21:19:35 GMT

    [ https://issues.apache.org/jira/browse/EXTSCRIPT-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12790957#action_12790957
] 

Werner Punz commented on EXTSCRIPT-38:
--------------------------------------

Will fix this tomorrow...


> NPE after reloading NavigationHandler
> -------------------------------------
>
>                 Key: EXTSCRIPT-38
>                 URL: https://issues.apache.org/jira/browse/EXTSCRIPT-38
>             Project: MyFaces Extensions Scripting
>          Issue Type: Bug
>            Reporter: Jan-Kees van Andel
>            Assignee: Werner Punz
>
> I see the explanation in the createMethodReloadingProxyFromObject JavaDocs, but since
the example crashes, I thought, let's file this issue anyway.
> When a new NavigationHandler is loaded and I click on a button in the example page, I
get the following NPE (because _delegate is null):
> java.lang.NullPointerException
> 	at org.apache.myfaces.scripting.core.reloading.SimpleReloadingStrategy.reload(SimpleReloadingStrategy.java:70)
> 	at org.apache.myfaces.scripting.core.reloading.GlobalReloadingStrategy.reload(GlobalReloadingStrategy.java:79)
> 	at org.apache.myfaces.scripting.api.BaseWeaver.reloadScriptingInstance(BaseWeaver.java:98)
> 	at org.apache.myfaces.scripting.core.CoreWeaver.reloadScriptingInstance(CoreWeaver.java:62)
> 	at org.apache.myfaces.scripting.jsf.dynamicdecorators.implemetations.NavigationHandlerProxy.weaveDelegate(NavigationHandlerProxy.java:36)
> 	at org.apache.myfaces.scripting.jsf.dynamicdecorators.implemetations.NavigationHandlerProxy.handleNavigation(NavigationHandlerProxy.java:45)
> 	at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:82)
> 	at javax.faces.component.UICommand.broadcast(UICommand.java:127)
> 	at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:369)
> 	at javax.faces.component.UIViewRoot.process(UIViewRoot.java:264)
> 	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:153)
> 	at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)
> 	at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:103)
> 	at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
> 	at org.apache.myfaces.scripting.jsf.dynamicdecorators.implemetations.LifefcycleProxy.execute(LifefcycleProxy.java:60)
> 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:178)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:491)
> 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1074)
> 	at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
> 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065)
> 	at org.apache.myfaces.scripting.servlet.ScriptingServletFilter.doFilter(ScriptingServletFilter.java:50)
> 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065)
> 	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
> 	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:185)
> 	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
> 	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:689)
> 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:391)
> 	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:146)
> 	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
> 	at org.mortbay.jetty.Server.handle(Server.java:285)
> 	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:457)
> 	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:765)
> 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:628)
> 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
> 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357)
> 	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:329)
> 	at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message