Android Question Procedure too complex in "Rapid Debug Mode"

Victor Pavlov

Member
Licensed User
Longtime User
B4A QA.jpg

Is there solution for this problem?
 

Victor Pavlov

Member
Licensed User
Longtime User
The code is machine generated from another application. Where can I read limitations of Java procedures to rework the whole process?
 
Upvote 0

Victor Pavlov

Member
Licensed User
Longtime User
The application works with standart Debug mode, in Rapid mode Try-Catch fails and the functions are not working normally.

Is there any specific requirements?
Existing Try-Catch fails...
 
Upvote 0

Victor Pavlov

Member
Licensed User
Longtime User
B4X:
    Try
        ExternalSkin = su.LoadCSV(File.DirRootExternal, Version.Path & "/Skin.csv", ";")
    Catch
        Return
    End Try

Version.Path is Function.
The logger shows error in

Error occurred on line: 9 (version)
mainafterFirstLayout (java line: 98)
java.io.FileNotFoundException: /mnt/sdcard/Microinvest/FastPOS/Skin.csv: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:416)
at java.io.FileInputStream.<init>(FileInputStream.java:78)
at anywheresoftware.b4a.objects.streams.File.OpenInput(File.java:197)
at anywheresoftware.b4a.objects.streams.File.ReadString(File.java:259)
at anywheresoftware.b4a.objects.StringUtils.LoadCSV2(StringUtils.java:142)
at anywheresoftware.b4a.objects.StringUtils.LoadCSV(StringUtils.java:135)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:485)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:229)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:174)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:93)
at microinvest.FastPOS.main.afterFirstLayout(main.java:98)
at microinvest.FastPOS.main.access$100(main.java:16)
at microinvest.FastPOS.main$WaitForLayout.run(main.java:76)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4745)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)
Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Posix.open(Native Method)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
at libcore.io.IoBridge.open(IoBridge.java:400)
... 25 more
 
Upvote 0
Top