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

Failed to load. Cannot read properties of null (reading 'nextBatch') #331

Open
xobs opened this issue Aug 6, 2024 · 7 comments
Open

Failed to load. Cannot read properties of null (reading 'nextBatch') #331

xobs opened this issue Aug 6, 2024 · 7 comments

Comments

@xobs
Copy link

xobs commented Aug 6, 2024

Describe the bug

When starting up Cinny, it presents a window that says "Failed to load. Cannot read properties of null (reading 'nextBatch')". There is a Retry button that causes the message box to disappear and reappear again immediately.

image

Reproduction

  1. Open Cinny

Expected behavior

Cinny should startup

Platform and versions

1. OS: Windows 11
2. Cinny version: I think it's the latest -- it just updated, but I can't tell how to get the version number
3. Matrix homeserver. matrix.im
4. Downloaded from: Clicking "Yes" when it asked me to upgrade. Originally was downloaded from Github releases

Additional context

No response

@kfiven
Copy link
Collaborator

kfiven commented Aug 6, 2024

Hi, Could you please Right click > Inspect > Console for any error?

@xobs
Copy link
Author

xobs commented Aug 6, 2024

Sure. It says:

Uncaught (in promise) TypeError: Cannot read properties of null (reading 'nextBatch')
    at index-Pm8eP4Ep.js:79946:47254
    at async index-Pm8eP4Ep.js:79946:46975
    at async buA (index-Pm8eP4Ep.js:79949:106225)
    at async index-Pm8eP4Ep.js:9:62957

@kfiven
Copy link
Collaborator

kfiven commented Aug 6, 2024

In the console, could you go to Application and try clearing "Local storage" and deleting "IndexedDB" entries.

Seems like you also had this in 3.2.1 as reported in cinnyapp/cinny#1764

@xobs
Copy link
Author

xobs commented Aug 6, 2024

Yes, like before, that works around the issue. The error is different, so it didn't show up when I searched for fixes.

That means the underlying problem is still there.

@kfiven
Copy link
Collaborator

kfiven commented Aug 6, 2024

well, underlying problem is not known, and that is what I am trying to find. Did clearing those storage fix the issue? Because I have cinny working well on windows. Seems there are something specific happening for you.

@xobs
Copy link
Author

xobs commented Aug 6, 2024

Yes, clearning storage (by going to Application, then Storage on the left, then "Clear site data" on the right) fixed it so that it now starts up and lets me log in.

@kfiven
Copy link
Collaborator

kfiven commented Aug 6, 2024

This probably seems like similar to element-hq/element-web#27520

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