java.lang.IllegalArgumentException: Illegal URL:

GitHub | hc4 | 9 months 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.

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Illegal URL:

    at retrofit2.Retrofit$Builder.baseUrl()
  2. retrofit2
    Retrofit$Builder.baseUrl
    1. retrofit2.Retrofit$Builder.baseUrl(Retrofit.java:437)[graylog.jar:?]
    1 frame
  3. graylog2-server
    RemoteInterfaceProvider.get
    1. org.graylog2.rest.RemoteInterfaceProvider.get(RemoteInterfaceProvider.java:58)[graylog.jar:?]
    1 frame
  4. graylog2-shared
    ProxiedResource.lambda$getForAllNodes$0
    1. org.graylog2.shared.rest.resources.ProxiedResource.lambda$createRemoteInterfaceProvider$1(ProxiedResource.java:90)[graylog.jar:?]
    2. org.graylog2.shared.rest.resources.ProxiedResource.lambda$getForAllNodes$0(ProxiedResource.java:66)[graylog.jar:?]
    2 frames
  5. Java RT
    ReferencePipeline.collect
    1. java.util.stream.Collectors.lambda$toMap$58(Collectors.java:1321)[?:1.8.0_91]
    2. java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)[?:1.8.0_91]
    3. java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1683)[?:1.8.0_91]
    4. java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)[?:1.8.0_91]
    5. java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)[?:1.8.0_91]
    6. java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)[?:1.8.0_91]
    7. java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)[?:1.8.0_91]
    8. java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)[?:1.8.0_91]
    8 frames
  6. graylog2-shared
    ProxiedResource.getForAllNodes
    1. org.graylog2.shared.rest.resources.ProxiedResource.getForAllNodes(ProxiedResource.java:65)[graylog.jar:?]
    2. org.graylog2.shared.rest.resources.ProxiedResource.getForAllNodes(ProxiedResource.java:58)[graylog.jar:?]
    2 frames
  7. org.graylog2.rest
    ClusterMetricsResource.multipleMetricsAllNodes
    1. org.graylog2.rest.resources.cluster.ClusterMetricsResource.multipleMetricsAllNodes(ClusterMetricsResource.java:69)[graylog.jar:?]
    1 frame
  8. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)[?:?]
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_91]
    3. java.lang.reflect.Method.invoke(Method.java:498)[?:1.8.0_91]
    3 frames
  9. jersey-core-server
    AbstractJavaResourceMethodDispatcher.invoke
    1. org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[gra ylog.jar:?]
    2. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[graylog.j ar:?]
    3. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[graylog. jar:?]
    3 frames