exception

  1. M

    What is the best way to send Exception? Firebase?

    Hi everyone, I've a question. Given an App that handles a Try Catch, what is the best method to send the Exception in order to see the details? Crashlytics is only good when the app actually crashes, but if the error is managed and I only want to see what the error was? How can I do...
  2. W

    B4J Question [SOLVED] B4Xdialog.ShowTemplate - java.lang.reflect.InvocationTargetException

    Running the attached (very small) project from the IDE (both Release and Debug modes) works fine (B4J 9.30, OpenJDK 11.0.1). I run it using @agraham 's RunSelfNamedJarJdk11 because I don't need an installer and this keeps the footprint minimal in terms of disc space, as basically it does this...
  3. jroriz

    B4J Question [SOLVED] Exception in thread "JavaFX Application Thread"

    I have a small project to show images. It's very simple and integrates a floating window for some specific functions. The program worked without problems until I had to format the PC and reinstall everything. I have no problems running the program directly from the IDE, but if I run the JAR file...
  4. S

    B4A Class Exception, raise, log and format

    Hello, Sometimes you need to stop a piece of code and explain why you have to do it. A good way is to raise an exception and to give information about the reason why. This little class offers you a pratical way to do this : 1) Add the class to your project Public fException As clsException...
  5. A

    Android Question What does this exception mean - anywheresoftware.b4a.pc.Debug$ExceptionWithModuleAndLine

    Hi all. Please help me - what does this exception mean - anywheresoftware.b4a.pc.Debug$ExceptionWithModuleAndLine. I debugged my code and got this exception. Exception didn't happen after I clicked Ctlr+P to clean up my project. I didn't change any line in my code, didn't change any byte in...
  6. uniplan

    Android Question Strange CursorIndexOutOfBoundsException

    I have a strange problem (only on any smartphone) when i try to get value from resultset when inside result set i keep the blob column. android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 1 at this point dim value as string = rst.GetString2(0) or for blob Dim...
  7. Sandman

    Wish Make thrown exceptions keep their type while live updating code

    This Wish is in reference to this thread: Does exceptions in inline java mess with live updating the code? https://www.b4x.com/android/forum/threads/does-exceptions-in-inline-java-mess-with-live-updating-the-code.98502/ In some cases (see thread above) a thrown exception gets its type changed...
  8. Sandman

    Android Question Does exceptions in inline java mess with live updating the code?

    I'm testing some things and have a piece of inline java that is throwing an exception under some conditions. That exception is not fatal for the app at all, and is also wrapped in a try/catch block. However, if the exception is thrown, it's not possible to live update the code anymore. In...
  9. FERNANDO SILVEIRA

    Android Question InvocationTargetException when loading Layout1

    Hello Guys, I'm having hard time to test this app. It is presenting the following error when I do an Activity.LoadLayout("Layout1") App basic code: Load Layout1 (1 panel with 1 label field) User click on label ==> start Content Chooser to select a photo Load selected photo on image...
  10. Sandman

    Android Question [SOLVED] Is Error.Message always same as first line in StackTrace?

    As far as I can tell, Error.Message is always the first line of the StackTrace. Is that always true or can they be different?
  11. Sandman

    iOS Question [SOLVED] How to handle uncaught exceptions?

    Have we got a way to handle uncaught exceptions in our B4I apps? I'm thinking something like this, which is for B4A, https://www.b4x.com/android/forum/threads/uncaught-exceptions.59805/ Apologies if this is super obvious, but I was unable to find anything in the forum about it, and my B4I...
Top