java.lang.IllegalArgumentException

Alias does not start with slash (/)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web10

  • via Unknown by Freeman Fang,
  • via Unknown by Freeman Fang,
  • via Unknown by Freeman Fang,
  • Stack trace

    • java.lang.IllegalArgumentException: Alias does not start with slash (/) at org.ops4j.pax.web.service.spi.model.ServletModel.validateAlias(ServletModel.java:127) at org.ops4j.pax.web.service.spi.model.ServletModel.<init>(ServletModel.java:48) at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:178) at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerServlet(HttpServiceProxy.java:59) at org.ops4j.pax.web.extender.whiteboard.internal.element.ServletWebElement.register(ServletWebElement.java:64) at org.ops4j.pax.web.extender.whiteboard.internal.WebApplication.registerWebElement(WebApplication.java:228) at org.ops4j.pax.web.extender.whiteboard.internal.WebApplication.addWebElement(WebApplication.java:102) at org.ops4j.pax.web.extender.whiteboard.internal.tracker.AbstractTracker.addingService(AbstractTracker.java:145) at org.ops4j.pax.web.extender.whiteboard.internal.tracker.ServletTracker.addingService(ServletTracker.java:42) at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)[core.container.jar:3.4.0.74] at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)[core.container.jar:3.4.0.74] at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)[core.container.jar:3.4.0.74] at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)[core.container.jar:3.4.0.74] at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:317)[core.container.jar:3.4.0.74] at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261)[core.container.jar:3.4.0.74] at org.ops4j.pax.web.extender.whiteboard.internal.Activator.trackServlets(Activator.java:143) at org.ops4j.pax.web.extender.whiteboard.internal.Activator.start(Activator.java:76) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711) at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_10] at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)[osgi-3.8.0.v20120529-1548.jar:] at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)[osgi-3.8.0.v20120529-1548.jar:] at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)[osgi-3.8.0.v20120529-1548.jar:] at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:300)[osgi-3.8.0.v20120529-1548.jar:] at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:292)[osgi-3.8.0.v20120529-1548.jar:] at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:473)[22:org.apache.karaf.features.core:2.3.0] at org.apache.karaf.features.internal.FeaturesServiceImpl$2.run(FeaturesServiceImpl.java:1141)[22:org.apache.karaf.features.core:2.3.0]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.