GraphHopper crash on Android 4.1
See original GitHub issueSample crashes on Android 4.1 at application exit with the following exception:
Caused by: java.lang.IllegalArgumentException: expected receiver of type java.nio.DirectByteBuffer, but got java.nio.MappedByteBufferAdapter
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.graphhopper.util.Helper$1.run(Helper.java:377)
at java.security.AccessController.doPrivileged(AccessController.java:60)
at com.graphhopper.util.Helper.cleanMappedByteBuffer(Helper.java:366)
at com.graphhopper.storage.MMapDataAccess.clean(MMapDataAccess.java:356)
at com.graphhopper.storage.MMapDataAccess.close(MMapDataAccess.java:257)
at com.graphhopper.storage.MMapDataAccess.close(MMapDataAccess.java:249)
at com.graphhopper.storage.StorableProperties.close(StorableProperties.java:113)
at com.graphhopper.storage.GraphHopperStorage.close(GraphHopperStorage.java:277)
at com.graphhopper.GraphHopper.close(GraphHopper.java:1222)
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
GraphHopper crash - Locus Map - help desk
Locus crashes, immediately. I can add that already had one routing file in previuos configuration of GraphHopper add-on (in graphHopper folder, inside Lucus ......
Read more >Deployed Graphhopper Instance Crashes Every Few Days
So I deployed graphhopper to a Vultr.com Unbuntu 20.04 x64 server and it operates perfectly well, but seems to crash every few days....
Read more >[GraphHopper] Graphhopper for Android 2.3 crashing - Mailing Lists
I am trying to build an application to using graphhopper (android >>>> > library). >>>> > On android v 4.1 and greater, all...
Read more >Easily Fix Freezes / Lags / Slow / Loading in Rhino 3D and ...
... performance of Rhinoceros 3D and also Grasshopper software if it lags while starting ... performance,error grasshopper, grasshopper crash.
Read more >Graphhopper crash in nutiteq - Google Groups
hi i am trying to use graphhopper with nutiteq sdk for offline routing but the app crashes ... 05-22 08:25:30.507: E/AndroidRuntime(1041): at android.app....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Merged
I checked
android_bug_914
branch on Android (latest & older) and on desktop and buffers clean seems working fine!