java.net.MalformedURLException: The cocoon protocol can not be used outside an environment.

cocoon-users | pankaj gajjar | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    The cocoon protocol can not be used outside an environment.

    cocoon-users | 6 years ago | pankaj gajjar
    java.net.MalformedURLException: The cocoon protocol can not be used outside an environment.
  2. 0

    The cocoon protocol can not be used outside an environment

    Stack Overflow | 6 years ago | javaamtho
    java.net.MalformedURLException: The cocoon protocol can not be used outside an environment. at org.apache.cocoon.components.source.impl.SitemapSource.<init>(SitemapSource.java:119)

    Root Cause Analysis

    1. java.net.MalformedURLException

      The cocoon protocol can not be used outside an environment.

      at org.apache.cocoon.components.source.impl.SitemapSource.<init>()
    2. org.apache.cocoon
      SitemapSourceFactory.getSource
      1. org.apache.cocoon.components.source.impl.SitemapSource.<init>(SitemapSource.java:119)
      2. org.apache.cocoon.components.source.impl.SitemapSourceFactory.getSource(SitemapSourceFactory.java:65)
      2 frames
    3. org.apache.excalibur
      SourceResolverImpl.resolveURI
      1. org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceResolverImpl.java:208)
      1 frame
    4. org.apache.cocoon
      CocoonPipelineCronJob.execute
      1. org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558)
      2. org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:541)
      3. org.apache.cocoon.components.cron.CocoonPipelineCronJob.execute(CocoonPipelineCronJob.java:68)
      3 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    6. org.apache.avalon
      ComponentProxyGenerator$ComponentInvocationHandler.invoke
      1. org.apache.avalon.excalibur.component.ComponentProxyGenerator$ComponentInvocationHandler.invoke(ComponentProxyGenerator.java:143)
      1 frame
    7. Unknown
      $Proxy6.execute
      1. $Proxy6.execute(Unknown Source)
      1 frame
    8. org.apache.cocoon
      QuartzJobExecutor.execute
      1. org.apache.cocoon.components.cron.QuartzJobExecutor.execute(QuartzJobExecutor.java:103)
      1 frame
    9. quartz
      JobRunShell.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:203)
      1 frame
    10. Dough Lea's util.concurrent package
      PooledExecutor$Worker.run
      1. EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(UnknownSource)
      1 frame
    11. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame