Kbase P18326: NullPointerException after a longish period of inactivity
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/12/2003 |
|
Status: Unverified
FACT(s) (Environment):
SonicMQ 4.x
SYMPTOM(s):
NullPointerException after a longish period of inactivity
CAUSE:
Application problem (Code does not check if objects are null before executing methods on them).
FIX:
Make sure objects are not null before executing methods on them.
Example code: If (myobject != null) myobject.mymethod();