java.lang.RuntimeException

Unable to start activity ComponentInfo{com.appcelerator.UICompositeLayout/org.appcelerator.titanium.TiActivity}: java.lang .NullPointerException

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web37416

  • via Appcelerator JIRA by Natalie Huynh, 11 months ago
    Unable to start activity ComponentInfo{com.appcelerator.UICompositeLayout/org.appcelerator.titanium.TiActivity}: java.lang .NullPointerException
  • via Appcelerator JIRA by Natalie Huynh, 1 year ago
    Unable to start activity ComponentInfo{com.appcelerator.UICompositeLayout/org.appcelerator.titanium.TiActivity}: java.lang .NullPointerException
  • via GitHub by anubis1368
    , 1 year ago
    Unable to start activity ComponentInfo{org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException
  • Stack trace

    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.appcelerator.UICompositeLayout/org.appcelerator.titanium.TiActivity}: java.lang .NullPointerException at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2496) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512) at android.app.ActivityThread.access$2200(ActivityThread.java:119) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:4363) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:521) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.NullPointerException at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:371) at org.appcelerator.titanium.proxy.TiViewProxy.getView(TiViewProxy.java:356) at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:384) at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:370) at org.appcelerator.titanium.proxy.TiViewProxy.getView(TiViewProxy.java:356) at org.appcelerator.titanium.proxy.TiViewProxy.handleAdd(TiViewProxy.java:434) at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:196) at org.appcelerator.titanium.proxy.TiWindowProxy.handleMessage(TiWindowProxy.java:100) at ti.modules.titanium.ui.WindowProxy.handleMessage(WindowProxy.java:95) at android.os.Handler.dispatchMessage(Handler.java:95) at org.appcelerator.titanium.TiMessageQueue.dispatchMessage(TiMessageQueue.java:320) at org.appcelerator.titanium.TiMessageQueue.dispatchPendingMessages(TiMessageQueue.java:304) at org.appcelerator.titanium.TiMessageQueue$2.getResult(TiMessageQueue.java:172) at org.appcelerator.titanium.TiMessageQueue.sendBlockingMessage(TiMessageQueue.java:196) at org.appcelerator.titanium.kroll.KrollContext.evalFile(KrollContext.java:277) at org.appcelerator.titanium.kroll.KrollBridge.evalFile(KrollBridge.java:149) at org.appcelerator.titanium.TiContext.evalFile(TiContext.java:190) at org.appcelerator.titanium.TiContext.evalFile(TiContext.java:210) at ti.modules.titanium.ui.TiUIWindow.handleWindowCreated(TiUIWindow.java:230) at ti.modules.titanium.ui.TiUIWindow.windowCreated(TiUIWindow.java:222) at org.appcelerator.titanium.TiActivityWindows.windowCreated(TiActivityWindows.java:31) at org.appcelerator.titanium.TiBaseActivity.windowCreated(TiBaseActivity.java:271) at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:301) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459) ... 11 more

    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

    You’re the first here who have seen this exception.