Coder Social home page Coder Social logo

Comments (12)

ThinkDigitalSoftware avatar ThinkDigitalSoftware commented on July 21, 2024 1

Here ya go.
ThinkDigitalSoftware/tavern@672e70d

If I'm being too vague, let me know please. I'll help where I can

from hive.

simc avatar simc commented on July 21, 2024 1

Thanks for your help, I'll try to reproduce it...

from hive.

simc avatar simc commented on July 21, 2024 1

Sorry this was a bigger problem but it is now fixed with 1.1.0-beta.

from hive.

simc avatar simc commented on July 21, 2024

On which device does this error happen?

from hive.

simc avatar simc commented on July 21, 2024

What I believe happens: Hive can for some reason not write to the box file (not necessarily a bug in Hive). It then reverts the key transaction to be in sync with the disk. This operation fails (certainly a bug). I'll try to find the reason.

Thanks for reporting. If you find any more information or even a way to reproduce this, please share it here 👍

from hive.

ThinkDigitalSoftware avatar ThinkDigitalSoftware commented on July 21, 2024

Thanks. This is being tested on an iOS simulator. It was consistent in my code, which is available at the repo I linked to , however, I removed the class I was using it in because it wasn't necessary for the app. I can point you to the previous commit if you'd really like to see it in action

from hive.

ThinkDigitalSoftware avatar ThinkDigitalSoftware commented on July 21, 2024

Thanks. This is being tested on an iOS simulator. It was consistent in my code, which is available at the repo I linked to , however, I removed the class I was using it in because it wasn't necessary for the app. I can point you to the previous commit if you'd really like to see it in action

from hive.

simc avatar simc commented on July 21, 2024

I can point you to the previous commit if you'd really like to see it in action

That would be really helpful...

from hive.

ThinkDigitalSoftware avatar ThinkDigitalSoftware commented on July 21, 2024

Thanks!

from hive.

ThinkDigitalSoftware avatar ThinkDigitalSoftware commented on July 21, 2024

@leisim Do we need to clone the repo to get this fix?

from hive.

simc avatar simc commented on July 21, 2024

No you can use version 1.1.0-beta from pub.dev

from hive.

vamsireddytalla avatar vamsireddytalla commented on July 21, 2024

when i try to write this code in flutter using hive with latest versions.

Product? product = _products.firstWhere((product) => product?.id == productId, orElse: () => null);
if (product != null) {
isExist = true;
}

i am getting error like this

Unhandled Exception: type '() => Null' is not a subtype of type '(() => ApiLogs)?' of 'orElse'

from hive.

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.