Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-6809

Android: V8: Ti.Media.Android.scanMediaFiles - Runtime Error - 'Uncaught Error: Invalid value, expected type Array'

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 1.8.0.1
    • Component/s: Android
    • Environment:

      SDK: 1.8.0.1.v20111219180133
      Android Runtimes: V8
      Studio: 1.0.7.201112152014
      OS: OS X Lion
      Devices Tested: Android Emulator 2.2, Droid3 2.3.4, Galaxy Nexus 4.0.2

      Description

      Ti.Media.Android.scanMediaFiles in V8 results in type error of: 'Uncaught Error: Invalid value, expected type Array'.

      Tested in V8/Rhino. Only found in V8.

      Steps to Reproduce:

      1. Run ScanTest (attached).
      2. Press 'Do scan'.

      Expected Result:

      URL string should appear at the bottom of the screen.

      Actual Result:

      Runtime Error - 'Uncaught Error: Invalid value, expected type Array'
      Log Attached.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hpham Hieu Pham
                Reporter:
                dhyde Dustin Hyde
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code