Android Question java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

PierPaduan

Active Member
Licensed User
Longtime User
Hi all,
I have a crash report from Google Developer console.
It's happened on android version: 4.2, device: Y511-U10 (HWY511-U).
The text of the error is the following.
I would like to know if this can be a potential problem or not.
Please help me, thanks a Lot.
 

PierPaduan

Active Member
Licensed User
Longtime User
What is ADR.stringdemo.stringfunctions?
Looks like you initialized it in process globals.

Hi, and thanks for the fast reply.
Sorry but I really don't know what "ADR.stringdemo.stringfunctions" is. In my app I use the Library "StringFunctions" vers. 1.04 downloaded from here: https://www.b4x.com/android/forum/threads/string-functions.10365/#content

I use this Library in Activity Main:
B4X:
Sub Process_Globals
    'These global variables will be declared once when the application starts.
    'These variables can be accessed from all modules.
    '*******************  
    Dim sf As StringFunctions
    sf.Initialize
    '*******************
    'mappa delle stringhe per le varie lingue
    Dim MappaStringhe As Map    ' definisco la mappa che conterrà le stringhe

And in Activity Summary:
B4X:
Sub Globals
    'These global variables will be redeclared each time the activity is created.
    'These variables can only be accessed from this module.
    '*******************
    Dim sf As StringFunctions
       sf.Initialize
    '*******************

Is this uncorrect?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…