So I get a black screen with this:
[java]
getLoggerAndMakeHardLink( "com.jme3" ).setLevel( Level.WARNING );
[/java]
and no black screen (everything works great) with this:
[java]
getLoggerAndMakeHardLink( "com.jme3" ).setLevel( Level.INFO);
[/java]
anyone can explain why??
where
[java]
private static java.util.logging.Logger getLoggerAndMakeHardLink( String name )
{
java.util.logging.Logger logger = java.util.logging.Logger.getLogger( name );
loggersHardLink.add( logger );
return logger;
}
[/java]
Because you get a NPE? Is “loggersHardLink” statically instantiated?
I don’t get a null ptr or anything just a black screen , even more weird now I get nothing regardless of the logging. I tried a simple example by attaching a box and still nothing log below (notice that it does attach to the rootNode) b
[java]ay 15, 2012 12:36:31 PM com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
May 15, 2012 12:36:31 PM com.jme3.scene.Node attachChild
INFO: Child (BitmapFont) attached to this node (null)
May 15, 2012 12:36:31 PM com.jme3.scene.Node attachChild
INFO: Child (null) attached to this node (Statistics View)
May 15, 2012 12:36:31 PM com.jme3.scene.Node attachChild
INFO: Child (Statistics View) attached to this node (Gui Node)
May 15, 2012 12:36:31 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation
INFO: Uniform m_VertexColor is not declared in shader [ShaderSource[name=Common/MatDefs/Misc/Unshaded.vert, defines, type=Vertex], ShaderSource[name=Common/MatDefs/Misc/Unshaded.frag, defines, type=Fragment]].
May 15, 2012 12:36:37 PM com.jme3.scene.Node attachChild
INFO: Child (Car_1) attached to this node (Root Node)
May 15, 2012 12:36:37 PM com.jme3.scene.Node attachChild
INFO: Child (Car_2) attached to this node (Root Node)
May 15, 2012 12:36:37 PM com.jme3.renderer.Camera <init>
INFO: Camera created (W: 1, H: 1)
[/java]
a) logging changes will never cause this issue.
b) we do not have enough information to help. (I’m holding a piece of string can you tell me how long it is?)