DataGrip Is Not Loading Saved UML Database Diagrams
I created multiple database diagrams in DataGrip. I saved the database diagrams as individual UML files. DataGrip sees the files in it's explorer window. When I open a UML file in DataGrip, nothing shows up. When I right-click the diagram and choose Analyze Graph → Show Graph Common Characteristics, it's showing zero nodes. When I open the UML files inside a text editor, the entire file is populated with XML and I can see that the tables are there.
Why isn't DataGrip displaying my saved UML database diagrams? What can I do to get these working again?
Please sign in to leave a comment.
Hi,
What version of DataGrip do you use?
Have you tried zooming in/out when opening the .uml file? Or pressing any other control buttons to see if the contents would get updated?
Have you tried generating a diagram for a different data source?
Does the problem persist if you disable all of the downloaded plugins and restart the IDE? Preferences | Plugins | ⚙ | Disable all downloaded plugins
If it does, please provide:
What version of DataGrip do you use?
Version 24.1
Have you tried zooming in/out when opening the .uml file? Or pressing any other control buttons to see if the contents would get updated?
Yes. This does not affect the diagram.
Have you tried generating a diagram for a different data source?
Yes, but that does not address the issue. I need to be able to reopen diagrams that have been saved and edit them. Otherwise, I'm starting from the beginning and that is too time consuming and defeats the purpose of saving files in the first place.
Does the problem persist if you disable all of the downloaded plugins and restart the IDE?
Yes
If it does, please provide:
1. A screenshot of the entire IDE window with the .uml file opened
2. The XML contents of the exported diagram
Please note that sensitive data has been replaced with generic data, but the file structure and other contents remain unchanged.
3. DataGrip log file
I uploaded this file to the link provided.
Hi Samus,
When you open the uml file, do you see it listed in your project directory in the Files view? Also, do you open this file in the same project? For testing purposes, please open the diagram click on Fit Content in the toolbar, and save the diagram in uml. See if you can open it
I did a test with a basic schema having pk-fk relations in 2024.1.1 - it worked for me. You have also not provided the upload id required to find your uploaded data. Therefore, please upload the logs and provide the upload id you should get after the upload is finished.
Upload id: 2024_04_25_DVZ7kbVBPTDziHDJDe4p13 (file: idea.log)
I have reported your issue here:
https://youtrack.jetbrains.com/issue/DBE-20622
In the meantime, please upgrade your IDE to 2024.1.2 and see if it improves the situation.
The situation remains the same after upgrading to 2024.1.2; none of the UML files load properly.
This has been noted. Please follow the issue above to stay updated on the progress.