Bug? Strange errors when running Debug

Cadenzo

Active Member
Licensed User
Longtime User
a very strange behavior. I just added the iJSON Library (Version: 1.01) to the project, and now I get this error log when debugging.

B4X:
Copying updated assets files (130)
Error occurred on line: 7 (Main)
Class not found: iFirebaseAnalytics
Stack Trace: (
  CoreFoundation       <redacted> + 252
  libobjc.A.dylib      objc_exception_throw + 56
  CoreFoundation       <redacted> + 0
  B4i Example          -[B4IShell createObject:] + 208
  B4i Example          -[B4IShell raiseEventImpl:method:args::] + 1784
  B4i Example          -[B4IShellBI raiseEvent:event:params:] + 1580
  B4i Example          -[B4IStaticModule initializeModule] + 476
  B4i Example          -[b4i_main initializeStaticModules] + 80
  B4i Example          -[B4IShellBI raiseEvent:event:params:] + 240
  B4i Example          __33-[B4I raiseUIEvent:event:params:]_block_invoke + 60
 libdispatch.dylib    <redacted> + 24
 libdispatch.dylib    <redacted> + 16
 libdispatch.dylib    <redacted> + 1068
 CoreFoundation       <redacted> + 12
 CoreFoundation       <redacted> + 1924
 CoreFoundation       CFRunLoopRunSpecific + 436
 GraphicsServices     GSEventRunModal + 104
 UIKitCore            UIApplicationMain + 212
 B4i Example          main + 124
 libdyld.dylib        <redacted> + 4
)
Application_Start

Of course the iFirebaseAnalytics lib is included.
After Clean Project the error log was another. It could not find a file. But the file was included in IDE FileManager and also in the Files sub folder.
Than I removed the iJSON Library, same result. Added it again, same. But now after again "Clean project" the bridge just closes without any result. Only with Debug. Build release Server is OK. I am using hosted builder.

Edited: I had similar problems earlier, and the advice was, to delete the app in the device. This helped also now. But it is not really a solution. I am losing all the app-data. Is there any, any other way, when this problem comes again?
 
Last edited:

Cadenzo

Active Member
Licensed User
Longtime User
This error can happen if you have multiple debug apps installed.
You mean, other B4i apps that are in debug mode on the device? So I will try to find them. B4X is really fun to work with. So I could live with this error. But I would feel better, if I could avoid it.
 
Top