java.lang.IllegalArgumentException

A segment is null

Solutions on the web15959

  • via Sonatype JIRA by Joe Tom, 1 year ago
    A segment is null
  • via Sonatype JIRA by Joe Tom, 1 year ago
    A segment is null
  • Path segment is null
  • Stack trace

    • java.lang.IllegalArgumentException: A segment is null at org.jboss.resteasy.specimpl.ResteasyUriBuilder.segment(ResteasyUriBuilder.java:983)[org.sonatype.siesta.server:2.1.0.SNAPSHOT] at com.sonatype.nexus.plugins.healthcheck.service.impl.UrlServiceImpl.buildInsightUrl(UrlServiceImpl.java:103)[na:na] at com.sonatype.nexus.plugins.healthcheck.service.impl.UrlServiceImpl.getComponentDetailsUrl(UrlServiceImpl.java:96)[na:na] at com.sonatype.nexus.plugins.healthcheck.service.impl.InsightServiceImpl.getComponentDetails(InsightServiceImpl.java:101)[na:na] at com.sonatype.nexus.plugins.healthcheck.rest.HealthCheckFileDetailResource.getContent(HealthCheckFileDetailResource.java:244)[na:na] at com.sonatype.nexus.plugins.healthcheck.rest.HealthCheckFileDetailResource.doGet(HealthCheckFileDetailResource.java:180)[na:na] at com.sonatype.nexus.plugins.healthcheck.rest.HealthCheckFileDetailResource.getComponentDetails(HealthCheckFileDetailResource.java:113)[na:na] at org.apache.shiro.guice.aop.AopAllianceMethodInvocationAdapter.proceed(AopAllianceMethodInvocationAdapter.java:49)[na:na] at org.apache.shiro.authz.aop.AuthorizingAnnotationMethodInterceptor.invoke(AuthorizingAnnotationMethodInterceptor.java:68)[na:na] at org.apache.shiro.guice.aop.AopAllianceMethodInterceptorAdapter.invoke(AopAllianceMethodInterceptorAdapter.java:36)[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_75] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_75] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_75] at java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_75]

    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.