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

BUG: Exception when there is a title but no note content #91

Open
gjwgit opened this issue Dec 13, 2023 · 0 comments
Open

BUG: Exception when there is a title but no note content #91

gjwgit opened this issue Dec 13, 2023 · 0 comments
Assignees

Comments

@gjwgit
Copy link
Contributor

gjwgit commented Dec 13, 2023

Description

Start a new note, give it a title, then click SAVE NOTE without any content:

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: RangeError (start): Invalid value: Only valid value is 0: -16
#0      RangeError.checkValidRange (dart:core/errors.dart:360:7)
#1      _TypedIntListMixin.sublist (dart:typed_data-patch/typed_data_patch.dart:535:31)
#2      PaddedBlockCipherImpl.doFinal (package:pointycastle/padded_block_cipher/padded_block_cipher_impl.dart:87:64)
#3      PaddedBlockCipherImpl.process (package:pointycastle/padded_block_cipher/padded_block_cipher_impl.dart:74:25)
#4      AES.encrypt (package:encrypt/src/algorithms/aes.dart:43:32)
#5      Encrypter.encryptBytes (package:encrypt/src/encrypter.dart:12:19)
#6      Encrypter.encrypt (package:encrypt/src/encrypter.dart:28:12)
#7      HomeState.build.<anonymous closure> (package:podnotes/home.dart:199:41)
<asynchronous suspension>

Image

@gjwgit gjwgit changed the title SAVE NOTE: Exception when there is a title but no note content BUG: Exception when there is a title but no note content Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants