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

Discussion in 'Android Questions' started by PierPaduan, Apr 28, 2015.

  1. PierPaduan

    PierPaduan Member Licensed 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.
     
  2. thedesolatesoul

    thedesolatesoul Expert Licensed User

    What is ADR.stringdemo.stringfunctions?
    Looks like you initialized it in process globals.
     
  3. PierPaduan

    PierPaduan Member Licensed User

    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: http://www.b4x.com/android/forum/threads/string-functions.10365/#content

    I use this Library in Activity Main:
    Code:
    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:
    Code:
    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?
     
  4. thedesolatesoul

    thedesolatesoul Expert Licensed User

    im not familiar with this library but it seems you cannot initialize the class in process globals for some reason.
    Try removing (the initialize) it from Process_Globals.
     
  5. PierPaduan

    PierPaduan Member Licensed User

    I will try.
    Thanks a Lot.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice