iink SDK on Device

Answered

crash

Crash while doing scr 


   java.lang.IllegalStateException: com.myscript.iink.ContentPart closed

        at com.myscript.iink.ContentPart.checkNotClosed(ContentPart.java:49)

        at com.myscript.iink.Editor.setPart(Editor.java:240)

        at com.neebal.wondrx.ui.homescreen.prescription.PrescriptionDialog.lambda$initializeNumberMyScript$4$PrescriptionDialog(PrescriptionDialog.java:419)

        at com.neebal.wondrx.ui.homescreen.prescription.PrescriptionDialog$$Lambda$4.run(Unknown Source:2)

        at android.os.Handler.handleCallback(Handler.java:790)

        at android.os.Handler.dispatchMessage(Handler.java:99)

        at android.os.Looper.loop(Looper.java:164)

        at android.app.ActivityThread.main(ActivityThread.java:6523)

        at java.lang.reflect.Method.invoke(Native Method)

        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)

        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:857)

2021-02-04 17:53:21.002 16461-16461/com.vyd.wondrx.doctorapp E/UncaughtException: java.lang.IllegalStateException: com.myscript.iink.ContentPart closed

        at com.myscript.iink.ContentPart.checkNotClosed(ContentPart.java:49)

        at com.myscript.iink.Editor.setPart(Editor.java:240)

        at com.neebal.wondrx.ui.homescreen.prescription.PrescriptionDialog.lambda$initializeNumberMyScript$4$PrescriptionDialog(PrescriptionDialog.java:419)

        at com.neebal.wondrx.ui.homescreen.prescription.PrescriptionDialog$$Lambda$4.run(Unknown Source:2)

        at android.os.Handler.handleCallback(Handler.java:790)

        at android.os.Handler.dispatchMessage(Handler.java:99)


Best Answer

Dear Pankaj,


thank you for contacting us.


Currently, the error message is indicated in the log, you are setting a part which has been closed. Open the part before setting it.


Best regards,


Olivier

1 Comment

Answer

Dear Pankaj,


thank you for contacting us.


Currently, the error message is indicated in the log, you are setting a part which has been closed. Open the part before setting it.


Best regards,


Olivier