java.lang.IllegalArgumentException: Alias does not start with slash (/)

karaf-user | Freeman Fang | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Re: Alias does not start with slash (/)

    karaf-user | 4 years ago | Freeman Fang
    java.lang.IllegalArgumentException: Alias does not start with slash (/)
  2. 0

    Re: Alias does not start with slash (/)

    karaf-user | 4 years ago | Freeman Fang
    java.lang.IllegalArgumentException: Alias does not start with slash (/)
  3. 0

    Re: Alias does not start with slash (/)

    karaf-user | 4 years ago | Freeman Fang
    java.lang.IllegalArgumentException: Alias does not start with slash (/)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Alias does not start with slash (/)

    karaf-user | 4 years ago | Freeman Fang
    java.lang.IllegalArgumentException: Alias does not start with slash (/)
  6. 0

    Alias does not start with slash (/)

    karaf-user | 4 years ago | Raman
    java.lang.IllegalArgumentException: Alias does not start with slash (/)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Alias does not start with slash (/)

      at org.ops4j.pax.web.service.spi.model.ServletModel.validateAlias()
    2. OPS4J Pax Web - Service SPI
      ServletModel.<init>
      1. org.ops4j.pax.web.service.spi.model.ServletModel.validateAlias(ServletModel.java:127)
      2. org.ops4j.pax.web.service.spi.model.ServletModel.<init>(ServletModel.java:48)
      2 frames
    3. OPS4J Pax Web - Runtime
      HttpServiceProxy.registerServlet
      1. org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:178)
      2. org.ops4j.pax.web.service.internal.HttpServiceProxy.registerServlet(HttpServiceProxy.java:59)
      2 frames
    4. org.ops4j.pax
      ServletTracker.addingService
      1. org.ops4j.pax.web.extender.whiteboard.internal.element.ServletWebElement.register(ServletWebElement.java:64)
      2. org.ops4j.pax.web.extender.whiteboard.internal.WebApplication.registerWebElement(WebApplication.java:228)
      3. org.ops4j.pax.web.extender.whiteboard.internal.WebApplication.addWebElement(WebApplication.java:102)
      4. org.ops4j.pax.web.extender.whiteboard.internal.tracker.AbstractTracker.addingService(AbstractTracker.java:145)
      5. org.ops4j.pax.web.extender.whiteboard.internal.tracker.ServletTracker.addingService(ServletTracker.java:42)
      5 frames
    5. OSGi
      ServiceTracker.open
      1. org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)[core.container.jar:3.4.0.74]
      2. org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)[core.container.jar:3.4.0.74]
      3. org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)[core.container.jar:3.4.0.74]
      4. org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)[core.container.jar:3.4.0.74]
      5. org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:317)[core.container.jar:3.4.0.74]
      6. org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261)[core.container.jar:3.4.0.74]
      6 frames
    6. org.ops4j.pax
      Activator.start
      1. org.ops4j.pax.web.extender.whiteboard.internal.Activator.trackServlets(Activator.java:143)
      2. org.ops4j.pax.web.extender.whiteboard.internal.Activator.start(Activator.java:76)
      2 frames
    7. Eclipse OSGi
      BundleContextImpl$1.run
      1. org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
      1 frame
    8. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)[:1.7.0_10]
      1 frame
    9. Eclipse OSGi
      AbstractBundle.start
      1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)[osgi-3.8.0.v20120529-1548.jar:]
      2. org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)[osgi-3.8.0.v20120529-1548.jar:]
      3. org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)[osgi-3.8.0.v20120529-1548.jar:]
      4. org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)[osgi-3.8.0.v20120529-1548.jar:]
      5. org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:292)[osgi-3.8.0.v20120529-1548.jar:]
      5 frames
    10. Pax Runner
      FeaturesServiceImpl$2.run
      1. org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:473)[22:org.apache.karaf.features.core:2.3.0]
      2. org.apache.karaf.features.internal.FeaturesServiceImpl$2.run(FeaturesServiceImpl.java:1141)[22:org.apache.karaf.features.core:2.3.0]
      2 frames