Error occurred on line: 326 (FirebaseMessaging)
java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4j.object.JavaObject.RunMethod(JavaObject.java:132)
at com.sentio.admin.firebasemessaging._installknox(firebasemessaging.java:1494)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:348)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at anywheresoftware.b4a.BA$2.run(BA.java:387)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:246)
at android.app.ActivityThread.main(ActivityThread.java:8633)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
Caused by: java.lang.RuntimeException: Stub!
at android.app.enterprise.EnterpriseDeviceManager.<init>(EnterpriseDeviceManager.java:22)
at com.sentio.admin.firebasemessaging.processTwo(firebasemessaging.java:2303)
... 17 more
** Activity (main) Pause, UserClosed = true **
** Service (firebasemessaging) Destroy **
** Service (starter) Destroy (ignored)**
java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4j.object.JavaObject.RunMethod(JavaObject.java:132)
at com.sentio.admin.firebasemessaging._installknox(firebasemessaging.java:1494)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:348)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at anywheresoftware.b4a.BA$2.run(BA.java:387)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:246)
at android.app.ActivityThread.main(ActivityThread.java:8633)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
Caused by: java.lang.RuntimeException: Stub!
at android.app.enterprise.EnterpriseDeviceManager.<init>(EnterpriseDeviceManager.java:22)
at com.sentio.admin.firebasemessaging.processTwo(firebasemessaging.java:2303)
... 17 more
** Activity (main) Pause, UserClosed = true **
** Service (firebasemessaging) Destroy **
** Service (starter) Destroy (ignored)**
B4X:
public void processTwo() {
BA.Log("naber");
edm = new EnterpriseDeviceManager(this);
elm = EnterpriseLicenseManager.getInstance(this);
ApplicationPolicy appPolicy = edm.getApplicationPolicy();
RestrictionPolicy rp= edm.getRestrictionPolicy();
elm.activateLicense("9A1E5D687A4C012E33A1FA9DC2E47825705B5F21320738A1237791F13F80EF605B375065CB9EC8AC365EE67D222A9CCDDE234850B30D614413");
}