gomule-d2r icon indicating copy to clipboard operation
gomule-d2r copied to clipboard

Can't get it to work

Open Slice0691 opened this issue 4 years ago • 5 comments

I think I've followed all of the java instructions. I get 4 pages of errors. This is the first:

null at randall.d2files.D2FileReader.getCounterBoolean(Unknown Source) at randall.d2files.D2FileReader.getCounterInt(Unknown Source) at randall.d2files.D2TblFile.(Unknown Source) at randall.d2files.D2TblFile.readAllFiles(Unknown Source) at gomule.gui.D2FileManager.(Unknown Source) at gomule.gui.D2FileManager.(Unknown Source) at gomule.GoMule$1.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

Thanks for your help. I just installed this after your update of 2 hours ago.

Slice0691 avatar Sep 25 '21 17:09 Slice0691

Do you see that when launching Gomule? or is that when trying to load a save file?

what version of gomule did you use? Try the latest one here if you didn't use it already https://github.com/pairofdocs/gomule-d2r/archive/refs/heads/main.zip

And what's your java version?

that's seen in a cmd window when you type in java -version

pairofdocs avatar Sep 25 '21 22:09 pairofdocs

This is when I try to run the GoMule.jar

java version "1.8.0_291" - just installed today

I just tried the download provided and got the same error.

I truly appreciate your help.

Slice0691 avatar Sep 25 '21 23:09 Slice0691

Solved.

I had a program called "Breezip" installed that would try to run the .jar. I was using the "open with" to start it with Java.

I deleted the Breezip app and GoMule opens as it should.

Thank you very much for your time.

Slice0691 avatar Sep 26 '21 00:09 Slice0691

Ahh, good catch!

pairofdocs avatar Sep 26 '21 01:09 pairofdocs

The problem happens when you execute the jar outside of its extracted folder, e.g. directly out of the zip. It cannot find the files and runs into NPE and other weird error conditions. I will eventually push a change that will display a reasonable error message and close the program.

wzurborg avatar Oct 15 '21 07:10 wzurborg