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
[Client] Null pointer in mod comparison #77
Comments
Need to fix that logs template 😆 Looks like theres a good old null in mod comparison, never enough null checks. Code if you are interested, shall check it out next chance I get. |
@SvEgiiVEteR Added a pre release version to the releases tab. This probably wont solve the problem directly, but it will prevent SS from hard crashing and should give us some more information about when & why there is null present. |
@SvEgiiVEteR Apologies for taking ages, don't get a lot of time these days. Going to test out sync with death quotes as it is one of the files failing to be parsed. |
Interesting, this is a different null. When exiting the server. The config gets built as default when SS can't find it. Is possible that it managed to delete it during sync. |
I run my instance from inside Google drive folder so it could be due to aggressive writing permission or "file in use" handles. I had some of these problems before when I was still using Dropbox. Then I had to disable syncing before running anything from inside the synced folder. Running Multimc instances from inside Google Drive has worked fine though. It appears to be much more careful with its writing permission and handles compared to dropbox. EDIT: These type of problems can also appear when running agressive antivirus software. |
Hm it happened again today but this time it deleted all mods in the mod folder. Gonna check if setting serversync-client.cfg to writing protected works around this issue. Weird. |
Setting serversync-client.cfg to writing protected appears to have worked for now. I get an error in the log but it continues nevertheless. Maybe it happens when a connection cant be established with the server or download getting interrupted due to unstable connection? Lost my logs again and it only happened the first time sorry. Error when setting the config to writing protected:
|
A fascinating use case 😀, I should probably add a hard crash if the config can't be read as it breaks everything |
Closing in favor of tracking via #99. |
Serversync Version:
2.6.15
Minecraft Version:
1.7.10
Issue:
after turning on
B:PUSH_CLIENT_MODS=true
in serversync-server.cfg and adding mod folders clientmods on server
and start serversync in client error in cmd
https://gist.github.com/b2207f035ccd059f9fd96318b1c2929c
and
http://i.imgur.com/FHajLYN.png
log serversync-detailed:
https://gist.github.com/358bb7e0bf3a1db4d523dd139cbb0125
Logs (clien)
Logs ( server)
serversync-client.cfg
https://gist.github.com/6bbebb3a17a6c0dfb0864d30531db5cd
serversync-server.cfg
https://gist.github.com/d2e7aab75eeba402640417d70178574b
The text was updated successfully, but these errors were encountered: