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

"The getter 'isNotEmpty' was called in null" #18

Closed
manwithpowers opened this issue Jul 9, 2018 · 9 comments
Closed

"The getter 'isNotEmpty' was called in null" #18

manwithpowers opened this issue Jul 9, 2018 · 9 comments
Labels
bug Something isn't working

Comments

@manwithpowers
Copy link

Hi,

First, thanks for the great web app and for this new mobile app.
I installed the tester/developer version from Google Play, and am receiving the following error in the app:
The getter 'isNotEmpty' was called in null.

I am running a self-hosted installation and the latest version of the web app (4.5.0).

Screenshot attached
screenshot_20180709-132330

@hillelcoren
Copy link
Member

Thanks for trying out the app!

Another user reported the same error. I'm not seeing it which make me think it's related to specific data not being set. I hope to have a fix in the next release.

@hillelcoren hillelcoren added the bug Something isn't working label Jul 9, 2018
@manwithpowers
Copy link
Author

Great, thanks! Happy to help if you need specifics on my install, etc.

@robwent
Copy link

robwent commented Jul 9, 2018

I'm seeing this as well, but only on some pages.

On the clients page it shows after a couple of clients.
On the invoices page, it shows in the whole of the content area.

The dashboard displays fine.
Products page seems to be fine (I only have 3 products in the system).

@robwent
Copy link

robwent commented Jul 9, 2018

On the invoices screen I can get a partial fix by changing the sort order.

Rather than filling the whole screen, the errors only start at a certain point.

If I compare to the listings in the webapp then it seems to break on a client that has an umlaut in the name Gästehaus.

It looks to be similar for the other screens that can be sorted.

@hillelcoren
Copy link
Member

This should be fixed in the next version of the mobile app.

@Sreejith93
Copy link

Screenshot_2020-04-18-18-31-06-465_com example tamildubbed

i have same issue when i open my app.some times work properly some time i got this error

@hillelcoren
Copy link
Member

  • Which versions of the web and mobile app are you using?
  • Which screen do you see the error on?

@Sreejith93
Copy link

  • Which versions of the web and mobile app are you using?
  • Which screen do you see the error on?

Firestore.instance.collection("postman").getDocuments().then((querySnapshot) {
querySnapshot.documents.forEach((result) {
if(querySnapshot.documents == null) return CircularProgressIndicator();
print(result.data);
var link = result['link_data'];
var share = result['share_app'];
var youtube = result['youtube_link'];
assert(share is String);
assert(link is String);
assert(youtube is String);
MovieListDemoState.text = share;
MovieListDemoState.youtubelink = youtube;
Services.postmanurl = link;
return Services.postmanurl = link;
});
});

this is my code

@hillelcoren
Copy link
Member

@Sreejith93 If the error you're seeing isn't from the Invoice Ninja app then posting here for help is inappropriate

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

4 participants