I reference this thread. ( B4XTable - Photos Album)
My APP work fine in B4A, But in B4i has some trouble.
Loading data for the first time is Okay.
The second reload data B4XTable becomes blank.
The app crashed after loading the data for the third time
Logs...
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
			
			My APP work fine in B4A, But in B4i has some trouble.
Loading data for the first time is Okay.
The second reload data B4XTable becomes blank.
The app crashed after loading the data for the third time
Logs...
			
				B4X:
			
		
		
		Application_Start
Class (b4i_bcpath) instance released.
101.9925
已下載 3 筆資料
Class (b4i_httpjob) instance released.
Class (b4i_httpjob) instance released.
Current link: http://kaduo.xyz/andpic/01.jpg
Class (b4i_httpjob) instance released.
Current link: http://kaduo.xyz/andpic/02.jpg
Class (b4i_httpjob) instance released.
Current link: http://kaduo.xyz/andpic/03.jpg
Class (b4i_httpjob) instance released.
已下載 3 筆資料
Class (b4i_httpjob) instance released.
Current link: http://kaduo.xyz/andpic/01.jpg
Class (b4i_httpjob) instance released.
Current link: http://kaduo.xyz/andpic/02.jpg
Class (b4i_httpjob) instance released.
Current link: http://kaduo.xyz/andpic/03.jpg
Class (b4i_httpjob) instance released.
closing old db.
已下載 3 筆資料
Class (b4i_httpjob) instance released.
Current link: http://kaduo.xyz/andpic/01.jpg
Class (b4i_httpjob) instance released.
Current link: http://kaduo.xyz/andpic/02.jpg
Class (b4i_httpjob) instance released.
Current link: http://kaduo.xyz/andpic/03.jpg
Class (b4i_httpjob) instance released.
Error occurred on line: 560 (B4XTable)
*** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array
Stack Trace: (
  CoreFoundation       __exceptionPreprocess + 242
  libobjc.A.dylib      objc_exception_throw + 48
  CoreFoundation       _CFThrowFormattedException + 194
  CoreFoundation       -[__NSArrayM objectAtIndex:] + 142
  result               -[B4IList Get:] + 92
  result               -[b4i_b4xtable _getlabelfromcolumn:::] + 704
  result               -[b4i_b4xtable _addcolumn:::] + 1595
  result               -[b4i_pagesev1 _createtable::] + 1400
  result               -[ResumableSub_pagesev1_FindPictures resume::] + 1682
  CoreFoundation       __invoking___ + 140
CoreFoundation       -[NSInvocation invoke] + 303
result               +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1669
result               -[B4IShell runMethod:] + 401
result               -[B4IShell raiseEventImpl:method:args::] + 2361
result               -[B4IShellBI raiseEvent:event:params:] + 1357
result               -[B4IDelegatableResumableSub resume::] + 378
result               -[B4I checkAndRunWaitForEvent:event:params:] + 500
result               -[B4IShellBI raiseEvent:event:params:] + 1204
result               __37-[B4ICommon ReturnFromResumableSub::]_block_invoke + 300
libdispatch.dylib    _dispatch_call_block_and_release + 12
libdispatch.dylib    _dispatch_client_callout + 8
libdispatch.dylib    _dispatch_main_queue_callback_4CF + 1045
CoreFoundation       __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
CoreFoundation       __CFRunLoopRun + 2685
CoreFoundation       CFRunLoopRunSpecific + 567
GraphicsServices     GSEventRunModal + 139
UIKitCore            -[UIApplication _run] + 912
UIKitCore            UIApplicationMain + 101
result               main + 112