Here is a sample error log:
Code: Select all
29 Sep 2021 | 13:42:00,720 | ERROR | SFSWorker:Ext:4 | controllers.v290.ExtensionReqController | | java.lang.ArrayIndexOutOfBoundsException:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Exception: java.lang.ArrayIndexOutOfBoundsException
Message: *** Null ***
Description: Error while handling client request in extension: { Ext: GameExtension, Type: JAVA, Lev: ZONE, { Zone: gamezone }, {} }
Extension Cmd: roll_dice
+--- --- ---+
Stack Trace:
+--- --- ---+
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Why is my stack trace empty and how can I enable stack trace logs? Even if I could see only line numbers, that would be great.
In SFS Admin Panel, under Server Configurator->General, I've already enabled "Use debug-mode" and "Stats extra logging" options. Is there other settings that I can change to enable stack trace for my Java extension? (P.S: roll_dice extension extends BaseClientRequestHandler, it's called by a User).