Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Cannot destructure property 'canvasPoints' of 'this.drawData' as it is undefined. #4129

Closed
sedghi opened this issue May 15, 2024 · 1 comment
Assignees

Comments

@sedghi
Copy link
Member

sedghi commented May 15, 2024

View details in Rollbar: https://app.rollbar.com/a/MGH-PIM/fix/item/OHIFViewer/2709


TypeError: Cannot destructure property 'canvasPoints' of 'this.drawData' as it is undefined.
  File "http://localhost:9311/extensions_cornerstone_src_index_tsx.js", line 19685, in CrescenticSawBladeTool.completeDrawClosedContour
  File "http://localhost:9311/extensions_cornerstone_src_index_tsx.js", line 15441, in CrescenticSawBladeTool.completeDrawClosedContourForDialog
  File "http://localhost:9311/extensions_cornerstone_src_index_tsx.js", line 22851, in onClick
  File "http://localhost:9311/app.js", line 251047, in HTMLUnknownElement.callCallback
  File "http://localhost:9311/app.js", line 251096, in Object.invokeGuardedCallbackDev
  File "http://localhost:9311/app.js", line 251158, in invokeGuardedCallback
  File "http://localhost:9311/app.js", line 251172, in invokeGuardedCallbackAndCatchFirstError
  File "http://localhost:9311/app.js", line 255345, in executeDispatch
  File "http://localhost:9311/app.js", line 255377, in processDispatchQueueItemsInOrder
@IbrahimCSAE
Copy link
Collaborator

IbrahimCSAE commented May 24, 2024

I think this issue is not from OHIF or CS3D, looks like rollbar captures errors from other OHIF deployments as well? CrescenticSawBladeTool is not a tool that we own, and I can't replicate that bug using our PlanarFreehandROITool, which means the issue is with their specific tool not extending that class properly or something smiliar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants