EmuNewz Network

Full Version: NPE in thread GUI since SVN 2324
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
UPDATE: Problem fixed with build 2332 Smile

JPCSP crashes with an NPE as soon I hit the run button. This happens with SVN builds 2324-2326 EDIT [Still crashes with build 2328]. With builds 2323 and earlier the games work correctly.

JPCSP 32bit versions running on Win7 64bit with Oracle JDK6u27 32bit and 64bit installed. Intel Core I7 2600K, NVidia GTX560 with latest drivers installed.

Code:
Running Jpcsp 32bit...
Exception in thread "GUI" java.lang.NullPointerException
        at jpcsp.graphics.RE.ShaderContextUBO.copy(ShaderContextUBO.java:305)
        at jpcsp.graphics.RE.ShaderContextUBO.copy(ShaderContextUBO.java:339)
        at jpcsp.graphics.RE.ShaderContextUBO.setDepthMask(ShaderContextUBO.java
:694)
        at jpcsp.graphics.RE.REShader.setDepthMask(REShader.java:1229)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.setDepthMask(BaseRendering
EngineProxy.java:132)
        at jpcsp.graphics.RE.StateProxy.setDepthMask(StateProxy.java:594)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.setDepthMask(BaseRendering
EngineProxy.java:132)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.setDepthMask(BaseRendering
EngineProxy.java:132)
        at jpcsp.graphics.RE.BaseRenderingEngineFunction.endDirectRendering(Base
RenderingEngineFunction.java:423)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.endDirectRendering(BaseRen
deringEngineProxy.java:72)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.endDirectRendering(BaseRen
deringEngineProxy.java:72)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.endDirectRendering(BaseRen
deringEngineProxy.java:72)
        at jpcsp.graphics.RE.ViewportFilter.endDirectRendering(ViewportFilter.ja
va:66)
        at jpcsp.graphics.textures.GETexture.copyTextureToScreen(GETexture.java:
228)
        at jpcsp.graphics.textures.GETexture.copyTextureToScreen(GETexture.java:
172)
        at jpcsp.HLE.modules150.sceDisplay$AWTGLCanvas_sceDisplay.paintGL(sceDis
play.java:191)
        at org.lwjgl.opengl.AWTGLCanvas.paint(AWTGLCanvas.java:314)
        at org.lwjgl.opengl.AWTGLCanvas.update(AWTGLCanvas.java:343)
        at sun.awt.RepaintArea.updateComponent(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)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at jpcsp.graphics.RE.ShaderContextUBO.copy(ShaderContextUBO.java:305)
        at jpcsp.graphics.RE.ShaderContextUBO.copy(ShaderContextUBO.java:339)
        at jpcsp.graphics.RE.ShaderContextUBO.setDepthMask(ShaderContextUBO.java
:694)
        at jpcsp.graphics.RE.REShader.setDepthMask(REShader.java:1229)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.setDepthMask(BaseRendering
EngineProxy.java:132)
        at jpcsp.graphics.RE.StateProxy.setDepthMask(StateProxy.java:594)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.setDepthMask(BaseRendering
EngineProxy.java:132)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.setDepthMask(BaseRendering
EngineProxy.java:132)
        at jpcsp.graphics.RE.BaseRenderingEngineFunction.endDirectRendering(Base
RenderingEngineFunction.java:423)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.endDirectRendering(BaseRen
deringEngineProxy.java:72)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.endDirectRendering(BaseRen
deringEngineProxy.java:72)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.endDirectRendering(BaseRen
deringEngineProxy.java:72)
        at jpcsp.graphics.RE.ViewportFilter.endDirectRendering(ViewportFilter.ja
va:66)
        at jpcsp.graphics.textures.GETexture.copyTextureToScreen(GETexture.java:
228)
        at jpcsp.graphics.textures.GETexture.copyTextureToScreen(GETexture.java:
172)
        at jpcsp.HLE.modules150.sceDisplay$AWTGLCanvas_sceDisplay.paintGL(sceDis
play.java:191)
        at org.lwjgl.opengl.AWTGLCanvas.paint(AWTGLCanvas.java:314)
        at org.lwjgl.opengl.AWTGLCanvas.update(AWTGLCanvas.java:343)
        at sun.awt.RepaintArea.updateComponent(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)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at jpcsp.graphics.RE.ShaderContextUBO.copy(ShaderContextUBO.java:305)
        at jpcsp.graphics.RE.ShaderContextUBO.copy(ShaderContextUBO.java:339)
        at jpcsp.graphics.RE.ShaderContextUBO.setDepthMask(ShaderContextUBO.java
:694)
        at jpcsp.graphics.RE.REShader.setDepthMask(REShader.java:1229)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.setDepthMask(BaseRendering
EngineProxy.java:132)
        at jpcsp.graphics.RE.StateProxy.setDepthMask(StateProxy.java:594)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.setDepthMask(BaseRendering
EngineProxy.java:132)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.setDepthMask(BaseRendering
EngineProxy.java:132)
        at jpcsp.graphics.RE.BaseRenderingEngineFunction.endDirectRendering(Base
RenderingEngineFunction.java:423)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.endDirectRendering(BaseRen
deringEngineProxy.java:72)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.endDirectRendering(BaseRen
deringEngineProxy.java:72)
        at jpcsp.graphics.RE.BaseRenderingEngineProxy.endDirectRendering(BaseRen
deringEngineProxy.java:72)
        at jpcsp.graphics.RE.ViewportFilter.endDirectRendering(ViewportFilter.ja
va:66)
        at jpcsp.graphics.textures.GETexture.copyTextureToScreen(GETexture.java:
228)
        at jpcsp.graphics.textures.GETexture.copyTextureToScreen(GETexture.java:
172)
        at jpcsp.HLE.modules150.sceDisplay.loadGEToScreen(sceDisplay.java:1159)
        at jpcsp.HLE.modules150.sceDisplay.hleDisplaySetGeBuf(sceDisplay.java:91
3)
        at jpcsp.HLE.modules150.sceDisplay.hleDisplaySetGeBuf(sceDisplay.java:79
3)
        at jpcsp.graphics.VideoEngine.updateGeBuf(VideoEngine.java:5703)
        at jpcsp.graphics.VideoEngine.executeCommandCLEAR(VideoEngine.java:1334)

        at jpcsp.graphics.VideoEngine.executeCommand(VideoEngine.java:1271)
        at jpcsp.graphics.VideoEngine.executeList(VideoEngine.java:818)
        at jpcsp.graphics.VideoEngine.update(VideoEngine.java:523)
        at jpcsp.HLE.modules150.sceDisplay$AWTGLCanvas_sceDisplay.paintGL(sceDis
play.java:160)
        at org.lwjgl.opengl.AWTGLCanvas.paint(AWTGLCanvas.java:314)
        at org.lwjgl.opengl.AWTGLCanvas.update(AWTGLCanvas.java:343)
        at sun.awt.RepaintArea.updateComponent(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)
Reference URL's