You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys, when I try to set printerInfo it goes to setPaper(int paperID) inside Printer.class and on the line JNIWrapper.getPaperList() it causes exception and the app crashes.
The exception is pretty big but I'll paste it here:
2022-08-10 17:19:20.967 6462-6462/A/: java_vm_ext.cc:577] JNI DETECTED ERROR IN APPLICATION: JNI NewObjectV called with pending exception java.lang.NoSuchMethodError: no non-static method "Lcom/brother/ptouch/sdk/Paper;.<init>(IFFIIIIIIIIIIBLjava/lang/String;Ljava/lang/String;)V" java_vm_ext.cc:577] at com.brother.ptouch.sdk.Paper[] com.brother.ptouch.sdk.JNIWrapper.getPaperList() (JNIWrapper.java:-2) java_vm_ext.cc:577] at com.brother.ptouch.sdk.Paper[] com.brother.ptouch.sdk.Printer.getPaperList() (Printer.java:248) java_vm_ext.cc:577] at void .fragments.BluetoothFragment.print_order() (BluetoothFragment.java:255) java_vm_ext.cc:577] at void .fragments.BluetoothFragment.access$100(.fragments.BluetoothFragment) (BluetoothFragment.java:86) java_vm_ext.cc:577] at void .fragments.BluetoothFragment$3.handleMessage(android.os.Message) (BluetoothFragment.java:490) java_vm_ext.cc:577] at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106) java_vm_ext.cc:577] at void android.os.Looper.loop() (Looper.java:237) java_vm_ext.cc:577] at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:8163) java_vm_ext.cc:577] at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) java_vm_ext.cc:577] at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:656) java_vm_ext.cc:577] at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:967) java_vm_ext.cc:577] java_vm_ext.cc:577] in call to NewObjectV java_vm_ext.cc:577] from com.brother.ptouch.sdk.Paper[] com.brother.ptouch.sdk.JNIWrapper.getPaperList()
The text was updated successfully, but these errors were encountered:
Hi guys, when I try to set printerInfo it goes to setPaper(int paperID) inside Printer.class and on the line JNIWrapper.getPaperList() it causes exception and the app crashes.
The exception is pretty big but I'll paste it here:
2022-08-10 17:19:20.967 6462-6462/A/: java_vm_ext.cc:577] JNI DETECTED ERROR IN APPLICATION: JNI NewObjectV called with pending exception java.lang.NoSuchMethodError: no non-static method "Lcom/brother/ptouch/sdk/Paper;.<init>(IFFIIIIIIIIIIBLjava/lang/String;Ljava/lang/String;)V" java_vm_ext.cc:577] at com.brother.ptouch.sdk.Paper[] com.brother.ptouch.sdk.JNIWrapper.getPaperList() (JNIWrapper.java:-2) java_vm_ext.cc:577] at com.brother.ptouch.sdk.Paper[] com.brother.ptouch.sdk.Printer.getPaperList() (Printer.java:248) java_vm_ext.cc:577] at void .fragments.BluetoothFragment.print_order() (BluetoothFragment.java:255) java_vm_ext.cc:577] at void .fragments.BluetoothFragment.access$100(.fragments.BluetoothFragment) (BluetoothFragment.java:86) java_vm_ext.cc:577] at void .fragments.BluetoothFragment$3.handleMessage(android.os.Message) (BluetoothFragment.java:490) java_vm_ext.cc:577] at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106) java_vm_ext.cc:577] at void android.os.Looper.loop() (Looper.java:237) java_vm_ext.cc:577] at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:8163) java_vm_ext.cc:577] at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) java_vm_ext.cc:577] at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:656) java_vm_ext.cc:577] at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:967) java_vm_ext.cc:577] java_vm_ext.cc:577] in call to NewObjectV java_vm_ext.cc:577] from com.brother.ptouch.sdk.Paper[] com.brother.ptouch.sdk.JNIWrapper.getPaperList()
The text was updated successfully, but these errors were encountered: