Saving a diagram: java.lang.UnsupportedOperationException ?
Hello,
I am getting his message while trying to save a diagram:
java.lang.UnsupportedOperationException:
contentsToByteArray is not implemented in : class com.intellij.uml.UmlVirtualFileSystem$UmlVirtualFile
Anyone else have this problem?
Sylvain
Please sign in to leave a comment.
I have the same problem. I have not found a solution.
Can you please upload the log bundle from Help - Collect Logs and Diagnostic Data to:
uploads.jetbrains.com
Provide the upload id when done.
We also need to know if this is a single-case scenario for a specific diagram or does this happen for all diagrams when attempting to save.
Please let us know.
Hello!
I performed a few tests with SQL tables/schema diagrams and exported them into different format types, including export to files and export to images, but I could not reproduce this error message on a MSSQL Server. Please update to 2022.3.3 and let us know if this issue is still there.
If the DataGrip update won't fix this issue, please give us more context about your current scenario: which option and format are being used for diagram export.
Hello,
I updated to the latest version and still getting the error message.
I am connected to a Sql Server 2016.
I am getting the error message when I try to save the diagram "Labels":
I am also getting the error message with a PostGreSql database.
Thank you!
Sylvain
Hi Sylvian,
Can you please explain the exact sequence of steps you take until this error pops-up? I may assume you're trying to copy the system-reserved file from the Files section(right-hand side). Not sure if this is so, so please correct if I am wrong. But if you would like to save the results of a diagram, you could either use Export to File or Export to Image options
Hello Aleksandr,
I wanted to save the diagram so that I can reopen it later in the same UI.
Here are the steps I did:
Thank you!
Sylvain
Thank you so much for clarifying this.
This is a bug, and we have it reported here:
https://youtrack.jetbrains.com/issue/DBE-16238/Error-saving-diagram
For now, please use the export option to save the diagrams. For further status updates on this issue, please follow the ticket above.
Great, thank you!
Sylvain