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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Appcelerator JIRA by Shawn Lipscomb, 1 year ago
Unable to start activity ComponentInfo{com.eCotton.GradientTest/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException
via Appcelerator JIRA by Shawn Lipscomb, 1 year ago
Unable to start activity ComponentInfo{com.eCotton.GradientTest/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException
via appcelerator.com by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.twoappguys.com/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException: uriString
via Stack Overflow by pawegio
, 2 years ago
Unable to start activity ComponentInfo{com.***}: java.lang.NullPointerException
via Stack Overflow by user588132
, 2 years ago
Unable to start activity ComponentInfo{ListOfDealSites}: java.lang.NullPointerException
via dahuatu.com by Unknown author, 2 years ago
Unable to start activity ComponentInfo{ListOfDealSites}: java.lang.NullPointerException
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.eCotton.GradientTest/org.appcelerator.titanium.TiActivity}: java.lang.NullPointerException
at org.appcelerator.titanium.util.TiConvert.toFloat(TiConvert.java:432)
at org.appcelerator.titanium.util.TiConvert.toFloat(TiConvert.java:462)
at org.appcelerator.titanium.view.TiGradientDrawable.loadColors(TiGradientDrawable.java:106)
at org.appcelerator.titanium.view.TiGradientDrawable.(TiGradientDrawable.java:83)
at org.appcelerator.titanium.view.TiUIView.handleBackgroundImage(TiUIView.java:824)
at org.appcelerator.titanium.view.TiUIView.processProperties(TiUIView.java:594)
at ti.modules.titanium.ui.widget.TiView.processProperties(TiView.java:49)
at org.appcelerator.kroll.KrollProxy.setModelListener(KrollProxy.java:884)
at org.appcelerator.titanium.proxy.TiViewProxy.realizeViews(TiViewProxy.java:441)
at org.appcelerator.titanium.proxy.TiViewProxy.handleGetView(TiViewProxy.java:433)
at org.appcelerator.titanium.proxy.TiViewProxy.getOrCreateView(TiViewProxy.java:411)
at org.appcelerator.titanium.proxy.TiViewProxy.handleAdd(TiViewProxy.java:527)
at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:204)
at org.appcelerator.titanium.proxy.TiWindowProxy.handleMessage(TiWindowProxy.java:111)
at ti.modules.titanium.ui.ActivityWindowProxy.handleMessage(ActivityWindowProxy.java:93)
at org.appcelerator.kroll.common.TiMessenger.dispatchMessage(TiMessenger.java:365)
at org.appcelerator.kroll.common.TiMessenger.dispatchPendingMessages(TiMessenger.java:350)
at org.appcelerator.kroll.common.TiMessenger$2.getResult(TiMessenger.java:235)
at org.appcelerator.kroll.common.TiMessenger.sendBlockingMessage(TiMessenger.java:262)
at org.appcelerator.kroll.common.TiMessenger.sendBlockingRuntimeMessage(TiMessenger.java:187)
at org.appcelerator.kroll.KrollProxy.fireSyncEvent(KrollProxy.java:605)
at ti.modules.titanium.ui.TiUIActivityWindow.windowCreated(TiUIActivityWindow.java:142)
at org.appcelerator.titanium.TiActivityWindows.windowCreated(TiActivityWindows.java:31)
at org.appcelerator.titanium.TiBaseActivity.windowCreated(TiBaseActivity.java:352)
at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:425)
at org.appcelerator.titanium.TiActivity.onCreate(TiActivity.java:22)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
at android.app.ActivityThread.access$2300(ActivityThread.java:125)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
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:868)

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.

Know the solutions? Share your knowledge to help other developers to debug faster.