EmuNewz Network
Error while running the .bat file - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: General discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=57)
+---- Thread: Error while running the .bat file (/showthread.php?tid=44835)

Pages: 1 2


Error while running the .bat file - sobolevspaces - 04-20-2012

Hello there,

I'm trying to run JPCSP with the .bat file but i get this error msg from java that I don't really understand:

Quote:PS D:\emu\psp\jpcsp-windows-amd64> .\start-windows-amd64.bat
Running Jpcsp 64bit...
Exception in thread "GUI" java.lang.NullPointerException
at com.sun.java.swing.plaf.windows.XPStyle.getTypeEnumName(Unknown Source)
at com.sun.java.swing.plaf.windows.XPStyle.getBorder(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPBorderValue.getXPValue(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPValue.createValue(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPValue.recursiveCreateValue(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPValue.getClassicValue(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPValue.createValue(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.LookAndFeel.installBorder(Unknown Source)
at javax.swing.plaf.basic.BasicComboBoxUI.installDefaults(Unknown Source)
at javax.swing.plaf.basic.BasicComboBoxUI.installUI(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsComboBoxUI.installUI(Unknown Source)
at javax.swing.JComponent.setUI(Unknown Source)
at javax.swing.JComboBox.setUI(Unknown Source)
at javax.swing.JComboBox.updateUI(Unknown Source)
at javax.swing.JComboBox.init(Unknown Source)
at javax.swing.JComboBox.<init>(Unknown Source)
at jpcsp.log.LogWindow.<init>(LogWindow.java:97)
at jpcsp.MainGUI.<init>(MainGUI.java:156)
at jpcsp.MainGUI$58.run(MainGUI.java:2317)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(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 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)

Do I need to update my Java or something?
Additional info: I got an Ati Radeon HD3850

Thank you very much for the help


RE: Error while running the .bat file - nightflyer - 04-21-2012

You are running the 64-bit build. Do you have an 64-bit OS and die 64-bit version of Java?


RE: Error while running the .bat file - sobolevspaces - 04-21-2012

(04-21-2012, 06:45 PM)nightflyer Wrote: You are running the 64-bit build. Do you have an 64-bit OS and die 64-bit version of Java?

I checked, yes and yes.

[Image: 33kd4ds.png]

[Image: 168dgxs.png]

What should I do Huh


RE: Error while running the .bat file - Zekro - 04-21-2012

(04-21-2012, 06:51 PM)sobolevspaces Wrote:
(04-21-2012, 06:45 PM)nightflyer Wrote: You are running the 64-bit build. Do you have an 64-bit OS and die 64-bit version of Java?

I checked, yes and yes.

[Image: 33kd4ds.png]

[Image: 168dgxs.png]

What should I do Huh

It's maybe because you need to download the java 6 for the 64 bit since jpcsp is build with java 6.Try that


RE: Error while running the .bat file - sobolevspaces - 04-21-2012

(04-21-2012, 07:03 PM)virgil94 Wrote: It's maybe because you need to download the java 6 for the 64 bit since jpcsp is build with java 6.Try that

I uninstalled both Java 6 and 7, reinstalled Java 6 x64 only, i got exactly the same error message Confused



RE: Error while running the .bat file - Bassix - 05-15-2012

I have the same error on windows 7 32bit. I try on many version of jpcsp (like those who work with me before) and the same things happen. =(
I hope that can be solved, and thanks for read.


RE: Error while running the .bat file - homam_obidou - 05-17-2012

Both 32 bit and 64 bit version of JPCSP work on 64 bit OS.
so, i advice you to use the 32 bit version, OK?!
and 4 U Bassix you should post for our your system information,Java version,JPCSP version,etc..

i faced this problem but it's disappear when i format my system drive. you know!


RE: Error while running the .bat file - Bassix - 05-17-2012

I'm on Windows 7 Professionnal SP1
Athlon II X4 640
Radeon HD 5770
3GB ram DDR2
I try with Java Jre 6u32, 7u4 and with Jdk 6u32 and 7u4.
And all the time the same problem with the last version (r2552)of jpcsp and some other that work since one or two month ago.
I don't really want to format my drive ^^
Do you think software like ccleaner can cause those type of problem?


RE: Error while running the .bat file - homam_obidou - 05-17-2012

your problem from virus or program(s)! of course!
when i format my drive i was had a lot of programs big programs!
and for this reason i don't know the problem from where..
than you Bassix for your interest.


RE: Error while running the .bat file - Bassix - 05-17-2012

I understand, me too have a lot's of big programs ^^ so thank you.
I think i can prepare to format if i would use jpcsp .
My problem was solved!! But i don't really understand ^^ i just changed my windows theme with the soft custopack. So some dll and framework was changed. Maybe it can help you sobolevspaces ^^.