java.nio.BufferUnderflowException

Stack Overflow | Bartos | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.nio.BufferUnderflowException

    No message provided

    at java.nio.ByteArrayBuffer.getLong()
  2. Java RT
    ByteArrayBuffer.getLong
    1. java.nio.ByteArrayBuffer.getLong(ByteArrayBuffer.java:211)
    1 frame
  3. com.example.eltegps011
    StocktakingFragment$9.onReceivedData
    1. com.example.eltegps011.eltegps.fragments.StocktakingFragment$9.onReceivedData(StocktakingFragment.java:504)
    1 frame
  4. com.felhr.usbserial
    UsbSerialDevice$WorkerThread.run
    1. com.felhr.usbserial.UsbSerialDevice$WorkerThread.onReceivedData(UsbSerialDevice.java:261)
    2. com.felhr.usbserial.UsbSerialDevice$WorkerThread.run(UsbSerialDevice.java:235)
    2 frames