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

Android : SearchView along with table view crashes

    Details

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

      Mac OS X, Titanium Studio, Samsung Galaxy Core(i8262)

      Description

      I have been facing this issue but dont have the reproducible steps. But this seems to be bug in the SearchView but surprisingly the crash only occurs on real device and not on Genymotion...After replacing the searchview with searchbar app seems to be working properly....

      java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
      at android.view.ViewGroup.addViewInner(ViewGroup.java:3562)
      at android.view.ViewGroup.addView(ViewGroup.java:3415)
      at android.view.ViewGroup.addView(ViewGroup.java:3360)
      at android.view.ViewGroup.addView(ViewGroup.java:3336)
      at android.support.v7.internal.view.menu.MenuItemWrapperICS$CollapsibleActionViewWrapper.<init>(MenuItemWrapperICS.java:444)
      at android.support.v7.internal.view.menu.MenuItemWrapperICS.setActionView(MenuItemWrapperICS.java:242)
      at org.appcelerator.titanium.proxy.MenuItemProxy$1.run(MenuItemProxy.java:377)
      at android.os.Handler.handleCallback(Handler.java:733)
      at android.os.Handler.dispatchMessage(Handler.java:95)
      at android.os.Looper.loop(Looper.java:136)
      at android.app.ActivityThread.main(ActivityThread.java:5001)
      at java.lang.reflect.Method.invokeNative(Native Method)
      at java.lang.reflect.Method.invoke(Method.java:515)
      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
      at dalvik.system.NativeStart.main(Native Method)

        Attachments

          Activity

            People

            • Assignee:
              emerriman Eric Merriman
              Reporter:
              hardik_amal2007 Hardik Amal
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-19848
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code