Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-8632

Debugger: Error thrown when terminating build process after terminating debugger

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Cannot Reproduce
    • Affects Version/s: Release 4.8.0
    • Fix Version/s: None
    • Component/s: Android, Debugging
    • Environment:

      OS: Microsoft Windows 10 Pro 10.0.14393
      Appc core: 6.6.0-1
      Appc NPM: 4.2.8-9
      Ti SDK: 6.0.0.v20161017194738
      Appc Studio: 4.8.0.201610171310

    • Story Points:
      5
    • Sprint:
      2017 Sprint 02 Studio

      Description

      Description

      When debugging an app on Android, if the debugger is terminated before the build process when a user attempts to terminate the debug process from the terminal tab then the below error will be thrown

      An internal error occurred during: "Execute Debug Command".
      java.lang.NullPointerException
      

      The logs show the below

      !ENTRY org.eclipse.core.jobs 4 2 2016-10-19 14:27:20.610
      !MESSAGE An internal error occurred during: "Execute Debug Command".
      !STACK 0
      java.lang.NullPointerException
      	at com.appcelerator.titanium.android.debug.core.V8DebugTarget.terminate(V8DebugTarget.java:401)
      	at org.eclipse.debug.internal.core.commands.TerminateCommand.execute(TerminateCommand.java:32)
      	at org.eclipse.debug.internal.core.commands.ForEachCommand.doExecute(ForEachCommand.java:32)
      	at org.eclipse.debug.core.commands.AbstractDebugCommand$1.run(AbstractDebugCommand.java:225)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      

      Steps to reproduce
      1. Debug an app on Android
      2. Terminate the debugger by clicking the red square in the debugger controls
      3. Terminate the build process by clicking the red square in the console tab. You may need to select device in the Debug tab
      Actual result

      Error is thrown, build process can not be terminated

      Expected result

      Should be able to terminate build process after terminating debugger

        Attachments

          Activity

            People

            • Assignee:
              ppedduri Prashanth Pedduri (Inactive)
              Reporter:
              eharris Ewan Harris
            • Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: