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

NPE on clicking Launch button in Settings Tab #1007

Open
kereis opened this issue Oct 14, 2019 · 5 comments
Open

NPE on clicking Launch button in Settings Tab #1007

kereis opened this issue Oct 14, 2019 · 5 comments

Comments

@kereis
Copy link

kereis commented Oct 14, 2019

When in Settings tab, everytime you click on Launch, a NullPointerException occurs:
Unhandled exception in Thread[AWT-EventQueue-0,6,main]: java.lang.NullPointerException

This happens on v1.4.17. It's unknown whether it affects older versions or not.

Reproduction steps:

  1. Open Linux/Java launcher
  2. Switch to Settings tab
  3. If you have a valid profile, click on Launch button.
  4. Check logs.

If contributions are welcome, I can take a look at that issue.

@kereis
Copy link
Author

kereis commented Oct 14, 2019

This issues has already existed in the past. See issue #475

@progwml6
Copy link
Collaborator

can you get us the full log? I would like to try to fix this before 1.5.0 goes out

@kereis
Copy link
Author

kereis commented Oct 16, 2019

Here is the stacktrace:

[ERROR] LaunchFrame.doLaunch:922->Main$1.uncaughtException:105: Unhandled exception in Thread[AWT-EventQueue-0,6,main]: java.lang.NullPointerException
net.ftb.gui.LaunchFrame.doLaunch(LaunchFrame.java:922)
net.ftb.gui.LaunchFrame$6.actionPerformed(LaunchFrame.java:246)
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
java.awt.Component.processMouseEvent(Component.java:6539)
javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
java.awt.Component.processEvent(Component.java:6304)
java.awt.Container.processEvent(Container.java:2239)
java.awt.Component.dispatchEventImpl(Component.java:4889)
java.awt.Container.dispatchEventImpl(Container.java:2297)
java.awt.Component.dispatchEvent(Component.java:4711)
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
java.awt.Container.dispatchEventImpl(Container.java:2283)
java.awt.Window.dispatchEventImpl(Window.java:2746)
java.awt.Component.dispatchEvent(Component.java:4711)
java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
java.awt.EventQueue.access$500(EventQueue.java:97)
java.awt.EventQueue$3.run(EventQueue.java:709)
java.awt.EventQueue$3.run(EventQueue.java:703)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
java.awt.EventQueue$4.run(EventQueue.java:733)
java.awt.EventQueue$4.run(EventQueue.java:731)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

@progwml6
Copy link
Collaborator

are you able to launch the game at all?

@kereis
Copy link
Author

kereis commented Oct 18, 2019

Yes you can. You just need to switch away from Settings/Options tab.

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