Using Erels code snippet create round image I get an error in this line:
where xui -library-link is set and xui is declared as XUI.
Error: (beginning)
Error occurred on line: 27 (clsDrawPics)
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.ref.Reference.get()' on a null object reference
at anywheresoftware.b4a.objects.B4XViewWrapper$XUI.CreatePanel(B4XViewWrapper.java:730)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)........
What is wrong here?
B4X:
Dim xview As B4XView = xui.CreatePanel("")
Error: (beginning)
Error occurred on line: 27 (clsDrawPics)
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.ref.Reference.get()' on a null object reference
at anywheresoftware.b4a.objects.B4XViewWrapper$XUI.CreatePanel(B4XViewWrapper.java:730)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)........
What is wrong here?