ThizThizzyDizzy / nc-reactor-generator

A program to plan and generate reactors for Nuclearcraft (https://www.curseforge.com/minecraft/mc-mods/nuclearcraft-mod)
GNU General Public License v3.0
32 stars 6 forks source link

Crash when i opening .jar file #71

Closed JackHarper23 closed 2 years ago

JackHarper23 commented 2 years ago

Hello. I have a problem, when I launch .jar file of the program, I get the error "Error in thread Initialization Thread: Unknown file format", what could be the startup problem? Thanks you for answer.

ThizThizzyDizzy commented 2 years ago

I need a bit more information to know what the issue could be; Did it create an error log or a crash report? If not, can you run it via the command line (java -jar path/to/filename.jar) and send the full output?

JackHarper23 commented 2 years ago

Yes, here is crash log: [Error Tue Nov 23 16-13-22 EET 2021.log](https://github.com/ThizThizzyDizzy/nc-reactor-generator/files/7588778/Error.Tue.Nov.23.16-13-22.EET.2021.log)

JackHarper23 commented 2 years ago

https://imgur.com/a/r8K72Wr

ThizThizzyDizzy commented 2 years ago

Hmm, it looks like it's unable to load the internal configuration, but I can't reproduce the issue on my end. Does it get stuck on the initialization menu, or does it get to the main menu?

JackHarper23 commented 2 years ago

On the initialization menu( https://imgur.com/a/4hGVjfQ If i click "Main menu" and trying import random reactor, i am seeing this: https://imgur.com/a/xJG4amm It seems i can import NCPF format and export it on JSON, but i don't know how it will work in the game, in Reactor Builder.

Yeah, imported files are empty. Can this error be related to the installed version of Java?

ThizThizzyDizzy commented 2 years ago

If you go to the settings menu and click the load nuclearcraft configuration button, does it do the same thing?

I don't think this would be a Java version issue, but you can always try updating Java

JackHarper23 commented 2 years ago

I loaded the nuclearcraft configuration as you said and it loaded, tried to load the reactor - nothing crashed. I close NC generator and open it again - same crash, but if i load configuration manually - it works and i can use program! Thank you so much!!

ThizThizzyDizzy commented 2 years ago

(Probably) Fixed in v4.0