Hpn4 / Gamma_Leonis-mastodonFX

Mastodon client application in Java with JavaFX
5 stars 1 forks source link

The app crashes on opening #28

Closed juananpe closed 1 year ago

juananpe commented 1 year ago
image

I guess it's because the glmc.db is empty the first time you run the app and you didn't consider that scenario (?).

Fix it ASAP so I can continue with the review.

Hpn4 commented 1 year ago

Have you updated your config.properties file ? There IS two New entry with the current user and the name of thé dB file.

On which branch are you ? I made test in the "db_multipleAccounts". The real one is main (i have merged the branch)

Hpn4 commented 1 year ago

I try to reproduce your bug by deleting and cloning the repo to have a fresh new one.

In the README.md i say to just fill the app.client.id= and the app.client.secret= properties of the config.properties file. Other lines should not be touched (you must leave blank db.user).

The edge case you mentioned in your comment is already taken into account and yes at the beginning the db is empty because no one is logged on.

juananpe commented 1 year ago

Other lines should not be touched (you must leave blank db.user). That could be the problem I think. Now it works. Thanks!