[ 
https://issues.apache.org/jira/browse/EXTSCRIPT-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan-Kees van Andel resolved EXTSCRIPT-27.
-----------------------------------------

    Resolution: Fixed
      Assignee: Jan-Kees van Andel  (was: Werner Punz)

All three examples should work now. (except for the NPE listed in EXTSCRIPT-36)

> myfaces 1.2. example doesn't run on Windoze...
> ----------------------------------------------
>
>                 Key: EXTSCRIPT-27
>                 URL: https://issues.apache.org/jira/browse/EXTSCRIPT-27
>             Project: MyFaces Extensions Scripting
>          Issue Type: Bug
>            Reporter: Matthias Weßendorf
>            Assignee: Jan-Kees van Andel
>         Attachments: Extscript_examples
>
>
> 2009-12-05 13:46:20.312::WARN:  Error starting handlers
> java.lang.ExceptionInInitializerError
>         at 
> org.apache.myfaces.shared_impl.webapp.webxml.WebXml.init(WebXml.java:243)
>         at 
> org.apache.myfaces.shared_impl.webapp.webxml.WebXml.getWebXml(WebXml.java:228)
>         at 
> org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:74)
>         at 
> org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:139)
>         at 
> org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:511)
>         at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
>         at 
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1191)
>         at 
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:481)
>         at 
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:434)
>         at 
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>         at 
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
>         at 
> org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:120)
>         at 
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>         at 
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
>         at 
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>         at 
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
>         at org.mortbay.jetty.Server.doStart(Server.java:210)
>         at 
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>         at 
> org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:134)
>         at 
> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:332)
>         at 
> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:277)
>         at 
> org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:195)
>         at 
> org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:183)
>         at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:513)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:483)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at 
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.lang.StringIndexOutOfBoundsException: String index out of 
> range: 1
>         at java.lang.String.charAt(String.java:687)
>         at java.util.regex.Matcher.appendReplacement(Matcher.java:703)
>         at java.util.regex.Matcher.replaceAll(Matcher.java:813)
>         at java.lang.String.replaceAll(String.java:2190)
>         at 
> org.apache.myfaces.scripting.api.BaseWeaver.loadScriptingClassFromName(BaseWeaver.java:159)
>         at 
> org.apache.myfaces.scripting.core.CoreWeaver.loadScriptingClassFromName(CoreWeaver.java:85)
>         at 
> org.apache.myfaces.scripting.servlet.CustomChainLoader.forName(CustomChainLoader.java:110)
>         at 
> org.apache.myfaces.shared_impl.util.ClassUtils.classForName(ClassUtils.java:158)
>         at 
> org.apache.myfaces.shared_impl.config.MyfacesConfig.<clinit>(MyfacesConfig.java:202)
>         ... 41 more
> 2009-12-05 13:46:20.312::WARN:  Nested in 
> java.lang.ExceptionInInitializerError:
> java.lang.StringIndexOutOfBoundsException: String index out of range: 1
>         at java.lang.String.charAt(String.java:687)
>         at java.util.regex.Matcher.appendReplacement(Matcher.java:703)
>         at java.util.regex.Matcher.replaceAll(Matcher.java:813)
>         at java.lang.String.replaceAll(String.java:2190)
>         at 
> org.apache.myfaces.scripting.api.BaseWeaver.loadScriptingClassFromName(BaseWeaver.java:159)
>         at 
> org.apache.myfaces.scripting.core.CoreWeaver.loadScriptingClassFromName(CoreWeaver.java:85)
>         at 
> org.apache.myfaces.scripting.servlet.CustomChainLoader.forName(CustomChainLoader.java:110)
>         at 
> org.apache.myfaces.shared_impl.util.ClassUtils.classForName(ClassUtils.java:158)
>         at 
> org.apache.myfaces.shared_impl.config.MyfacesConfig.<clinit>(MyfacesConfig.java:202)
>         at 
> org.apache.myfaces.shared_impl.webapp.webxml.WebXml.init(WebXml.java:243)
>         at 
> org.apache.myfaces.shared_impl.webapp.webxml.WebXml.getWebXml(WebXml.java:228)
>         at 
> org.apache.myfaces.webapp.AbstractFacesInitializer.initFaces(AbstractFacesInitializer.java:74)
>         at 
> org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:139)
>         at 
> org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:511)
>         at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
>         at 
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1191)
>         at 
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:481)
>         at 
> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:434)
>         at 
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>         at 
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
>         at 
> org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:120)
>         at 
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>         at 
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
>         at 
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>         at 
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
>         at org.mortbay.jetty.Server.doStart(Server.java:210)
>         at 
> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
>         at 
> org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:134)
>         at 
> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:332)
>         at 
> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:277)
>         at 
> org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:195)
>         at 
> org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:183)
>         at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:513)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:483)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at 
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

-- 
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