Android Question Error with NumPad class in version 6.80 Beta

Cebuvi

Active Member
Licensed User
Longtime User
Hello

Working with NumPad class in B4A version 6.8 Beta, in the code line

B4X:
    slidingPanel.LoadLayout("Numpad")

The following error occurs

** Service (starter) Create **
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
java.lang.NoSuchMethodError: No virtual method setText(Ljava/lang/Object;)V in class Lanywheresoftware/b4a/objects/EditTextWrapper; or its super classes (declaration of 'anywheresoftware.b4a.objects.EditTextWrapper' appears in /data/app/b4a.example-1/base.apk)
at anywheresoftware.b4a.objects.FloatLabeledEditTextWrapper.DesignerCreateView(FloatLabeledEditTextWrapper.java:38)
at anywheresoftware.b4a.objects.CustomViewWrapper.AfterDesignerScript(CustomViewWrapper.java:70)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:158)
at anywheresoftware.b4a.objects.PanelWrapper.LoadLayout(PanelWrapper.java:134)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:710)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:342)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:249)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:134)
at anywheresoftware.b4a.BA$2.run(BA.java:338)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
An error occurred:
(Line: 58) slidingPanel.Elevation = 10dip
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean

Thanks
 
Top