R rbtcotton Member Licensed User Longtime User Aug 7, 2018 #1 The following error is receive from FileDialog1.Show. java.lang.NoSuchFieldError: No field Text of type Ljava/lang/String; in class 'DBUtils' - Version 2.06 B4A - Version 8.30 App - SQLite Viewer Any help is appreciated.
The following error is receive from FileDialog1.Show. java.lang.NoSuchFieldError: No field Text of type Ljava/lang/String; in class 'DBUtils' - Version 2.06 B4A - Version 8.30 App - SQLite Viewer Any help is appreciated.
Erel B4X founder Staff member Licensed User Longtime User Aug 8, 2018 #2 You need to post the complete error message from the logs (right click to copy). Upvote 0
R rbtcotton Member Licensed User Longtime User Aug 8, 2018 #3 Erel Sorry. --------- beginning of system --------- beginning of main ** Activity (main) Create, isFirst = true ** ** Activity (main) Resume ** java.lang.NoSuchFieldError: No field Text of type Ljava/lang/String; in class Lanywheresoftware/b4a/objects/SimpleListAdapter$SingleLineData; or its superclasses (declaration of 'anywheresoftware.b4a.objects.SimpleListAdapter$SingleLineData' appears in /data/app/anywheresoftware.b4a.sqliteviewer-2/base.apk) at anywheresoftware.b4a.agraham.dialogs.InputDialog$FileDialog.loadFileList(InputDialog.java:1786) at anywheresoftware.b4a.agraham.dialogs.InputDialog$FileDialog.Show(InputDialog.java:1832) at anywheresoftware.b4a.sqliteviewer.main$ResumableSub_mnuInternal_Click.resume(main.java:648) at anywheresoftware.b4a.shell.DebugResumableSub$DelegatableResumableSub.resumeAsUserSub(DebugResumableSub.java:48) at java.lang.reflect.Method.invoke(Native Method) at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:735) at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:357) at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:260) at java.lang.reflect.Method.invoke(Native Method) at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144) at anywheresoftware.b4a.BA.raiseEvent(BA.java:171) at anywheresoftware.b4a.shell.DebugResumableSub$DelegatableResumableSub.resume(DebugResumableSub.java:43) at anywheresoftware.b4a.BA.checkAndRunWaitForEvent(BA.java:245) at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:137) at anywheresoftware.b4a.BA$2.run(BA.java:365) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6314) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:872) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762) Upvote 0
Erel Sorry. --------- beginning of system --------- beginning of main ** Activity (main) Create, isFirst = true ** ** Activity (main) Resume ** java.lang.NoSuchFieldError: No field Text of type Ljava/lang/String; in class Lanywheresoftware/b4a/objects/SimpleListAdapter$SingleLineData; or its superclasses (declaration of 'anywheresoftware.b4a.objects.SimpleListAdapter$SingleLineData' appears in /data/app/anywheresoftware.b4a.sqliteviewer-2/base.apk) at anywheresoftware.b4a.agraham.dialogs.InputDialog$FileDialog.loadFileList(InputDialog.java:1786) at anywheresoftware.b4a.agraham.dialogs.InputDialog$FileDialog.Show(InputDialog.java:1832) at anywheresoftware.b4a.sqliteviewer.main$ResumableSub_mnuInternal_Click.resume(main.java:648) at anywheresoftware.b4a.shell.DebugResumableSub$DelegatableResumableSub.resumeAsUserSub(DebugResumableSub.java:48) at java.lang.reflect.Method.invoke(Native Method) at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:735) at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:357) at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:260) at java.lang.reflect.Method.invoke(Native Method) at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144) at anywheresoftware.b4a.BA.raiseEvent(BA.java:171) at anywheresoftware.b4a.shell.DebugResumableSub$DelegatableResumableSub.resume(DebugResumableSub.java:43) at anywheresoftware.b4a.BA.checkAndRunWaitForEvent(BA.java:245) at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:137) at anywheresoftware.b4a.BA$2.run(BA.java:365) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6314) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:872) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)
Erel B4X founder Staff member Licensed User Longtime User Aug 9, 2018 #4 Are you running this example: https://www.b4x.com/android/forum/threads/android-sqlite-viewer.9197/#content ? Have you made any changes to the code? Upvote 0
Are you running this example: https://www.b4x.com/android/forum/threads/android-sqlite-viewer.9197/#content ? Have you made any changes to the code?
R rbtcotton Member Licensed User Longtime User Aug 10, 2018 #5 No I downloaded the code again and ran the code with same error. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Aug 12, 2018 #6 Works fine here. Make sure to use the latest version of the Dialogs library: https://www.b4x.com/android/forum/threads/dialogs-library.6776/ Upvote 0
Works fine here. Make sure to use the latest version of the Dialogs library: https://www.b4x.com/android/forum/threads/dialogs-library.6776/
R rbtcotton Member Licensed User Longtime User Aug 13, 2018 #7 Erel This fix the problem. Thanks Upvote 0