This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
java.lang.NullPointerException
#1
Everytime I try to open the settings, I get this error. I'm running the latest release with the latest java.

Running Jpcsp 64bit...
Exception in thread "GUI" java.lang.NullPointerException
at com.sun.java.swing.plaf.windows.XPStyle.getTypeEnumName(Unknown Sourc
e)
at com.sun.java.swing.plaf.windows.XPStyle.getBorder(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPBorderValue.getX
PValue(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPValue.createValu
e(Unknown Source)
at javax.swing.UIDefaults.getFromHashtable(Unknown Source)
at javax.swing.UIDefaults.get(Unknown Source)
at javax.swing.MultiUIDefaults.get(Unknown Source)
at javax.swing.UIDefaults.getBorder(Unknown Source)
at javax.swing.UIManager.getBorder(Unknown Source)
at javax.swing.border.TitledBorder.getBorder(Unknown Source)
at javax.swing.border.TitledBorder.getBorderInsets(Unknown Source)
at javax.swing.border.AbstractBorder.getBorderInsets(Unknown Source)
at javax.swing.JComponent.getInsets(Unknown Source)
at javax.swing.GroupLayout.adjustSize(Unknown Source)
at javax.swing.GroupLayout.preferredLayoutSize(Unknown Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.GroupLayout$ComponentSpring.calculateNonlinkedPreferredSi
ze(Unknown Source)
at javax.swing.GroupLayout$ComponentSpring.calculateNonlinkedMinimumSize
(Unknown Source)
at javax.swing.GroupLayout$ComponentSpring.calculateMinimumSize(Unknown
Source)
at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
at javax.swing.GroupLayout$Group.calculateMinimumSize(Unknown Source)
at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
at javax.swing.GroupLayout$Group.calculateMinimumSize(Unknown Source)
at javax.swing.GroupLayout$ParallelGroup.calculateMinimumSize(Unknown So
urce)
at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
at javax.swing.GroupLayout$Group.calculateMinimumSize(Unknown Source)
at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
at javax.swing.GroupLayout$Group.calculateMinimumSize(Unknown Source)
at javax.swing.GroupLayout$ParallelGroup.calculateMinimumSize(Unknown So
urce)
at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
at javax.swing.GroupLayout$Group.calculateMinimumSize(Unknown Source)
at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
at javax.swing.GroupLayout.calculateAutopadding(Unknown Source)
at javax.swing.GroupLayout.prepare(Unknown Source)
at javax.swing.GroupLayout.minimumLayoutSize(Unknown Source)
at java.awt.Container.minimumSize(Unknown Source)
at java.awt.Container.getMinimumSize(Unknown Source)
at javax.swing.JComponent.getMinimumSize(Unknown Source)
at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.calculateSi
ze(Unknown Source)
at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.minimumLayo
utSize(Unknown Source)
at java.awt.Container.minimumSize(Unknown Source)
at java.awt.Container.getMinimumSize(Unknown Source)
at javax.swing.JComponent.getMinimumSize(Unknown Source)
at javax.swing.GroupLayout$ComponentSpring.calculateNonlinkedMinimumSize
(Unknown Source)
at javax.swing.GroupLayout$ComponentSpring.calculateMinimumSize(Unknown
Source)
at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
at javax.swing.GroupLayout$ComponentSpring.calculatePreferredSize(Unknow
n Source)
at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
at javax.swing.GroupLayout$Group.calculatePreferredSize(Unknown Source)
at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
at javax.swing.GroupLayout$Group.calculatePreferredSize(Unknown Source)
at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
at javax.swing.GroupLayout$Group.calculatePreferredSize(Unknown Source)
at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
at javax.swing.GroupLayout.calculateAutopadding(Unknown Source)
at javax.swing.GroupLayout.prepare(Unknown Source)
at javax.swing.GroupLayout.preferredLayoutSize(Unknown Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.JRootPane$RootLayout.preferredLayoutSize(Unknown Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at java.awt.BorderLayout.preferredLayoutSize(Unknown Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at java.awt.Window.pack(Unknown Source)
at jpcsp.GUI.SettingsGUI.initComponents(SettingsGUI.java:1225)
at jpcsp.GUI.SettingsGUI.<init>(SettingsGUI.java:63)
at jpcsp.MainGUI.ConfigMenuActionPerformed(MainGUI.java:1735)
at jpcsp.MainGUI.access$3600(MainGUI.java:133)
at jpcsp.MainGUI$38.actionPerformed(MainGUI.java:785)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(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$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
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)
Reply
#2
After experimentation, Build 3409 was the last working build before I received that error every time I want to change my settings. Does it narrow down what might be causing it?
Reply
#3
Could you please try deleting your Settings.properties file? I'm guessing some recent settings (probably PSP model changing) are conflicting with your old configuration.
Reply
#4
That was one of the first things I tried after researching the problem, but the same thing still happens.
Reply
#5
Are you using a special theme under Windows? I found other users reporting the same exception using Netbeans with custom Windows themes...
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply
#6
That was it, I tried it on a default theme and there's no problem anymore. Thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)