postMessage: Cannot read properties of null (reading 'postMessage') #6082
Unanswered
Sinkler521
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. Have a problem in both my ketcher instances (defferent output data types, different components) trying to create a molecule. Initializing, going well, seems like, I create ketcher instance, add event listener using ketcherInstance.editor.subscribe and try to draw. This error appears in a console and no state changing in parent component because function updateMolecule crashes:
Cannot read properties of null (reading 'postMessage').
Full one:
_VM54076 KetcherEditor.tsx:71 Error updating molecule: Error: Convert error!
Cannot read properties of null (reading 'postMessage')
at ServerFormatter._callee$ (index.modern.js:20322:21)
at tryCatch (regeneratorRuntime.js:45:16)
at Generator.eval (regeneratorRuntime.js:133:17)
at Generator.eval [as throw] (regeneratorRuntime.js:74:21)
at asyncGeneratorStep (asyncToGenerator.js:7:24)
at throw (asyncToGenerator.js:29:9)
Here is my ketcher component example:
Please let me know if you faced similar cases and know the solution
Beta Was this translation helpful? Give feedback.
All reactions