Android application not working.
TableViewRowProxy: (main) [6180,6180] selectedBackgroundColor is deprecated, use backgroundSelectedColor instead
[WARN] : TableViewRowProxy: (main) [5,6185] selectedBackgroundColor is deprecated, use backgroundSelectedColor instead
[WARN] : TableViewRowProxy: (main) [11,6196] selectedBackgroundColor is deprecated, use backgroundSelectedColor instead
[WARN] : TableViewRowProxy: (main) [10,6206] selectedBackgroundColor is deprecated, use backgroundSelectedColor instead
[WARN] : TableViewRowProxy: (main) [9,6215] selectedBackgroundColor is deprecated, use backgroundSelectedColor instead
[WARN] : TableViewRowProxy: (main) [10,6225] selectedBackgroundColor is deprecated, use backgroundSelectedColor instead
[WARN] : TableViewRowProxy: (main) [15,6240] selectedBackgroundColor is deprecated, use backgroundSelectedColor instead
[WARN] : TableViewRowProxy: (main) [9,6249] selectedBackgroundColor is deprecated, use backgroundSelectedColor instead
[WARN] : TableViewRowProxy: (main) [9,6258] selectedBackgroundColor is deprecated, use backgroundSelectedColor instead
[WARN] : TableViewRowProxy: (main) [10,6268] selectedBackgroundColor is deprecated, use backgroundSelectedColor instead
[WARN] : TableViewRowProxy: (main) [8,6276] selectedBackgroundColor is deprecated, use backgroundSelectedColor instead
[WARN] : TableViewRowProxy: (main) [14,6290] selectedBackgroundColor is deprecated, use backgroundSelectedColor instead
[WARN] : TableViewRowProxy: (main) [9,6299] selectedBackgroundColor is deprecated, use backgroundSelectedColor instead
[WARN] : TableViewRowProxy: (main) [9,6308] selectedBackgroundColor is deprecated, use backgroundSelectedColor instead
[WARN] : TableViewRowProxy: (main) [4,6312] selectedBackgroundColor is deprecated, use backgroundSelectedColor instead
[WARN] : TableViewRowProxy: (main) [6,6318] selectedBackgroundColor is deprecated, use backgroundSelectedColor instead
[WARN] : TableViewRowProxy: (main) [7,6325] selectedBackgroundColor is deprecated, use backgroundSelectedColor instead
[WARN] : TableViewRowProxy: (main) [7,6332] selectedBackgroundColor is deprecated, use backgroundSelectedColor instead
[WARN] : TableViewRowProxy: (main) [6,6338] selectedBackgroundColor is deprecated, use backgroundSelectedColor instead
[WARN] : W/System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.app.ActionBar.setDisplayOptions(int)' on a null object reference
[WARN] : W/System.err: at org.appcelerator.titanium.proxy.ActionBarProxy.
(ActionBarProxy.java:58)
[WARN] : W/System.err: at org.appcelerator.titanium.proxy.ActivityProxy.getActionBar(ActivityProxy.java:258)
[WARN] : W/System.err: at org.appcelerator.kroll.runtime.v8.V8Function.nativeInvoke(Native Method)
[WARN] : W/System.err: at org.appcelerator.kroll.runtime.v8.V8Function.callSync(V8Function.java:57)
[WARN] : W/System.err: at org.appcelerator.kroll.runtime.v8.V8Function.call(V8Function.java:43)
[WARN] : W/System.err: at ti.modules.titanium.TitaniumModule$Timer.run(TitaniumModule.java:147)
[WARN] : W/System.err: at android.os.Handler.handleCallback(Handler.java:746)
[WARN] : W/System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
[WARN] : W/System.err: at android.os.Looper.loop(Looper.java:148)
[WARN] : W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5443)
[WARN] : W/System.err: at java.lang.reflect.Method.invoke(Native Method)
[WARN] : W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)
[WARN] : W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
{color:red}[ERROR] : TiExceptionHandler: (main) [1143,7481] ----- Titanium Javascript Runtime Error -----
[ERROR] : TiExceptionHandler: (main) [0,7481] - In ti:/titanium.js:226,24{color}
{color:red}[ERROR] : TiExceptionHandler: (main) [0,7481] - Message: Uncaught Attempt to invoke virtual method 'void android.support.v7.app.ActionBar.setDisplayOptions(int)' on a null object reference
[ERROR] : TiExceptionHandler: (main) [0,7481] - Source: serialized[k] = this[k];
[ERROR] : V8Exception: Exception occurred at ti:/titanium.js:226: Uncaught Attempt to invoke virtual method 'void android.support.v7.app.ActionBar.setDisplayOptions(int)' on a null object reference
[ERROR] : V8Exception: Attempt to invoke virtual method 'void {color}android.support.v7.app.ActionBar.setDisplayOptions(int)' on a null object reference
It looks like you are trying to place a (top-level)
<Window>
instance next to views, which either need to be part of the window or be in a separate view that is require'd by another top-level window. The error itself suggests that there is no action bar to configure, so it fails. Also, unrelated, it seems likeselectedBackgroundColor
is marked as deprecated although it is not in the docs. [~bimmel] + [~ybanev] for the rescue![^widget.js]
[~hknoechel], which document is that?
Its an drawer which i used "kr.yostudio.drawer" js file
I don't get any solution to fix it please help me to solve it or any alternative navigation drawer to use.
Hello [~rohit], "kr.yostudio.drawer" is this you created or a third party drawer? If it's third party drawer you should try reaching them. Thanks.
Hello [~rohit], What is the update of your issue? Can you get back to us on the previous comment?
Created PR https://github.com/appcelerator/titanium_mobile/pull/10256 to add the deprecated notice to the selectedBackgroundColor property.
So this is a bit more complicated I assume. On iOS, it is not deprecated, on Android it is. We should find out why it was deprecated and how we should proceed. Reopening and moving to TIMOB for further investigation. *EDIT*: See TIMOB-26304 for further info.