Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
I'm trying to navigate from a view to another, I dragged click event of a button to the desired view. When I tested it on Preview page, I got:
libthingview_wasm.js:1
Uncaught BindingError {name: "BindingError", message: "Cannot pass deleted object as a pointer of type Session*", stack: "BindingError: Cannot pass deleted object as a poin…extensions/js/twx-mobile-widgets-3d-ng.js:3971:17"} message: "Cannot pass deleted object as a pointer of type Session*" name: "BindingError" stack: "BindingError: Cannot pass deleted object as a pointer of type Session*↵ at BindingError.<anonymous> (http://localhost:3000/resource/Project%20Alice%20Vuforia/dist/extensions/js/libthingview_wasm.js:1:133001)↵ at new BindingError (eval at createNamedFunction (http://localhost:3000/resource/Project%20Alice%20Vuforia/dist/extensions/js/libthingview_wasm.js:1:131888), <anonymous>:4:34)↵ at throwBindingError (http://localhost:3000/resource/Project%20Alice%20Vuforia/dist/extensions/js/libthingview_wasm.js:1:134582)↵ at RegisteredPointer.nonConstNoSmartPtrRawPointerToWireType [as toWireType] (http://localhost:3000/resource/Project%20Alice%20Vuforia/dist/extensions/js/libthingview_wasm.js:1:150127)↵ at Session$GetRenderStats [as GetRenderStats] (eval at new_ (http://localhost:3000/resource/Project%20Alice%20Vuforia/dist/extensions/js/libthingview_wasm.js:1:158648), <anonymous>:7:28)↵ at http://localhost:3000/resource/Project%20Alice%20Vuforia/dist/extensions/js/twx-mobile-widgets-3d-ng.js:3971:17" __proto__: Error throwBindingError @ libthingview_wasm.js:1 nonConstNoSmartPtrRawPointerToWireType @ libthingview_wasm.js:1 Session$GetRenderStats @ VM9902:7 (anonymous) @ twx-mobile-widgets-3d-ng.js:3971 setInterval (async) addRenderStat @ twx-mobile-widgets-3d-ng.js:3970 cvApiReady @ twx-mobile-widgets-3d-ng.js:167 (anonymous) @ twx-mobile-widgets-3d-ng.js:177 (anonymous) @ thingview.js:18 (anonymous) @ thingview.js:181 _loadPreferences @ thingview.js:299 LoadPreferences @ thingview.js:180 onRuntimeInitialized @ thingview.js:12 doRun @ libthingview_wasm.js:1 run @ libthingview_wasm.js:1 runCaller @ libthingview_wasm.js:1 removeRunDependency @ libthingview_wasm.js:1 receiveInstance @ libthingview_wasm.js:1 receiveInstantiatedSource @ libthingview_wasm.js:1 Promise.then (async) doNativeWasm @ libthingview_wasm.js:1 (anonymous) @ libthingview_wasm.js:1 (anonymous) @ libthingview_wasm.js:1
Kept throwing forever until I close the page.
Any clue about what cause the problem?
Solved! Go to Solution.
Hello,
Just for information, Jira ticket is DT-21042 about this issue.
This article has been created :
https://www.ptc.com/en/support/article?n=CS301350
Best regards,
Samuel
Hello,
I made a similat test as your description in Vuforia Studio 8.4.0.
I am not able to reproduce this issue.
Please find below the Project.
Try to import it in you Vuforia Studio and check it.
Another question, what is the binding created from click event in Button and the second View?
Is it Naviagte, Show Modal or Hide Modal ?
Last question, can you share the Project where you have the issue ?
I would like to test it locally in my workstation.
Best regards,
Samuel
Now I can see the error only thrown when I use 3D widget to navigate to another view.
Answering your question, binding is: Naviagte
Please check the attached project (same as yours, but added a 3D play button to navigate). Same Uncaught BindingError is thrown.
Hello,
Thanks you for your feedback.
Now, I able to reproduce the issue in my Project.
From my point of view, it is a bug.
So, I am reporting it to R&D.
Best regards,
Samuel
Hello,
Just for information, Jira ticket is DT-21042 about this issue.
This article has been created :
https://www.ptc.com/en/support/article?n=CS301350
Best regards,
Samuel