Hello,
I'm with a project, which allows the user to move between windows, but when returned to the previous window with a button called category the app shows the following error...
[WARN][InputManagerService( 60)] Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@43ff3940 (uid=10037 pid=295) [ERROR][TiJSError( 295)] (main) [434,74684] ----- Titanium Javascript Runtime Error ----- [ERROR][TiJSError( 295)] (main) [1,74685] - In ti:/window.js:425,15 [ERROR][TiJSError( 295)] (main) [0,74685] - Message: Uncaught TypeError: Cannot call method 'add' of null [ERROR][TiJSError( 295)] (main) [1,74686] - Source: this.view.add(this._children[i]); [ERROR][V8Exception( 295)] Exception occurred at ti:/window.js:425: Uncaught TypeError: Cannot call method 'add' of null [INFO][ActivityManager( 60)] Displayed activity com.puntosdigitalessa.ventajas/org.appcelerator.titanium.TiActivity: 1034 ms (total 1034 ms) [INFO][ARMAssembler( 60)] generated scanline__00000077:03515104_00000000_00000000 [ 33 ipp] (47 ins) at [0x361d48:0x361e04] in 7251001 ns [ERROR][TiBaseActivity( 295)] (main) [623,75752] Layout cleanup.the same does not happen with the same code ios app... what is wrong in android?
1 Answer
Hi juan, you can see that error is due to Message: Uncaught TypeError: Cannot call method 'add' of null
then
Source: this.view.add(this._children[i]);
so check you reference here... i think you are trying to add over a view which is released already.
Your Answer
Think you can help? Login to answer this question!