Text

Answered

Pointer With Same Pointer Id has a Trace already pending

Good Day

Please I have been able to link the Interactive Ink SDK for batch mode processing and In my use case I am using a service that continuously uses the Engine to Interpret different strokes  from different region of the Paper (I am using a Smart pen in my case)


But I am constantly getting this fatal error below

  

2020-01-21 18:08:42.997 17085-17674/com.myscript.iink.demo E/AndroidRuntime: FATAL EXCEPTION: IntentService[MyService]
    Process: com.myscript.iink.demo, PID: 17085
    java.lang.IllegalStateException: pointer with same pointerId has a trace already pending
        at com.myscript.iink.NativeFunctions.pointerEvents(Native Method)
        at com.myscript.iink.Editor.pointerEvents(Editor.java:481)
        at com.myscript.iink.demo.services.StrokeService.onHandleIntent(StrokeService.java:170)
        at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:76)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:201)
        at android.os.HandlerThread.run(HandlerThread.java:65)

 

 Every and any help will be Appreciated

Thamks


Best Answer

Dear Ok Refe,


thank you for contacting us.


Currently, this error message occurs when a pointerUP event is missing: https://developer-support.myscript.com/support/discussions/topics/16000024603


You shall ensure each stroke is added starts with a pointerDown and end with a pointerUP event.


Best regards,


Olivier


Answer

Dear Ok Refe,


thank you for contacting us.


Currently, this error message occurs when a pointerUP event is missing: https://developer-support.myscript.com/support/discussions/topics/16000024603


You shall ensure each stroke is added starts with a pointerDown and end with a pointerUP event.


Best regards,


Olivier

Thanks Very Much