Skip to content
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

GUI not showing up #57

Open
Zorgatone opened this issue Apr 9, 2022 · 1 comment
Open

GUI not showing up #57

Zorgatone opened this issue Apr 9, 2022 · 1 comment

Comments

@Zorgatone
Copy link

I try executing "java -jar BON-2.4.0.15-all.jar" on windows 10 and tried both with java 8 and java 18, but the GUI is not showing up (and no errors either) it hangs forever without doing anything.

The only output to the console is this:

Bearded Octo Nemesis v2.4.0.15 by Parker8283. BON v1 by immibis.
No arguments passed. Launching gui...

@hashblen
Copy link

hashblen commented Aug 20, 2022

I had the same thing but I had an error after:
Bearded Octo Nemesis v2.4.0.CUSTOM by Parker8283. BON v1 by immibis. No arguments passed. Launching gui... java.lang.NumberFormatException: For input string: "stable_11" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.valueOf(Integer.java:766) at com.github.parker8283.bon2.data.MappingVersion.compareTo(MappingVersion.java:82) at com.github.parker8283.bon2.data.MappingVersion.compareTo(MappingVersion.java:7) at java.util.ComparableTimSort.countRunAndMakeAscending(ComparableTimSort.java:325) at java.util.ComparableTimSort.sort(ComparableTimSort.java:202) at java.util.Arrays.sort(Arrays.java:1312) at java.util.Arrays.sort(Arrays.java:1506) at java.util.ArrayList.sort(ArrayList.java:1464) at com.github.parker8283.bon2.util.BONUtils.buildValidMappings(BONUtils.java:65) at com.github.parker8283.bon2.gui.RefreshListener.mouseClicked(RefreshListener.java:34) at com.github.parker8283.bon2.BON2Gui.<init>(BON2Gui.java:108) at com.github.parker8283.bon2.BON2$1.run(BON2.java:118) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Fixed it by changing in com.github.parker8283.bon2.data.MappingVersion, line 70 and 71 the zeroes by v1.lastIndexOf('_')+1 (with v2 respectively), and I also deleted mcp_stable_nodoc (downloaded from https://github.com/ModCoderPack/MCPMappingsArchive)because the elongated name gave me other errors after this fix. Now I can finally open BON2 again and deobfuscate. I compiled the jar and put it in libs.zip if you are lazy to compile it yourself, see if it fixes anything.

I have no issues with https://github.com/LexManos/BON2, but it's only from 1.12 up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants