exception

  1. Dave O

    Android Question foreground service exception - update to "short-term" service or receiver?

    My checklist app uses a service to upload a backup file to Google Drive when the list changes or the app exits. I first save the file locally (instant), but because it takes a few seconds to upload to the net, I thought a service would be the right way to do this (so that the service gets the...
  2. M

    Android Question Offline SpeechToText VOSK - Unexpected event (missing RaiseSynchronousEvents): stt_readytolisten

    Hi everyone, i'm using the speechtotext library by @Biswajit (thanks) i noticed that once i ported it to B4XPages it started throwing this errors in the logs... actually the sub exsists and infact then it works... but it does not seems to be a stable things, it has already happened that the...
  3. W

    B4J Question [SOLVED] Exception with ListSelectionView and B4XDialog? ("Button.disable : A bound value cannot be set.")

    Hi all, I hope someone can shed some light on this one. The attached project is intended to show a B4XDialog with a layout that contains a ListSelectionView from the jControlsFX9 library (the same happens with the jControlsFX library). When clicking either OK or Cancel on the B4XDialog, this...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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?
  14. 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