java.lang.IllegalStateException

The specified child already has a parent. You must call removeView() on the child's parent first.

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web374

  • via Unknown by Federico Casali,
  • via Unknown by Federico Casali,
  • via Stack Overflow by Styler2go
    ,
  • Stack trace

    • 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:3337)[TiApplication(13705)] at android.view.ViewGroup.addView(ViewGroup.java:3208)[TiApplication(13705)] at android.view.ViewGroup.addView(ViewGroup.java:3188)[TiApplication(13705)] at org.appcelerator.titanium.view.TiUIView.initializeBorder(TiUIView.java:953)[TiApplication(13705)] at org.appcelerator.titanium.view.TiUIView.processProperties(TiUIView.java:697)[TiApplication(13705)] at ti.modules.titanium.ui.widget.TiView.processProperties(TiView.java:49)[TiApplication(13705)] at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:893)[TiApplication(13705)] at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:310)[TiApplication(13705)] at org.appcelerator.titanium.proxy.TiWindowProxy.handleMessage(TiWindowProxy.java:107)[TiApplication(13705)] at android.os.Handler.dispatchMessage(Handler.java:95)[TiApplication(13705)] at android.os.Looper.loop(Looper.java:137)[TiApplication(13705)] at android.app.ActivityThread.main(ActivityThread.java:4514)[TiApplication(13705)] at java.lang.reflect.Method.invokeNative(Native Method)[TiApplication(13705)] at java.lang.reflect.Method.invoke(Method.java:511)[TiApplication(13705)] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)[TiApplication(13705)] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)[TiApplication(13705)] at dalvik.system.NativeStart.main(Native Method)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    filpgamefilpgame
    2 times, last one
    Indri YunitaIndri Yunita
    6 times, last one
    kuldeepkuldeep
    5 times, last one
    Unknown visitor
    Unknown visitorOnce,
    harshaharsha
    Once,
    18 more bugmates