java.lang.NoSuchMethodError: com.google.protobuf.CodedInputStream.newInstance

GitHub | annasoloviova | 6 months ago
  1. 0

    Reproducable OsmAnd crashes on car head unit.

    GitHub | 6 months ago | annasoloviova
    java.lang.NoSuchMethodError: com.google.protobuf.CodedInputStream.newInstance
  2. 0
    I was using the library hibernate-entitymanager:4.3.5.Final with java persistence API 2.0 instead of using it with hibernate-entitymanager:4.2.8.Final.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0
    This bug happens in version 2.60, try updating to 2.60-rc4 or more recent.
    via GitHub by anujlal01

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

      com.google.protobuf.CodedInputStream.newInstance

      at net.osmand.binary.BinaryMapIndexReader.<init>()
    2. net.osmand.binary
      BinaryMapIndexReader.<init>
      1. net.osmand.binary.BinaryMapIndexReader.<init>(BinaryMapIndexReader.java:124)
      1 frame
    3. net.osmand.map
      OsmandRegions.prepareFile
      1. net.osmand.map.OsmandRegions.prepareFile(OsmandRegions.java:96)
      1 frame
    4. net.osmand.plus
      AppInitializer$9.run
      1. net.osmand.plus.AppInitializer.indexRegionsBoundaries(AppInitializer.java:291)
      2. net.osmand.plus.AppInitializer.startApplicationBackground(AppInitializer.java:494)
      3. net.osmand.plus.AppInitializer.access$200(AppInitializer.java:69)
      4. net.osmand.plus.AppInitializer$9.run(AppInitializer.java:729)
      4 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:841)
      1 frame