java.lang.NoClassDefFoundError: okio.Buffer

tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Exception in Okhttp network library in below lollipop devices

    Stack Overflow | 8 months ago | Sandeep Singh Bandral
    java.lang.NoClassDefFoundError: okhttp3.HttpUrl$Builder

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      okio.Buffer

      at okhttp3.HttpUrl.percentDecode()
    2. okhttp3
      Request$Builder.url
      1. okhttp3.HttpUrl.percentDecode(HttpUrl.java:1454)
      2. okhttp3.HttpUrl.percentDecode(HttpUrl.java:1438)
      3. okhttp3.HttpUrl.percentDecode(HttpUrl.java:1444)
      4. okhttp3.HttpUrl.<init>(HttpUrl.java:335)
      5. okhttp3.HttpUrl.<init>(HttpUrl.java:278)
      6. okhttp3.HttpUrl$Builder.build(HttpUrl.java:949)
      7. okhttp3.HttpUrl.parse(HttpUrl.java:644)
      8. okhttp3.Request$Builder.url(Request.java:142)
      8 frames
    3. io.socket.engineio
      Transport$1.run
      1. io.socket.engineio.client.transports.WebSocket.doOpen(WebSocket.java:64)
      2. io.socket.engineio.client.Transport$1.run(Transport.java:75)
      2 frames
    4. io.socket.thread
      EventThread.exec
      1. io.socket.thread.EventThread.exec(EventThread.java:50)
      1 frame
    5. io.socket.engineio
      Socket$5.call
      1. io.socket.engineio.client.Transport.open(Transport.java:70)
      2. io.socket.engineio.client.Socket.probe(Socket.java:458)
      3. io.socket.engineio.client.Socket.onOpen(Socket.java:471)
      4. io.socket.engineio.client.Socket.onHandshake(Socket.java:512)
      5. io.socket.engineio.client.Socket.onPacket(Socket.java:485)
      6. io.socket.engineio.client.Socket.access$900(Socket.java:30)
      7. io.socket.engineio.client.Socket$5.call(Socket.java:299)
      7 frames
    6. io.socket.emitter
      Emitter.emit
      1. io.socket.emitter.Emitter.emit(Emitter.java:117)
      1 frame
    7. io.socket.engineio
      PollingXHR$5$1.run
      1. io.socket.engineio.client.Transport.onPacket(Transport.java:127)
      2. io.socket.engineio.client.transports.Polling.access$700(Polling.java:17)
      3. io.socket.engineio.client.transports.Polling$2.call(Polling.java:124)
      4. io.socket.engineio.parser.Parser.decodePayload(Parser.java:251)
      5. io.socket.engineio.client.transports.Polling._onData(Polling.java:134)
      6. io.socket.engineio.client.transports.Polling.onData(Polling.java:106)
      7. io.socket.engineio.client.transports.PollingXHR$5$1.run(PollingXHR.java:113)
      7 frames
    8. io.socket.thread
      EventThread$2.run
      1. io.socket.thread.EventThread$2.run(EventThread.java:75)
      1 frame
    9. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
      3. java.lang.Thread.run(Thread.java:838)
      3 frames