Instruments exited with code 0

I am testing a new mobile application and have written some scripts that in the past were working, not for some reason they seem to be giving me issues.
One of my test scripts executes fine, until it gets to the end and then the application closes and I see the following in my Appium window.

Does anyone have any clue why this would be happening?

Running Appium 1.4.8

info: [debug] [INST] Instruments Trace Complete (Duration : 139.272583s; Output : /tmp/appium-instruments/instrumentscli0.trace)

info: [debug] [INSTSERVER] Instruments exited with code 0
info: [debug] Cleaning up after instruments exit
info: [debug] Stopping iOS log capture
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process
info: [debug] Killing any other simulator daemons
info: [debug] Killall iOS Simulator
info: [debug] On a real device; cannot clean device state
info: [debug] Cleaning up appium session
info: [debug] Responding to client with success: {"status":0,"value":null,"sessionId":"c29758a7-b39a-4f99-b037-fb5b158dee2f"}

What is the offending test script?

I think you should open this file and see what it says.

I think I have figured out what the issue is.
One of my scripts is doing a check for text on the screen, if it fails, then for some reason it seems like it crashes the instruments.
If it is successful, then the script keeps executing.

Here is my code for identifying the elements on the screen and some basic functions I have built to interact with them.

class LRDashboardScreen extends Page{

@Shared JsonReader json = new JsonReader()

static at = {
    screenLabel.text() == "Dashboard"

/*Elements locator */
static content = {
    settingsButton { $('settingsButton')) }
    screenLabel(wait: true) { $('Dashboard')).$('Dashboard')) }
    eventTitle { $('eventTitleLabel')) }
    eventDate { $('eventDateLabel')) }
    eventLocation { $('eventLocationLabel')) }
    exhibOrgTotal { $('exhibOrgTotalLabel')) }
    exhibOrgName { $('exhibOrgNameLabel')) }
    scanButton { $('scanButton')) }
    enterButton { $('manualButton')) }
    leadsList { $('leadsListButton')) }

void clickSettingsButton(){
    waitFor { settingsButton.isDisplayed() }

void clickScanButton(){
    waitFor { scanButton.isDisplayed() }

void clickEnter(){
    waitFor { enterButton.isDisplayed() }

void displayLeads(){
    waitFor { leadsList.displayed}

void logOut() {

boolean isEventTitleCorrect() {
    String expectedEventTitle = json.usersJson.event.eventTitle
    return eventTitle.text() == expectedEventTitle

boolean isEventDateCorrect() {
    String expectedEventDate = json.usersJson.event.eventDate
    return eventDate.text() == expectedEventDate

boolean isEventLocationCorrect() {
    String expectedEventLocation = json.usersJson.event.eventLocation
    return eventLocation.text() == expectedEventLocation

boolean isExhibitorNameCorrect() {
    String expectedExhibitorName = json.usersJson.event.exhibitorName
    return exhibOrgName.text() == expectedExhibitorName


The offending calls are the boolean calls that do a compare of what is in my JSON file vs. whats on the screen. If it fails, then it seems like something in the instruments crashes, not quite sure though.