An error appeared because the tracer method was added in the initial event selector method. When tracer method is executed the message prefix is constructed based on the CMP value. When CMP field is accessed there is the NPE thrown.
IES methods are called on SBB Objects in Pooled state only. Thus, accessing any SBB Entity related information, like CMPs is not allowed. Also CMP accessors are transactional, IES methods are not. Behavior will have to change, proper exception needs to be thrown in case of illegal access.
An error appeared because the tracer method was added in the initial event selector method. When tracer method is executed the message prefix is constructed based on the CMP value. When CMP field is accessed there is the NPE thrown.