Closed Orygeunik closed 3 years ago
The next commit (aab0fd2) should have fixed this issue ... Probabbly ... Please tell if this happen again.
Nope, taked version from 9b81648bbc4eea4cd522c8fa476cf9b5afcb6281 and from build artifactory
this version have problem Modern-Industrialization-git-9b81648 also i manual rebuild project from commit and problem still exist
At this moment i tring to fix it
How did you build the mod exactly ?
Actual log https://gist.github.com/Orygeunik/19b8d06e871aea48ca57fba1734a0b2e
Pay attention on line https://gist.github.com/Orygeunik/19b8d06e871aea48ca57fba1734a0b2e#file-actual-log-L291
it's version from artifactory
How did you build the mod exactly ?
As well as github action: ./gradlew build
(no cache, full rebuild on unix machine)
For quick communicate you can tag me directly on discord server (the same nick) or private message
Could you retry with the latest commit ?
I have tried already with same code
catch (NoClassDefFoundError e) {
ModernIndustrialization.LOGGER.error(e.getMessage(), e);
}
But it's no impact
Oh crap ... well I will investigate this tomorrow
Ok, so strange from debug in IntelliJ IDEA not throw error and code Curse API.files(405388) works perfectly, but if game run from launcher - error throws... When run at server no error, when connect to server - no error. Only with local game, from launcher, at that error throws when tried to throw JsonDataException from https://github.com/TheRandomLabs/CurseAPI/blob/cdc5d48d5e51e775163c5bb71a1c8d3e7b6421ea/src/main/java/com/therandomlabs/curseapi/forgesvc/ForgeSvcProvider.java#L72
Direct icnluding moshi and okhttp (maybe i incorrect do this, java not my profile language). All it seems like a runtime depency not loaded correct from packed jar.
Fixed with 02ebe1527b1c4ccf3ad91aab0468fea4cf6bf61e.
Oh... so.. well it's radical... but it's fixed the problem. On local world bug not reproduced and on MP too Thanks!
It was quciker to reimplement it ourselves than debugging this mess.
Found crash after commit a5864abae41bfc3fd2d43c8d32af80af1b9ea281 on a single player game
Problem cause on line https://github.com/AztechMC/Modern-Industrialization/blob/master/src/main/java/aztech/modern_industrialization/misc/version/VersionEvents.java#L58
Crash log:
World to reproduce Новый мир (test).zip