• Bugs
  • Spine Startup Error

Related Discussions
...

An error occures when I run spine.

Spine Launcher 3.5.01
An unexpected error has occurred:
java.lang.NullPointerException
   at com.sun.java.swing.plaf.windows.XPStyle.getTypeEnumName(XPStyle.java:155)
   at com.sun.java.swing.plaf.windows.XPStyle.getBorder(XPStyle.java:275)
   at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPBorderValue.getXPValue(WindowsLookAndFeel.java:2404)
   at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPValue.createValue(WindowsLookAndFeel.java:2358)
   at javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:233)
   at javax.swing.UIDefaults.get(UIDefaults.java:163)
   at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:64)
   at javax.swing.UIDefaults.getBorder(UIDefaults.java:481)
   at javax.swing.UIManager.getBorder(UIManager.java:756)
   at javax.swing.plaf.basic.BasicTextUI.installDefaults(BasicTextUI.java:342)
   at javax.swing.plaf.basic.BasicTextUI.installUI(BasicTextUI.java:787)
   at javax.swing.JComponent.setUI(JComponent.java:665)
   at javax.swing.text.JTextComponent.setUI(JTextComponent.java:338)
   at javax.swing.text.JTextComponent.updateUI(JTextComponent.java:348)
   at javax.swing.text.JTextComponent.<init>(JTextComponent.java:322)
   at javax.swing.JTextField.<init>(JTextField.java:231)
   at javax.swing.JTextField.<init>(JTextField.java:212)
   at tzax.e.<init>(SourceFile:252)
   at tzax.d.<init>(SourceFile:252)
   at com.esotericsoftware.spine.editor.launcher.Launcher.<init>(SourceFile:250)
   at tzax.y.run(SourceFile:1751)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:745)
   at java.awt.EventQueue.access$300(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:706)
   at java.awt.EventQueue$3.run(EventQueue.java:704)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:715)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

It seems like there's a conflict, appearing if a person had installed custom Windows Theme. Fix That Please.

What version of Windows are you on? What kind of theme did you install?

It appears this is a bug deep in Java and may not be fixable. Still interested in badlogic's questions.


We've made some adjustments to try to catch the error and workaround the crash. These changes will be in the Spine launcher 3.5.02. You'll need to re-download and reinstall Spine to get the latest launcher. Also, changes were needed in the editor version 3.5.02-beta, so you may need that to use version or later. Neither the 3.5.02 launcher nor the 3.5.02-beta editor versions have been released yet. It may be a few days before we can do a release.

5 meses más tarde