I dont know why anim is null but gui is working true:
private final AnimationState anim = AnimationState.getDefaultInstance();
I need anim instance to animate Spatial motion.
I guess you never call GuiGlobals.initialize() or you are trying to access it before that has been called.
that is true.
thank you so much.