Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Падение при синхронизации #60

Closed
BishopGIS opened this issue Apr 6, 2016 · 2 comments
Closed

Падение при синхронизации #60

BishopGIS opened this issue Apr 6, 2016 · 2 comments
Labels

Comments

@BishopGIS
Copy link
Member

Приложение из testfairy (https://tsfr.io/qnu8q5). При синхронизации все время происходит падение.
Пользователь неавторизованный. Создано одно сообщение.

вот детали прилетели

java.lang.RuntimeException: Error receiving broadcast Intent { act=com.nextgis.maplib.notify_update flg=0x10 (has extras) } in com.nextgis.maplib.map.MapContentProviderHelper$VectorLayerNotifyReceiver@21af9450
    at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:778)
    at android.os.Handler.handleCallback(Handler.java:733)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:149)
    at android.app.ActivityThread.main(ActivityThread.java:5234)
    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:793)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609)
    at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
    at com.nextgis.maplib.datasource.GeometryRTree.chooseLeaf(GeometryRTree.java:684)
    at com.nextgis.maplib.datasource.GeometryRTree.chooseLeaf(GeometryRTree.java:706)
    at com.nextgis.maplib.datasource.GeometryRTree.insert(GeometryRTree.java:403)
    at com.nextgis.maplib.datasource.GeometryRTree.addItem(GeometryRTree.java:139)
    at com.nextgis.maplib.map.VectorLayer.cacheGeometryEnvelope(VectorLayer.java:636)
    at com.nextgis.maplib.map.VectorLayer.notifyUpdate(VectorLayer.java:1894)
    at com.nextgis.maplib.map.MapContentProviderHelper$VectorLayerNotifyReceiver.onReceive(MapContentProviderHelper.java:189)
    at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:768)
    ... 9 more
@BishopGIS BishopGIS added the bug label Apr 6, 2016
@4eRTuk 4eRTuk closed this as completed in f4ca769 Apr 8, 2016
@4eRTuk
Copy link
Contributor

4eRTuk commented Apr 8, 2016

Это из-за RTree опять. Вроде бы исправил, нужно проверить.

@BishopGIS
Copy link
Member Author

java.lang.ClassCastException: java.util.Date cannot be cast to java.lang.Long
    at com.nextgis.safeforest.util.MapUtil.removeOutdatedChanges(MapUtil.java:129)
    at com.nextgis.safeforest.datasource.FVSyncAdapter.sync(FVSyncAdapter.java:44)
    at com.nextgis.maplib.datasource.ngw.SyncAdapter.onPerformSync(SyncAdapter.java:118)
    at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:259)

@BishopGIS BishopGIS reopened this Apr 11, 2016
@4eRTuk 4eRTuk closed this as completed in 7fae639 Apr 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants