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

Jan-Kees van Andel commented on EXTSCRIPT-116:
----------------------------------------------

I might do that. Also a good way to start learning the internals of ExtScript. 
But, for now, I'm very happy.

Good enough for an 1.0 release IMHO.

> NPE during reload in Maven Jetty Plugin
> ---------------------------------------
>
>                 Key: EXTSCRIPT-116
>                 URL: https://issues.apache.org/jira/browse/EXTSCRIPT-116
>             Project: MyFaces Extensions Scripting
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0-Beta-2
>            Reporter: Jan-Kees van Andel
>            Assignee: Werner Punz
>             Fix For: 1.0-Beta-2
>
>
> I'm still trying to find out the best way to use the Maven Jetty Plugin, so I 
> might be doing something wrong on this side here.
> Nevertheless, when I run mvn package on my project while the server is 
> running (to update dependent libraries to the server), I get the following 
> error:
> [INFO] Restarting webapp
> 18-apr-2010 21:24:02 org.apache.myfaces.webapp.StartupServletContextListener 
> dispatchInitializationEvent
> INFO: Processing 
> plugin:org.apache.myfaces.extensions.scripting.servlet.StartupServletContextPluginChainLoader
> 18-apr-2010 21:24:02 org.apache.myfaces.webapp.StartupServletContextListener 
> dispatchInitializationEvent
> INFO: Processing MyFaces plugins done
> 18-apr-2010 21:24:02 
> org.apache.myfaces.extensions.scripting.core.util.WeavingContext getWeaver
> WARNING: [EXT-SCRIPTING] Scripting Weaver is not set. Disabling script 
> reloading subsystem. Make sure you have the scripting servlet filter enabled 
> in your web.xml
> 2010-04-18 21:24:02.920::WARN:  failed 
> org.mortbay.jetty.plugin.jetty6pluginwebappcont...@63f5af{/html5parleys,D:\dev\work\idea9\parleys\web-html5\target\parleys-frontend-html5-0.1-SNAPSHOT}
> java.lang.NullPointerException
>       at 
> org.apache.myfaces.extensions.scripting.jsf.dynamicdecorators.implemetations.FacesContextProxy.weaveDelegate(FacesContextProxy.java:54)
>       at 
> org.apache.myfaces.extensions.scripting.jsf.dynamicdecorators.implemetations.FacesContextProxy.<init>(FacesContextProxy.java:140)
>       at 
> org.apache.myfaces.extensions.scripting.jsf.dynamicdecorators.factories.ScriptingFacesContextFactory.getFacesContext(ScriptingFacesContextFactory.java:52)
>       at 
> org.apache.myfaces.webapp.AbstractFacesInitializer.dispatchInitDestroyEvent(AbstractFacesInitializer.java:195)
>       at 
> org.apache.myfaces.webapp.AbstractFacesInitializer.destroyFaces(AbstractFacesInitializer.java:204)
>       at 
> org.apache.myfaces.webapp.StartupServletContextListener.contextDestroyed(StartupServletContextListener.java:215)
>       at 
> org.mortbay.jetty.handler.ContextHandler.doStop(ContextHandler.java:599)
>       at org.mortbay.jetty.webapp.WebAppContext.doStop(WebAppContext.java:498)
>       at 
> org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStop(Jetty6PluginWebAppContext.java:132)
>       at 
> org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:78)
>       at 
> org.mortbay.jetty.plugin.Jetty6RunWarExploded.restartWebApp(Jetty6RunWarExploded.java:118)
>       at 
> org.mortbay.jetty.plugin.Jetty6RunWarExploded$1.filesChanged(Jetty6RunWarExploded.java:100)
>       at org.mortbay.util.Scanner.reportBulkChanges(Scanner.java:486)
>       at org.mortbay.util.Scanner.reportDifferences(Scanner.java:352)
>       at org.mortbay.util.Scanner.scan(Scanner.java:280)
>       at org.mortbay.util.Scanner$1.run(Scanner.java:232)
>       at java.util.TimerThread.mainLoop(Timer.java:512)
>       at java.util.TimerThread.run(Timer.java:462)
> [ERROR] Error reconfiguring/restarting webapp after change in watched files
> java.lang.NullPointerException
>       at 
> org.apache.myfaces.extensions.scripting.jsf.dynamicdecorators.implemetations.FacesContextProxy.weaveDelegate(FacesContextProxy.java:54)
>       at 
> org.apache.myfaces.extensions.scripting.jsf.dynamicdecorators.implemetations.FacesContextProxy.<init>(FacesContextProxy.java:140)
>       at 
> org.apache.myfaces.extensions.scripting.jsf.dynamicdecorators.factories.ScriptingFacesContextFactory.getFacesContext(ScriptingFacesContextFactory.java:52)
>       at 
> org.apache.myfaces.webapp.AbstractFacesInitializer.dispatchInitDestroyEvent(AbstractFacesInitializer.java:195)
>       at 
> org.apache.myfaces.webapp.AbstractFacesInitializer.destroyFaces(AbstractFacesInitializer.java:204)
>       at 
> org.apache.myfaces.webapp.StartupServletContextListener.contextDestroyed(StartupServletContextListener.java:215)
>       at 
> org.mortbay.jetty.handler.ContextHandler.doStop(ContextHandler.java:599)
>       at org.mortbay.jetty.webapp.WebAppContext.doStop(WebAppContext.java:498)
>       at 
> org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStop(Jetty6PluginWebAppContext.java:132)
>       at 
> org.mortbay.component.AbstractLifeCycle.stop(AbstractLifeCycle.java:78)
>       at 
> org.mortbay.jetty.plugin.Jetty6RunWarExploded.restartWebApp(Jetty6RunWarExploded.java:118)
>       at 
> org.mortbay.jetty.plugin.Jetty6RunWarExploded$1.filesChanged(Jetty6RunWarExploded.java:100)
>       at org.mortbay.util.Scanner.reportBulkChanges(Scanner.java:486)
>       at org.mortbay.util.Scanner.reportDifferences(Scanner.java:352)
>       at org.mortbay.util.Scanner.scan(Scanner.java:280)
>       at org.mortbay.util.Scanner$1.run(Scanner.java:232)
>       at java.util.TimerThread.mainLoop(Timer.java:512)
>       at java.util.TimerThread.run(Timer.java:462)
> Above is all console output from the moment the server sees the new files.
> This exception prevents the webapp from booting.
> PS. Note the typo in the package name: 
> "org.apache.myfaces.extensions.scripting.jsf.dynamicdecorators.implemetations"...

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

Reply via email to