From 5024fa6c32a1f08abae387d1256c3d6efae10840 Mon Sep 17 00:00:00 2001 From: "bre..ns" Date: Thu, 23 Jun 2011 23:45:18 +0000 Subject: [PATCH] * scene application doesn't gobble up NPEs any more git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7717 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java b/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java index 33fb6383c..0fd79377e 100644 --- a/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java +++ b/sdk/jme3-core/src/com/jme3/gde/core/scene/SceneApplication.java @@ -237,6 +237,8 @@ public class SceneApplication extends Application implements LookupProvider, Loo renderManager.render(tpf); } getStateManager().postRender(); + } catch (NullPointerException e) { + handleError("NullPointerException: "+e.getMessage(), e); } catch (Exception e) { handleError(e.getMessage(), e); } catch (Error e) {