com.sun.jersey.api.container.ContainerException

Could not process parameter type class org.opentripplanner.api.parameter.LayerList

Solutions on the web177

  • via Google Groups by Erol Altınel, 6 months ago
    Could not process parameter type class org.opentripplanner.api.parameter.LayerList
  • via Stack Overflow by amekki
    , 1 month ago
    The Application class com.app.ws.RestApi could not be instantiated
  • The Application class com.ben.service.CustomerApplication could not be instantiated
  • Stack trace

    • com.sun.jersey.api.container.ContainerException: Could not process parameter type class org.opentripplanner.api.parameter.LayerList at com.sun.jersey.server.impl.model.parameter.multivalued.MultivaluedParameterExtractorFactory.process(MultivaluedParameterExtractorFactory.java:149) at com.sun.jersey.server.impl.model.parameter.multivalued.MultivaluedParameterExtractorFactory.get(MultivaluedParameterExtractorFactory.java:81) at com.sun.jersey.server.impl.model.parameter.BaseParamInjectableProvider.get(BaseParamInjectableProvider.java:71) at com.sun.jersey.server.impl.model.parameter.QueryParamInjectableProvider.getInjectable(QueryParamInjectableProvider.java:91) at com.sun.jersey.server.impl.model.parameter.QueryParamInjectableProvider.getInjectable(QueryParamInjectableProvider.java:59) at com.sun.jersey.core.spi.factory.InjectableProviderFactory.getInjectable(InjectableProviderFactory.java:214) at com.sun.jersey.server.impl.inject.ServerInjectableProviderFactory.getInjectableiWithScope(ServerInjectableProviderFactory.java:81) at com.sun.jersey.server.spi.component.ResourceComponentInjector.processFields(ResourceComponentInjector.java:115) at com.sun.jersey.server.spi.component.ResourceComponentInjector.<init>(ResourceComponentInjector.java:93) at com.sun.jersey.server.spi.component.ResourceComponentConstructor.<init>(ResourceComponentConstructor.java:144) at com.sun.jersey.server.impl.resource.PerRequestFactory$PerRequest.init(PerRequestFactory.java:174) at com.sun.jersey.server.impl.application.WebApplicationImpl$10.f(WebApplicationImpl.java:583) at com.sun.jersey.server.impl.application.WebApplicationImpl$10.f(WebApplicationImpl.java:580) at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:193) at com.sun.jersey.server.impl.application.WebApplicationImpl.getResourceComponentProvider(WebApplicationImpl.java:580) at com.sun.jersey.server.impl.application.WebApplicationImpl.initiateResource(WebApplicationImpl.java:657) at com.sun.jersey.server.impl.application.WebApplicationImpl.initiateResource(WebApplicationImpl.java:652) at com.sun.jersey.server.impl.application.RootResourceUriRules.<init>(RootResourceUriRules.java:124) at com.sun.jersey.server.impl.application.WebApplicationImpl._initiate(WebApplicationImpl.java:1331) at com.sun.jersey.server.impl.application.WebApplicationImpl.access$700(WebApplicationImpl.java:168) at com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:774) at com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:770) at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:193) at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:770) at com.sun.jersey.api.container.ContainerFactory.createContainer(ContainerFactory.java:172) at org.opentripplanner.standalone.GrizzlyServer.run(GrizzlyServer.java:130) at org.opentripplanner.standalone.OTPMain.main(OTPMain.java:77) Caused by: javax.ws.rs.WebApplicationException at org.opentripplanner.api.parameter.LayerList.<init>(LayerList.java:45) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at com.sun.jersey.server.impl.model.parameter.multivalued.StringReaderProviders$StringConstructor$1._fromString(StringReaderProviders.java:97) at com.sun.jersey.server.impl.model.parameter.multivalued.StringReaderProviders$AbstractStringReader.fromString(StringReaderProviders.java:68) at com.sun.jersey.server.impl.model.parameter.multivalued.AbstractStringReaderExtractor.<init>(AbstractStringReaderExtractor.java:63) at com.sun.jersey.server.impl.model.parameter.multivalued.StringReaderExtractor.<init>(StringReaderExtractor.java:56) at com.sun.jersey.server.impl.model.parameter.multivalued.MultivaluedParameterExtractorFactory.process(MultivaluedParameterExtractorFactory.java:147) ... 26 more

    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

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.