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

[Windows] Intermittent null pointer exceptions

    Details

    • Type: Bug
    • Status: Open
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: Release 5.1.3
    • Fix Version/s: None
    • Component/s: Studio Error reporting
    • Labels:
      None
    • Environment:

      Description

      When using APPC studio on windows their are occasional intermittent errors related to Java null pointers which then ultimately require Studio to be restarted.

      Common occurrences

      1. When using the debugger and stepping in multiple times Studio sometimes displays an error and studio will need a restart for it to be useable again properly.
      2. When closing an android emulator prematurely and then doing another app run can sometimes cause a Java Null point error

      Stack trace for null pointer associated with the debugger mentioned in number 1:

      !ENTRY org.eclipse.core.jobs 4 2 2019-07-22 13:30:24.829
      !MESSAGE An internal error occurred during: "Launching Android Device - taketwonewtest".
      !STACK 0
      java.lang.NullPointerException
      	at com.axway.inspector.protocol.Inspector.sendCommandAsync(Inspector.java:242)
      	at com.axway.inspector.debugger.Debugger.setBreakpointsActive(Debugger.java:80)
      	at com.axway.inspector.model.InspectorDebugTarget.disconnect(InspectorDebugTarget.java:783)
      	at com.axway.inspector.model.InspectorDebugTarget.terminate(InspectorDebugTarget.java:172)
      	at com.aptana.js.debug.core.internal.model.JSDebugProcess.terminate(JSDebugProcess.java:236)
      	at org.eclipse.debug.core.Launch.terminate(Launch.java:289)
      	at com.appcelerator.titanium.core.launching.TitaniumSingleProjectLaunchConfigurationDelegate.terminateExistingLaunches(TitaniumSingleProjectLaunchConfigurationDelegate.java:121)
      	at com.appcelerator.titanium.android.core.launching.AndroidInstallerLaunchConfigurationDelegate.launch(AndroidInstallerLaunchConfigurationDelegate.java:188)
      	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:862)
      	at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:720)
      	at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1029)
      	at org.eclipse.debug.internal.ui.DebugUIPlugin$2.run(DebugUIPlugin.java:1243)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
       
      !ENTRY org.eclipse.core.jobs 4 2 2019-07-22 13:30:48.276
      !MESSAGE An internal error occurred during: "Debug Source Lookup".
      !STACK 0
      java.lang.NullPointerException
      	at com.axway.inspector.protocol.Inspector.sendCommandAsync(Inspector.java:242)
      	at com.axway.inspector.protocol.Inspector.sendCommandSync(Inspector.java:268)
      	at com.axway.inspector.debugger.Debugger.getScriptSource(Debugger.java:214)
      	at com.axway.inspector.model.InspectorDebugTarget$3.getContents(InspectorDebugTarget.java:1244)
      	at com.aptana.debug.core.sourcelookup.RemoteFileStorage.getContents(RemoteFileStorage.java:77)
      	at com.aptana.debug.ui.internal.UniformResourceStorageLocationProvider.loadRemoteFileStorage(UniformResourceStorageEditorInput.java:163)
      	at com.aptana.debug.ui.internal.UniformResourceStorageLocationProvider.validate(UniformResourceStorageEditorInput.java:130)
      	at com.aptana.debug.ui.internal.UniformResourceStorageEditorInput.<init>(UniformResourceStorageEditorInput.java:45)
      	at com.aptana.debug.ui.SourceDisplayUtil.getEditorInput(SourceDisplayUtil.java:102)
      	at com.aptana.js.debug.ui.internal.JSDebugModelPresentation.getEditorInput(JSDebugModelPresentation.java:518)
      	at org.eclipse.debug.internal.ui.LazyModelPresentation.getEditorInput(LazyModelPresentation.java:248)
      	at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility.lookup(SourceLookupFacility.java:380)
      	at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility$SourceLookupJob.run(SourceLookupFacility.java:761)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
      

      Note As this is an intermittent issue I will try an attach logs as I come across them.

        Attachments

          Activity

            People

            • Assignee:
              amukherjee Abir Mukherjee
              Reporter:
              smohammed Samir Mohammed
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: