Though native maps seem to be mostly working we are seeing some consistent crashes on Android similar to the one reported in this issue:
https://groups.google.com/forum/#!topic/codenameone-discussions/6nem4wG-_tUThough our maps are not in a tab view.
The crash seems to happen either when entering or leaving the forms that feature maps.
The stack trace give very little information as to the root of the problem:
|
|
|
ERROR
|
AndroidRuntime
|
java.lang.IllegalArgumentException: width and height must be > 0 |
|
|
|
ERROR |
AndroidRuntime |
at android.graphics.Bitmap.createBitmap(Bitmap.java:808) |
|
|
|
ERROR |
AndroidRuntime |
at android.graphics.Bitmap.createBitmap(Bitmap.java:787) |
|
|
|
ERROR |
AndroidRuntime |
at android.graphics.Bitmap.createBitmap(Bitmap.java:754) |
|
|
|
ERROR |
AndroidRuntime |
at ovh.a(Unknown Source) |
|
|
|
ERROR |
AndroidRuntime |
at oyn.run(Unknown Source) |
|
|
|
ERROR |
AndroidRuntime |
at java.lang.Thread.run(Thread.java:841) |
and is the same in the debug build (still unknown source).
IDE: NetBeans
Desktop OS: Windows
Device: Android (Galaxy nexus and LG Nexus 4)
OS: Android
4.3 and 4.4.4