hasThisExit = true;
isFirstExit = false;
exitActions.append("\n " + action.getActionCode());
}
}
<BUG>if (state.getActivity() != null)
{</BUG>
if (!hasThisEntry)
{
if (!isFirstEntry)

hasThisExit = true;
isFirstExit = false;
exitActions.append("\n " + action.getActionCode());
}
}
for (Activity activity : state.getActivities())
{
if (!hasThisEntry)
{
if (!isFirstEntry)
