Hey,
4 times since I’m developing the game(start of december 2012) I got a Bluescreen immediatly after closing the Jframe, in which the Jmonkey Game is embedded. I never got a bluescreen before on my computer. It’s also only 1/2 year old.
Properties of the bluescreens:
Dump File: 010413-8845-01.dmp
Bug Check String: SYSTEM_SERVICE_EXCEPTION
Bug Check Code:0x0000003b
Parameter1: 00000000c0000005 Parameter2: fffff960
001d8e2e
Parameter3: fffff88008c02980 Parameter4: 00000000
00000000
Cause By Driver: win32k.sys
Caused By Addresses: win32k.sys+138e2e
Crash Address: ntoskrnl.exe+7efc0
Computer specs:
Intel Core i7-2600
Gigabyte Geforce Gtx 670
Gigabyte H77-D3H(motherboard)
G-Skill F3-1066CL9 RAM
I initialise the Application this way:
[java] public static void main(String[] args) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
AppSettings settings = new AppSettings(true);
settings.setWidth(width);
settings.setHeight(height);
settings.setVSync(true);
final MainGame canvasApplication = new MainGame();
canvasApplication.setSettings(settings);
canvasApplication.createCanvas();
JmeCanvasContext ctx = (JmeCanvasContext) canvasApplication.getContext();
ctx.setSystemListener(canvasApplication);
Dimension dim = new Dimension(width, height);
ctx.getCanvas().setPreferredSize(dim);
window = new JFrame("Playmagotchi");
// window.addWindowListener(new WindowAdapter() {
// public void windowClosing(WindowEvent winEvt) {
// canvasApplication.stop();
// }
// });
Image icon = Toolkit.getDefaultToolkit().getImage("assets/Interface/Icon.gif");
window.setIconImage(icon);
window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
window.setBackground(Color.black);
panel = new JPanel(new FlowLayout()); // a panel
panel.add(ctx.getCanvas());
panel.setBackground(Color.black);
window.add(panel);
window.pack();
window.setVisible(true);
canvasApplication.startCanvas();
}
});
}[/java]
When I uncommend this part of the code above:
[java]// window.addWindowListener(new WindowAdapter() {
// public void windowClosing(WindowEvent winEvt) {
// canvasApplication.stop();
// }
// });[/java]
I get the following error when closing the Jframe:
INFO: Uniform m_WardIso is not declared in shader [ShaderSource[name=Common/MatDefs/Light/Lighting.vert, defines, type=Vertex, language=GLSL100], ShaderSource[name=Common/MatDefs/Light/Lighting.frag, defines, type=Fragment, language=GLSL100]].
Jan 05, 2013 1:46:44 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation
INFO: Uniform m_UseVertexColor is not declared in shader [ShaderSource[name=Common/MatDefs/Light/Lighting.vert, defines, type=Vertex, language=GLSL100], ShaderSource[name=Common/MatDefs/Light/Lighting.frag, defines, type=Fragment, language=GLSL100]].
Jan 05, 2013 1:46:44 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation
INFO: Uniform m_SeparateTexCoord is not declared in shader [ShaderSource[name=Common/MatDefs/Light/Lighting.vert, defines, type=Vertex, language=GLSL100], ShaderSource[name=Common/MatDefs/Light/Lighting.frag, defines, type=Fragment, language=GLSL100]].
AL lib: alc_cleanup: 1 device not closed
Exception: java.lang.NullPointerException thrown from the UncaughtExceptionHandler in thread “LWJGL Renderer Thread”
BUILD SUCCESSFUL (total time: 9 seconds)
When I do not stop the Application on closing the Jframe, I get no error. Graphic Card driver are up to date, most others are half a year old. Jmonkey is also updated.
Somebody got an idea why this is happening sometimes?