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
Error when using shaders.
#1
I get this error when using shaders. Its with a laptop. It has a nvidia GeForce 7000M / nForce 610M. It has a 3.0 shader and I believe jpcsp needs 2.0 or above. Here's the error.
Code:
Exception in thread "GUI" java.lang.NullPointerException
        at jpcsp.graphics.RE.REShader.loadShaders(REShader.java:388)
        at jpcsp.graphics.RE.REShader.initShader(REShader.java:130)
        at jpcsp.graphics.RE.REShader.<init>(REShader.java:85)
        at jpcsp.graphics.RE.RenderingEngineFactory.createRenderingEngine(Render
ingEngineFactory.java:45)
        at jpcsp.HLE.modules150.sceDisplay.paintGL(sceDisplay.java:1129)
        at org.lwjgl.opengl.AWTGLCanvas.paint(AWTGLCanvas.java:314)
        at sun.awt.RepaintArea.paintComponent(Unknown Source)
        at sun.awt.RepaintArea.paint(Unknown Source)
        at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$000(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
        at java.awt.EventQueue$2.run(Unknown Source)
        at java.awt.EventQueue$2.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$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)
One more time!
Reply
#2
(06-03-2011, 03:04 AM)beanclr Wrote: I get this error when using shaders. Its with a laptop. It has a nvidia GeForce 7000M / nForce 610M. It has a 3.0 shader and I believe jpcsp needs 2.0 or above. Here's the error.
Code:
Exception in thread "GUI" java.lang.NullPointerException
        at jpcsp.graphics.RE.REShader.loadShaders(REShader.java:388)
        at jpcsp.graphics.RE.REShader.initShader(REShader.java:130)
        at jpcsp.graphics.RE.REShader.<init>(REShader.java:85)
        at jpcsp.graphics.RE.RenderingEngineFactory.createRenderingEngine(Render
ingEngineFactory.java:45)
        at jpcsp.HLE.modules150.sceDisplay.paintGL(sceDisplay.java:1129)
        at org.lwjgl.opengl.AWTGLCanvas.paint(AWTGLCanvas.java:314)
        at sun.awt.RepaintArea.paintComponent(Unknown Source)
        at sun.awt.RepaintArea.paint(Unknown Source)
        at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$000(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
        at java.awt.EventQueue$2.run(Unknown Source)
        at java.awt.EventQueue$2.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$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)
Please post also the log file at INFO level. There is probably a shader compilation error.
Reply
#3
It says the shader lang is 1.20. I might have been wrong about the shader on this card. I'll I did was google the card specs. Here are the specs. Mine is the 610M


Attached Files
.html   log.html (Size: 45.35 KB / Downloads: 117)
One more time!
Reply
#4
Found anything yet.
One more time!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)