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

iOS Debugger: Exceptions reported during debug

    Details

    • Type: Bug
    • Status: Open
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: Release 5.0.0
    • Fix Version/s: None
    • Component/s: Debugging
    • Labels:
      None
    • Environment:

      Mac OS 10.13,
      Appc Studio: 5.0.0.201711171605
      Ti SDK: 7.0.0.v20171117152921
      Appc CLI: 7.0.0-master.34
      Node.js: 8.9.1
      xcode: 9.1

      Description

      Some exceptions are shown are during iOS debug as mentioned below:

      1. The following exception is reported each time project is debugged on iOS simulator or device

      !MESSAGE (Build 5.0.0.qualifier) [ERROR]  Unable to find our application in the listing of applications.
      !STACK 0
      com.axway.inspector.protocol.InspectorException: Unable to find our application in the listing of applications.
      	at com.appcelerator.titanium.ios.internal.core.debug.JSCInspector.handleConnectedApplicationList(JSCInspector.java:267)
      	at com.appcelerator.titanium.ios.internal.core.debug.JSCInspector.messageReceived(JSCInspector.java:123)
      	at com.appcelerator.titanium.ios.internal.core.debug.JSCInspectorReader.run(JSCInspectorReader.java:52)
      	at java.lang.Thread.run(Thread.java:748)
      

      2. The following exception is shown mostly on device. This is almost shown every time a project is debugged for the first time but is also shown on other debug instance as well. Though debug is successful

      !MESSAGE (Build 5.0.0.qualifier) [ERROR]  0
      !STACK 0
      java.lang.ArrayIndexOutOfBoundsException: 0
      	at com.dd.plist.PropertyListParser.determineType(PropertyListParser.java:97)
      	at com.dd.plist.PropertyListParser.parse(PropertyListParser.java:208)
      	at com.appcelerator.titanium.ios.internal.core.debug.JSCInspectorReader.readMessage(JSCInspectorReader.java:107)
      	at com.appcelerator.titanium.ios.internal.core.debug.JSCInspectorReader.run(JSCInspectorReader.java:51)
      	at java.lang.Thread.run(Thread.java:748)
      

      3. On terminate of debugger the following exception is shown. It is intermittent. Will update if can find exact step to reproduce.

      !MESSAGE (Build 5.0.0.qualifier) [ERROR]  Bad file descriptor at Socket[addr=0.0.0.0/0.0.0.0,port=0,localport=0][fd=java.io.FileDescriptor@3a6edd93; file=/private/var/run/usbmuxd; connected=false; bound=false]
      !STACK 0
      java.io.IOException: Bad file descriptor at Socket[addr=0.0.0.0/0.0.0.0,port=0,localport=0][fd=java.io.FileDescriptor@3a6edd93; file=/private/var/run/usbmuxd; connected=false; bound=false]
      	at org.newsclub.net.unix.AFUNIXSocketImpl$AFUNIXInputStream.read(AFUNIXSocketImpl.java:192)
      	at java.io.InputStream.read(InputStream.java:101)
      	at com.appcelerator.titanium.ios.internal.core.debug.JSCInspectorReader.readPacket(JSCInspectorReader.java:80)
      	at com.appcelerator.titanium.ios.internal.core.debug.JSCInspectorReader.run(JSCInspectorReader.java:50)
      	at java.lang.Thread.run(Thread.java:748)
      Caused by: org.newsclub.net.unix.AFUNIXSocketException: Bad file descriptor
      	at org.newsclub.net.unix.NativeUnixSocket.read(Native Method)
      	at org.newsclub.net.unix.AFUNIXSocketImpl$AFUNIXInputStream.read(AFUNIXSocketImpl.java:189)
      	... 4 more
      

        Attachments

          Activity

            People

            • Assignee:
              kkolipaka Kondal Kolipaka (Inactive)
              Reporter:
              ssekhri Satyam Sekhri
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: