tufanv Expert Licensed User Longtime User Feb 17, 2016 #1 Code: Copy ColoredTitle.Initialize(m.Get("TIP")&" Oran: "&m.Get("RATIO")&" / "&m.Get("USERNAME"), Font.CreateNew(15), Colors.RGB(255,156,0)) tc.text = ColoredTitle Hello, With beta , I have uploaded my app to appstore without any problems. Yesterday I updated to 2.5 and now with tableview i have a problem. this code : ColoredTitle.Initialize(m.Get("TIP")&" Oran: "&m.Get("RATIO")&" / "&m.Get("USERNAME"), Font.CreateNew(15), Colors.RGB(255,156,0)) tc.text = ColoredTitle gives the following error: Code: Copy Error occurred on line: 1388 (Main) Target is null. Method called: setText: Stack Trace: ( CoreFoundation <redacted> + 150 libobjc.A.dylib objc_exception_throw + 38 CoreFoundation <redacted> + 0 Tahminhane +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 178 Tahminhane -[B4IShell runMethod:] + 574 Tahminhane -[B4IShell raiseEventImpl:method:args::] + 1998 Tahminhane -[B4IShellBI raiseEvent:event:params:] + 1442 Tahminhane +[B4IDebug delegate:::] + 52 Tahminhane -[b4i_main _jobdone:] + 634 CoreFoundation <redacted> + 68 CoreFoundation <redacted> + 292 Tahminhane +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1786 Tahminhane -[B4ICommon CallSubDebug4::::] + 940 Tahminhane -[B4ICommon CallSubDebug2::::] + 254 Tahminhane -[b4i_httpjob _complete::] + 992 Tahminhane -[b4i_httputils2service _completejob::::] + 1680 Tahminhane -[b4i_httputils2service _hc_responsesuccess::] + 1104 CoreFoundation <redacted> + 68 CoreFoundation <redacted> + 292 Tahminhane +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1786 Tahminhane -[B4IShell runMethod:] + 574 Tahminhane -[B4IShell raiseEventImpl:method:args::] + 2212 Tahminhane -[B4IShellBI raiseEvent:event:params:] + 1442 Tahminhane __61-[B4IHttp URLSession:downloadTask:didFinishDownloadingToURL:]_block_invoke + 240 libdispatch.dylib <redacted> + 498 libdispatch.dylib <redacted> + 22 libdispatch.dylib _dispatch_main_queue_callback_4CF + 1532 CoreFoundation <redacted> + 8 CoreFoundation <redacted> + 1590 CoreFoundation CFRunLoopRunSpecific + 516 CoreFoundation CFRunLoopRunInMode + 108 GraphicsServices GSEventRunModal + 160 UIKit UIApplicationMain + 144 Tahminhane main + 108 libdyld.dylib <redacted> + 2 ) please note that i just updated to 2.5 and tried to run the app. No changes. And the app was just accepted by appstore so I cant figure out what happened. TY
Code: Copy ColoredTitle.Initialize(m.Get("TIP")&" Oran: "&m.Get("RATIO")&" / "&m.Get("USERNAME"), Font.CreateNew(15), Colors.RGB(255,156,0)) tc.text = ColoredTitle Hello, With beta , I have uploaded my app to appstore without any problems. Yesterday I updated to 2.5 and now with tableview i have a problem. this code : ColoredTitle.Initialize(m.Get("TIP")&" Oran: "&m.Get("RATIO")&" / "&m.Get("USERNAME"), Font.CreateNew(15), Colors.RGB(255,156,0)) tc.text = ColoredTitle gives the following error: Code: Copy Error occurred on line: 1388 (Main) Target is null. Method called: setText: Stack Trace: ( CoreFoundation <redacted> + 150 libobjc.A.dylib objc_exception_throw + 38 CoreFoundation <redacted> + 0 Tahminhane +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 178 Tahminhane -[B4IShell runMethod:] + 574 Tahminhane -[B4IShell raiseEventImpl:method:args::] + 1998 Tahminhane -[B4IShellBI raiseEvent:event:params:] + 1442 Tahminhane +[B4IDebug delegate:::] + 52 Tahminhane -[b4i_main _jobdone:] + 634 CoreFoundation <redacted> + 68 CoreFoundation <redacted> + 292 Tahminhane +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1786 Tahminhane -[B4ICommon CallSubDebug4::::] + 940 Tahminhane -[B4ICommon CallSubDebug2::::] + 254 Tahminhane -[b4i_httpjob _complete::] + 992 Tahminhane -[b4i_httputils2service _completejob::::] + 1680 Tahminhane -[b4i_httputils2service _hc_responsesuccess::] + 1104 CoreFoundation <redacted> + 68 CoreFoundation <redacted> + 292 Tahminhane +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1786 Tahminhane -[B4IShell runMethod:] + 574 Tahminhane -[B4IShell raiseEventImpl:method:args::] + 2212 Tahminhane -[B4IShellBI raiseEvent:event:params:] + 1442 Tahminhane __61-[B4IHttp URLSession:downloadTask:didFinishDownloadingToURL:]_block_invoke + 240 libdispatch.dylib <redacted> + 498 libdispatch.dylib <redacted> + 22 libdispatch.dylib _dispatch_main_queue_callback_4CF + 1532 CoreFoundation <redacted> + 8 CoreFoundation <redacted> + 1590 CoreFoundation CFRunLoopRunSpecific + 516 CoreFoundation CFRunLoopRunInMode + 108 GraphicsServices GSEventRunModal + 160 UIKit UIApplicationMain + 144 Tahminhane main + 108 libdyld.dylib <redacted> + 2 ) please note that i just updated to 2.5 and tried to run the app. No changes. And the app was just accepted by appstore so I cant figure out what happened. TY
Erel B4X founder Staff member Licensed User Longtime User Feb 17, 2016 #2 tc is null for some reason. It is hard to say more without seeing more code. Upvote 0
tufanv Expert Licensed User Longtime User Feb 17, 2016 #3 Erel said: tc is null for some reason. It is hard to say more without seeing more code. Click to expand... I found the problem but i couldn't understand why it did not give any errors before the update =) . TC was not initialized. Upvote 0
Erel said: tc is null for some reason. It is hard to say more without seeing more code. Click to expand... I found the problem but i couldn't understand why it did not give any errors before the update =) . TC was not initialized.