java.lang.RuntimeException

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


Solutions on the web39645

Solution icon of appcelerator
via Appcelerator JIRA by Shawn Lipscomb, 10 months ago
Unable to start activity ComponentInfo{com.eCotton.GradientTest/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException

Solution icon of appcelerator
via Appcelerator JIRA by Shawn Lipscomb, 1 year ago
Unable to start activity ComponentInfo{com.eCotton.GradientTest/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException

Solution icon of github
via GitHub by anubis1368
, 1 year ago
Unable to start activity ComponentInfo{org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException

Solution icon of appcelerator
via Appcelerator JIRA by Federico Casali, 1 year ago
Unable to start activity ComponentInfo{com.appcelerator.AlloyHarness/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException

Solution icon of stackoverflow
Unable to start activity ComponentInfo{wow.much.scratch/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.sceneflix.mobile/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException

Solution icon of web
Unable to start activity ComponentInfo{com.twoappguys.com/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException: uriString

Solution icon of appcelerator
via Appcelerator JIRA by Federico Casali, 1 year ago
Unable to start activity ComponentInfo{com.appcelerator.AlloyHarness/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.qatartips/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException

Solution icon of stackoverflow
via Stack Overflow by adeibiza
, 1 year ago
Unable to start activity ComponentInfo{com.theibizaapp/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException

Stack trace

  • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.eCotton.GradientTest/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)[AndroidRuntime( 526)] at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)[AndroidRuntime( 526)] at android.app.ActivityThread.access$2300(ActivityThread.java:125)[AndroidRuntime( 526)] at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)[AndroidRuntime( 526)] at android.os.Handler.dispatchMessage(Handler.java:99)[AndroidRuntime( 526)] at android.os.Looper.loop(Looper.java:123)[AndroidRuntime( 526)] at android.app.ActivityThread.main(ActivityThread.java:4627)[AndroidRuntime( 526)] at java.lang.reflect.Method.invokeNative(Native Method)[AndroidRuntime( 526)] at java.lang.reflect.Method.invoke(Method.java:521)[AndroidRuntime( 526)] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)[AndroidRuntime( 526)] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)[AndroidRuntime( 526)] at dalvik.system.NativeStart.main(Native Method)[AndroidRuntime( 526)] Caused by: java.lang.NullPointerException at org.appcelerator.titanium.util.TiConvert.toFloat(TiConvert.java:432)[AndroidRuntime( 526)] at org.appcelerator.titanium.util.TiConvert.toFloat(TiConvert.java:462)[AndroidRuntime( 526)] at org.appcelerator.titanium.view.TiGradientDrawable.loadColors(TiGradientDrawable.java:106)[AndroidRuntime( 526)] at org.appcelerator.titanium.view.TiGradientDrawable.<init>(TiGradientDrawable.java:83)[AndroidRuntime( 526)] at org.appcelerator.titanium.view.TiUIView.handleBackgroundImage(TiUIView.java:824)[AndroidRuntime( 526)] at org.appcelerator.titanium.view.TiUIView.processProperties(TiUIView.java:594)[AndroidRuntime( 526)] at ti.modules.titanium.ui.widget.TiView.processProperties(TiView.java:49)[AndroidRuntime( 526)] at org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:884)[AndroidRuntime( 526)] at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:441)[AndroidRuntime( 526)] at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:433)[AndroidRuntime( 526)] at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:411)[AndroidRuntime( 526)] at org.appcelerator.titanium.proxy.TiViewProxy.handleAdd(TiViewProxy.java:527)[AndroidRuntime( 526)] at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:204)[AndroidRuntime( 526)] at org.appcelerator.titanium.proxy.TiWindowProxy.handleMessage(TiWindowProxy.java:111)[AndroidRuntime( 526)] at ti.modules.titanium.ui.ActivityWindowProxy.handleMessage(ActivityWindowProxy.java:93)[AndroidRuntime( 526)] at android.os.Handler.dispatchMessage(Handler.java:95)[AndroidRuntime( 526)] at org.appcelerator.kroll.common.TiMessenger.dispatchMessage(TiMessenger.java:365)[AndroidRuntime( 526)] at org.appcelerator.kroll.common.TiMessenger.dispatchPendingMessages(TiMessenger.java:350)[AndroidRuntime( 526)] at org.appcelerator.kroll.common.TiMessenger$2.getResult(TiMessenger.java:235)[AndroidRuntime( 526)] at org.appcelerator.kroll.common.TiMessenger.sendBlockingMessage(TiMessenger.java:262)[AndroidRuntime( 526)] at org.appcelerator.kroll.common.TiMessenger.sendBlockingRuntimeMessage(TiMessenger.java:187)[AndroidRuntime( 526)] at org.appcelerator.kroll.KrollProxy.fireSyncEvent(KrollProxy.java:605)[AndroidRuntime( 526)] at ti.modules.titanium.ui.TiUIActivityWindow.windowCreated(TiUIActivityWindow.java:142)[AndroidRuntime( 526)] at org.appcelerator.titanium.TiActivityWindows.windowCreated(TiActivityWindows.java:31)[AndroidRuntime( 526)] at org.appcelerator.titanium.TiBaseActivity.windowCreated(TiBaseActivity.java:352)[AndroidRuntime( 526)] at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:425)[AndroidRuntime( 526)] at org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:22)[AndroidRuntime( 526)] at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)[AndroidRuntime( 526)] at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)[AndroidRuntime( 526)] ... 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 are the first who have seen this exception. Write a tip to help other users and build your expert profile.