PietroBaccin / robertprojects

Automatically exported from code.google.com/p/robertprojects
0 stars 0 forks source link

Падение при увеличении масштаба со включёнными Кругами расстояния #141

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Программа падает при включённом GPS и 
включённой опции "Круги расстояния" вокруг 
текущего местоположения при работе с 
сохранённой картой в момент увеличения 
карты больше, чем самый крупный уровень 
карты.
Падает с любыми картами, сохранёнными 
программой SAS.Планета версии 141212.8406 Stable. 

Отчёт о падении:

RMaps: 0.9.4
Android: 4.4.2
Device: MSM8974 samsung hlte SM-N9005 hltexx

java.lang.ArrayIndexOutOfBoundsException: length=20; index=20
    at com.robert.maps.applib.overlays.MyLocationOverlay.onDraw(MyLocationOverlay.java:193)
    at com.robert.maps.applib.view.TileViewOverlay.onManagedDraw(TileViewOverlay.java:32)
    at com.robert.maps.applib.view.TileView.onDraw(TileView.java:281)
    at android.view.View.draw(View.java:15312)
    at android.view.View.draw(View.java:15197)
    at android.view.ViewGroup.drawChild(ViewGroup.java:3307)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3144)
    at android.view.View.draw(View.java:15195)
    at android.view.ViewGroup.drawChild(ViewGroup.java:3307)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3144)
    at android.view.View.draw(View.java:15195)
    at android.view.ViewGroup.drawChild(ViewGroup.java:3307)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3144)
    at android.view.View.draw(View.java:15195)
    at android.view.ViewGroup.drawChild(ViewGroup.java:3307)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3144)
    at android.view.View.draw(View.java:15195)
    at android.view.ViewGroup.drawChild(ViewGroup.java:3307)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3144)
    at android.view.View.draw(View.java:15195)
    at android.view.ViewGroup.drawChild(ViewGroup.java:3307)
    at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3144)
    at android.view.View.draw(View.java:15315)
    at android.widget.FrameLayout.draw(FrameLayout.java:472)
    at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:2540)
    at android.view.ViewRootImpl.drawSoftware(ViewRootImpl.java:2782)
    at android.view.ViewRootImpl.draw(ViewRootImpl.java:2695)
    at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2533)
    at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2107)
    at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1200)
    at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6401)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:803)
    at android.view.Choreographer.doCallbacks(Choreographer.java:603)
    at android.view.Choreographer.doFrame(Choreographer.java:573)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:789)
    at android.os.Handler.handleCallback(Handler.java:733)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:157)
    at android.app.ActivityThread.main(ActivityThread.java:5335)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
    at dalvik.system.NativeStart.main(Native Method)

Original issue reported on code.google.com by tester20...@gmail.com on 24 Jan 2015 at 6:51