java.lang.IllegalArgumentException: a JSON pointer should start with '/' or '#/'

GitHub | wlk | 4 months ago
  1. 0

    Unhelpful error message: a JSON pointer should start with '/' or '#/'

    GitHub | 4 months ago | wlk
    java.lang.IllegalArgumentException: a JSON pointer should start with '/' or '#/'
  2. 0
    This happened when I tried to insert an empty list of elements to a collection.
  3. 0
    This error is caused by malformed HTTP request. You are trying to access unsecured page through https.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Some bots are sending malformed HTTP requests to your site. Try to find their IP addresses in the access logs and ask them to fix the bots or blacklist them.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      a JSON pointer should start with '/' or '#/'

      at org.json.JSONPointer.<init>()
    2. Android Platform
      JSONPointer.<init>
      1. org.json.JSONPointer.<init>(JSONPointer.java:155)
      1 frame
    3. org.everit.json
      SchemaLoader.loadChild
      1. org.everit.json.schema.loader.internal.JSONPointer.queryFrom(JSONPointer.java:183)
      2. org.everit.json.schema.loader.internal.JSONPointer.query(JSONPointer.java:171)
      3. org.everit.json.schema.loader.SchemaLoader.lookupReference(SchemaLoader.java:578)
      4. org.everit.json.schema.loader.SchemaLoader.buildSchemaWithoutExplicitType(SchemaLoader.java:435)
      5. org.everit.json.schema.loader.SchemaLoader.load(SchemaLoader.java:517)
      6. org.everit.json.schema.loader.SchemaLoader.loadChild(SchemaLoader.java:530)
      6 frames
    4. Java RT
      ReferencePipeline.collect
      1. java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
      2. java.util.stream.IntPipeline$4$1.accept(IntPipeline.java:250)
      3. java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:110)
      4. java.util.Spliterator$OfInt.forEachRemaining(Spliterator.java:693)
      5. java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
      6. java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
      7. java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
      8. java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      9. java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
      9 frames
    5. org.everit.json
      SchemaLoader.load
      1. org.everit.json.schema.loader.SchemaLoader.tryCombinedSchema(SchemaLoader.java:640)
      2. org.everit.json.schema.loader.SchemaLoader.load(SchemaLoader.java:514)
      3. org.everit.json.schema.loader.SchemaLoader.load(SchemaLoader.java:223)
      4. org.everit.json.schema.loader.SchemaLoader.load(SchemaLoader.java:206)
      4 frames