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

NoSuchMethodError: The method 'removeWhere' was called on null #20

Closed
ialameh opened this issue May 21, 2020 · 7 comments
Closed

NoSuchMethodError: The method 'removeWhere' was called on null #20

ialameh opened this issue May 21, 2020 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@ialameh
Copy link

ialameh commented May 21, 2020

Hi,
I am having an error on removing a row, is this a known issue?

Sam

@ialameh
Copy link
Author

ialameh commented May 21, 2020

await loadExcel(sheet: sheet, fileName: '$dir/sofplist.xlsx')
.then((onValue) => onValue.removeRow(sheet, index))
.then((onValue) =>
saveExcelSheet(excel: onValue, fileName: 'nsofplist.xlsx'));

@justkawal justkawal self-assigned this May 21, 2020
@justkawal justkawal added the bug Something isn't working label May 21, 2020
@justkawal
Copy link
Owner

We celebrate every single issue.

Thanks for telling us ♥️.

Found out the bug and corrected.

Update will be pushed to pub in a short while.

@justkawal
Copy link
Owner

excel: 1.0.6 is live : https://pub.dev/packages/excel

Sorry for the inconvenience caused before.

Stay Tuned.
LONG LIVE OPEN S🔥URCE

@ialameh
Copy link
Author

ialameh commented May 21, 2020

expect another donation soon :D

@ialameh
Copy link
Author

ialameh commented May 21, 2020

sofplist.xlsx
Following a sample file, please can you try to delete rows from it and check it out.
if it work can you post the method (along with the saving of the file)

The file exist in the application storage no in the assets

@justkawal justkawal reopened this May 21, 2020
@justkawal
Copy link
Owner

I wonder why this is happening !

Going through it. Will try best to get it resolved by tonight.

@justkawal
Copy link
Owner

justkawal commented May 21, 2020

Now it's working fine.
excel: 1.0.7 : https://pub.dev/packages/excel

I hope it will work for you too !!

Feel free to reopen or open up the issue without any hesitation if you finds out any other trouble.

Thanks Again.
Stay Tuned.
LONG LIVE OPEN S🔥URCE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants