java.lang.IndexOutOfBoundsException: Beginning index larger than ending index: 0, -1621147904

GitHub | romanzes | 4 months ago
  1. 0

    Invalid plan for CROSS JOIN UNNEST

    GitHub | 1 year ago | haozhun
    java.lang.IndexOutOfBoundsException: index (0) must be less than size (0)
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    $ curl -v -XPOST 'localhost:10000/v3/metrics/query?context=namespace.system.component.appfabric.handler.PingHandler.methods.ping' * Hostname was NOT found in DNS cache * Trying 127.0.0.1... * Connected to localhost (127.0.0.1) port 10000 (#0) > POST /v3/metrics/query?context=namespace.system.component.appfabric.handler.PingHandler.methods.ping HTTP/1.1 > User-Agent: curl/7.37.1 > Host: localhost:10000 > Accept: */* > < HTTP/1.1 500 Internal Server Error < Content-Length: 0 < Connection: keep-alive < * Connection #0 to host localhost left intact Here is the log: 2015-04-17 15:53:55,541 - ERROR [executor-199:c.c.c.c.e.HttpExceptionHandler@45] - Unexpected error: request=POST /v3/metrics/query?context=namespace.system.component.appfabric.handler.PingHandler.methods.ping user=<null>: java.lang.IndexOutOfBoundsException: index (0) must be less than size (0) at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:305) ~[co.cask.cdap.cdap-cli-3.0.0-SNAPSHOT.jar:na] at com.google.common.base.Preconditions.checkElementIndex(Preconditions.java:284) ~[co.cask.cdap.cdap-cli-3.0.0-SNAPSHOT.jar:na] at com.google.common.collect.EmptyImmutableList.get(EmptyImmutableList.java:80) ~[co.cask.cdap.cdap-cli-3.0.0-SNAPSHOT.jar:na] at co.cask.cdap.metrics.query.MetricsHandler.query(MetricsHandler.java:218) ~[co.cask.cdap.cdap-watchdog-3.0.0-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_65] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_65] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_65] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_65] at co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:85) ~[co.cask.cdap.cdap-explore-jdbc-3.0.0-SNAPSHOT.jar:na] at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:41) [co.cask.cdap.cdap-explore-jdbc-3.0.0-SNAPSHOT.jar:na] at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [co.cask.cdap.cdap-explore-jdbc-3.0.0-SNAPSHOT.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [co.cask.cdap.cdap-explore-jdbc-3.0.0-SNAPSHOT.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [co.cask.cdap.cdap-explore-jdbc-3.0.0-SNAPSHOT.jar:na] at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) [co.cask.cdap.cdap-explore-jdbc-3.0.0-SNAPSHOT.jar:na] at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) [co.cask.cdap.cdap-explore-jdbc-3.0.0-SNAPSHOT.jar:na] at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) [co.cask.cdap.cdap-explore-jdbc-3.0.0-SNAPSHOT.jar:na] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [na:1.6.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [na:1.6.0_65] at java.lang.Thread.run(Thread.java:695) [na:1.6.0_65]

    Cask Community Issue Tracker | 2 years ago | Andreas Neumann
    java.lang.IndexOutOfBoundsException: index (0) must be less than size (0)
  4. 0

    IndexOutOfBoundsException sometimes when shutting down, and OP not persisting

    GitHub | 5 months ago | daboross
    java.lang.IndexOutOfBoundsException: index (0) must be less than size (0)

    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.IndexOutOfBoundsException

      Beginning index larger than ending index: 0, -1621147904

      at com.google.protobuf.ByteString.checkRange()
    2. Protocol Buffer Java API
      CodedInputStream.readTag
      1. com.google.protobuf.ByteString.checkRange(ByteString.java:1215)
      2. com.google.protobuf.ByteString.copyTo(ByteString.java:595)
      3. com.google.protobuf.CodedInputStream.tryRefillBuffer(CodedInputStream.java:1101)
      4. com.google.protobuf.CodedInputStream.isAtEnd(CodedInputStream.java:1035)
      5. com.google.protobuf.CodedInputStream.readTag(CodedInputStream.java:139)
      5 frames
    3. POGOProtos.Networking.Responses
      GetPlayerResponseOuterClass$GetPlayerResponse$1.parsePartialFrom
      1. POGOProtos.Networking.Responses.GetPlayerResponseOuterClass$GetPlayerResponse.<init>(GetPlayerResponseOuterClass.java:62)
      2. POGOProtos.Networking.Responses.GetPlayerResponseOuterClass$GetPlayerResponse.<init>(GetPlayerResponseOuterClass.java:36)
      3. POGOProtos.Networking.Responses.GetPlayerResponseOuterClass$GetPlayerResponse$1.parsePartialFrom(GetPlayerResponseOuterClass.java:549)
      4. POGOProtos.Networking.Responses.GetPlayerResponseOuterClass$GetPlayerResponse$1.parsePartialFrom(GetPlayerResponseOuterClass.java:544)
      4 frames
    4. Protocol Buffer Java API
      AbstractParser.parseFrom
      1. com.google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:197)
      2. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:214)
      3. com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:49)
      3 frames
    5. POGOProtos.Networking.Responses
      GetPlayerResponseOuterClass$GetPlayerResponse.parseFrom
      1. POGOProtos.Networking.Responses.GetPlayerResponseOuterClass$GetPlayerResponse.parseFrom(GetPlayerResponseOuterClass.java:185)
      1 frame
    6. com.pokegoapi.api
      PokemonGo.<init>
      1. com.pokegoapi.api.player.PlayerProfile.updateProfile(PlayerProfile.java:95)
      2. com.pokegoapi.api.player.PlayerProfile.<init>(PlayerProfile.java:78)
      3. com.pokegoapi.api.PokemonGo.<init>(PokemonGo.java:81)
      4. com.pokegoapi.api.PokemonGo.<init>(PokemonGo.java:100)
      4 frames