I have the following piece of code:
Code: Select all
try
{
world.getManager(TurnManager.class).NewSimulationCycle();
world.setDelta(1.0f);
world.process();
} catch (Exception ex)
{
trace(ExtensionLogLevel.ERROR, "world simulation processing error: " + ex.getMessage() + " " + ex.toString());
ex.printStackTrace();
}
Sometimes NullRef exception happecns inside try block, somewhere deeper. But I expected to get whole stacktrace to identify the place, but I dont get it in logs:
31 авг 2014 | 02:45:59,485 | ERROR | SFSWorker:Ext:2 | Extensions | | {RaffSquad}: world simulation processing error: null java.lang.NullPointerException
Any hints how to get the stacktrace?