Giter Club home page Giter Club logo

Comments (3)

kirillt avatar kirillt commented on July 20, 2024 1

Thank you!

Highlight of the log:

09-03 08:50:45.746 23198 23198 D tags-storage: resources in the storage: [415181758, 1059249623, 1071064384, 1929120046, 3016451087]
09-03 08:50:45.747 23198 23198 D tags-storage: resources in the index: [415181758, 1059249623, 1071064384, 1929120046, 3016451087, 1457690694]
09-03 08:50:45.747 23198 23198 D AndroidRuntime: Shutting down VM
--------- beginning of crash
09-03 08:50:45.756 23198 23198 E AndroidRuntime: FATAL EXCEPTION: main
09-03 08:50:45.756 23198 23198 E AndroidRuntime: Process: space.taran.arknavigator, PID: 23198
09-03 08:50:45.756 23198 23198 E AndroidRuntime: java.lang.AssertionError: Index and storage diverged
09-03 08:50:45.756 23198 23198 E AndroidRuntime: 	at space.taran.arknavigator.mvp.model.repo.PlainTagsStorage$Companion.provide(PlainTagsStorage.kt:206)
09-03 08:50:45.756 23198 23198 E AndroidRuntime: 	at space.taran.arknavigator.mvp.presenter.ResourcesPresenter.onFirstViewAttach(ResourcesPresenter.kt:79)

So the index contains new id, but the storage doesn't. Right now, storage assumes to contain any id from index even if there are no tags for the id. We need to either notify storage about new ids or avoid storing non-labeled ids.

from ark-navigator.

kirillt avatar kirillt commented on July 20, 2024

Should be fixed in 82087cc

from ark-navigator.

melvin4u445 avatar melvin4u445 commented on July 20, 2024

Doesn't crash anymore. Looks good 👌

from ark-navigator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.