java.nio.BufferOverflowException

GitHub | mrfluency | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    debug下打补丁包异常

    GitHub | 7 months ago | mrfluency
    java.nio.BufferOverflowException
  2. 0

    GitHub comment 474#162284380

    GitHub | 1 year ago | magicrub
    java.nio.BufferOverflowException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 474#162284783

    GitHub | 1 year ago | WickedShell
    java.nio.BufferOverflowException
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.nio.BufferOverflowException

    No message provided

    at java.nio.Buffer.nextPutIndex()
  2. Java RT
    HeapByteBuffer.put
    1. java.nio.Buffer.nextPutIndex(Buffer.java:521)
    2. java.nio.HeapByteBuffer.put(HeapByteBuffer.java:169)
    2 frames
  3. com.tencent.tinker
    Runner$gradleRun.call
    1. com.tencent.tinker.android.dex.io.DexDataBuffer.writeByte(DexDataBuffer.java:548)
    2. com.tencent.tinker.android.dex.Leb128.writeUnsignedLeb128(Leb128.java:146)
    3. com.tencent.tinker.android.dex.io.DexDataBuffer.writeUleb128(DexDataBuffer.java:597)
    4. com.tencent.tinker.android.dex.io.DexDataBuffer.writeDebugInfoItem(DexDataBuffer.java:782)
    5. com.tencent.tinker.android.dex.Dex$Section.writeDebugInfoItem(Dex.java:823)
    6. com.tencent.tinker.commons.dexpatcher.algorithms.patch.DebugInfoItemSectionPatchAlgorithm.writePatchedItem(DebugInfoItemSectionPatchAlgorithm.java:115)
    7. com.tencent.tinker.commons.dexpatcher.algorithms.patch.DebugInfoItemSectionPatchAlgorithm.writePatchedItem(DebugInfoItemSectionPatchAlgorithm.java:30)
    8. com.tencent.tinker.commons.dexpatcher.algorithms.patch.DexSectionPatchAlgorithm.doFullPatch(DexSectionPatchAlgorithm.java:260)
    9. com.tencent.tinker.commons.dexpatcher.algorithms.patch.DexSectionPatchAlgorithm.execute(DexSectionPatchAlgorithm.java:207)
    10. com.tencent.tinker.commons.dexpatcher.DexPatchApplier.executeAndSaveTo(DexPatchApplier.java:372)
    11. com.tencent.tinker.commons.dexpatcher.DexPatchApplier.executeAndSaveTo(DexPatchApplier.java:397)
    12. com.tencent.tinker.build.decoder.DexDiffDecoder.onAllPatchesEnd(DexDiffDecoder.java:220)
    13. com.tencent.tinker.build.decoder.ApkDecoder.patch(ApkDecoder.java:123)
    14. com.tencent.tinker.build.patch.Runner.tinkerPatch(Runner.java:65)
    15. com.tencent.tinker.build.patch.Runner.run(Runner.java:48)
    16. com.tencent.tinker.build.patch.Runner.gradleRun(Runner.java:41)
    17. com.tencent.tinker.build.patch.Runner$gradleRun.call(Unknown Source)
    17 frames
  4. Groovy
    AbstractCallSite.call
    1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
    2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
    3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
    3 frames
  5. com.tencent.tinker
    TinkerPatchSchemaTask.tinkerPatch
    1. com.tencent.tinker.build.gradle.task.TinkerPatchSchemaTask.tinkerPatch(TinkerPatchSchemaTask.groovy:84)
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  7. org.gradle.internal
    JavaMethod.invoke
    1. org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
    1 frame
  8. Gradle Core
    StoppableExecutorImpl$1.run
    1. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:228)
    2. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:221)
    3. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:210)
    4. org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:621)
    5. org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:604)
    6. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
    7. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
    8. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
    9. org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
    10. org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:66)
    11. org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
    12. org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
    13. org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
    14. org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
    15. org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
    16. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
    17. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
    18. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
    19. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
    20. org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
    21. org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
    21 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames