java.lang.RuntimeException

Unable to start activity ComponentInfo{wow.much.scratch/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 web38998

  • Unable to start activity ComponentInfo{wow.much.scratch/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
  • via Appcelerator JIRA by Shawn Lipscomb, 9 months ago
    Unable to start activity ComponentInfo{com.eCotton.GradientTest/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException
  • Stack trace

    • java.lang.RuntimeException: Unable to start activity ComponentInfo{wow.much.scratch/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2211) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261) at android.app.ActivityThread.access$600(ActivityThread.java:141) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5103) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.NullPointerException at ti.modules.titanium.paint.UIPaintView$PaintView.setImage(UIPaintView.java:224) at ti.modules.titanium.paint.UIPaintView.<init>(UIPaintView.java:42) at ti.modules.titanium.paint.PaintViewProxy.createView(PaintViewProxy.java:30) at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:463) at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:449) at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:487) at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:471) at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:449) at org.appcelerator.titanium.proxy.TiViewProxy.handleAdd(TiViewProxy.java:566) at org.appcelerator.titanium.proxy.TiViewProxy.add(TiViewProxy.java:544) at ti.modules.titanium.ui.WindowProxy.windowCreated(WindowProxy.java:303) at org.appcelerator.titanium.TiActivityWindows.windowCreated(TiActivityWindows.java:32) at org.appcelerator.titanium.TiBaseActivity.windowCreated(TiBaseActivity.java:452) at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:528) at org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:18) at android.app.Activity.performCreate(Activity.java:5133) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175) ... 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.