opentracing-contrib / java-jaxrs

OpenTracing Java JAX-RS instrumentation
Apache License 2.0
37 stars 33 forks source link

Exception in ServerTracingFilter when URI path in HTTP request is empty #117

Closed haneeshr closed 5 years ago

haneeshr commented 5 years ago

Specifying skipPattern, makes any request with empty URI path fail. It fails here https://github.com/opentracing-contrib/java-jaxrs/blob/29d6f944e6b423c29af96ef9ac2cf60aa749a57b/opentracing-jaxrs2/src/main/java/io/opentracing/contrib/jaxrs2/server/ServerTracingFilter.java#L138 with IndexOutOfBoundException