Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23465] change field named stack to stack_trace in crash.studio events

GitHub Issuen/a
TypeNew Feature
PriorityNone
StatusClosed
ResolutionInvalid
Resolution Date2016-06-01T21:53:09.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterVasil Daskalopoulos
AssigneeKondal Kolipaka
Created2016-06-01T21:46:44.000+0000
Updated2016-06-01T21:53:09.000+0000

Description

the JSON being sent from studio for crash.studio events is
{
    "app_version": "4.5.0.qualifier",
    "app_name": "Appcelerator Studio",
    "event": "crash.studio",
    "ts": "2016-06-01T21:38:38.656Z",
    "id": "670bc5fc-c407-4bcd-b4c3-89aac29842be",
    "guid": "30f7a8ff-b9dd-4e81-8991-ba6a750bc15a",
    "sid": "e180464d-5861-462a-86c1-a582cb1206df",
    "mid": "d543d93550ace349c4405da9d04c9a38",
    "platform": "MacOSX",
    "osver": "10.11.0",
    "data": {
        "javaRuntimeVersion": "1.7.0_80-b15",
        "ostype": "x86_64",
        "comments": "This happens during the new project creation",
        "message": "Unhandled event loop exception",
        "stack": "Exception:java.lang.NullPointerException: null\\n\\t at com.appcelerator.titanium.ui.ide.wizard.NewMobileModuleProjectWizard.init(NewMobileModuleProjectWizard.java:112)\\n\\t at org.eclipse.ui.internal.navigator.wizards.WizardShortcutAction.run(WizardShortcutAction.java:84)\\n\\t at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)\\n\\t at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)\\n\\t at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)\\n\\t at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)\\n\\t at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\\n\\t at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4199)\\n\\t at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)\\n\\t at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)\\n\\t at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)\\n\\t at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)\\n\\t at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4042)\\n\\t at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3669)\\n\\t at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)\\n\\t at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)\\n\\t at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)\\n\\t at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)\\n\\t at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)\\n\\t at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)\\n\\t at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)\\n\\t at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)\\n\\t at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:126)\\n\\t at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)\\n\\t at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)\\n\\t at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)\\n\\t at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)\\n\\t at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)\\n\\t at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)\\n\\t at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\\n\\t at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\\n\\t at java.lang.reflect.Method.invoke(Method.java:606)\\n\\t at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)\\n\\t at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)\\n\\t at org.eclipse.equinox.launcher.Main.run(Main.java:1465)\\n\\t at org.eclipse.equinox.launcher.Main.main(Main.java:1438)\\n"
    }
}
please change data.stack to data.stack_trace.

Comments

  1. Vasil Daskalopoulos 2016-06-01

    [~kkolipaka] please disregard this request. i mis-read my own code. data.stack is already correct. :)

JSON Source