Revision: 15b27e3b848f
Author: lasithwaruna <[email protected]>
Date: Thu Apr 25 09:17:45 2013
Log: fix null pointer exception - jolokia
http://code.google.com/p/jss7/source/detail?r=15b27e3b848f
Modified:
/m3ua/impl/src/main/java/org/mobicents/protocols/ss7/m3ua/impl/fsm/FSM.java
=======================================
---
/m3ua/impl/src/main/java/org/mobicents/protocols/ss7/m3ua/impl/fsm/FSM.java
Thu Nov 1 12:04:17 2012
+++
/m3ua/impl/src/main/java/org/mobicents/protocols/ss7/m3ua/impl/fsm/FSM.java
Thu Apr 25 09:17:45 2013
@@ -165,8 +165,8 @@
@Override
public String toString() {
- return String.format("FSM.name=%s old state=%s, current state=%s",
this.name, this.oldState.getName(),
- currentState.getName());
+ return String.format("FSM.name=%s old state=%s, current state=%s",
this.name, (this.oldState!=null)?this.oldState.getName():"",
+ (this.currentState!=null)?this.currentState.getName():"");
}
}
--
---
You received this message because you are subscribed to the Google Groups "mobicents-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.