Closed TeoDema-tech closed 2 years ago
Does the issue come up right after you open the diagram for any .erd
file, or after some form of interaction? If so, could you elaborate more on the steps that lead to this problem?
Yes, the issue presents itself whenever i try to open up an .erd file, even the test one initialized by New Sample ER Model
I have the same issue. To be able to get the plugin to initialize, I need to create a new file and then copy paste the content I saved previously.
There is no issue in the terminal, nor in the Runtime Status of the extension.
Found the issue: when creating a new diagram with the command New Sample ER Model
you HAVE to attach the file extension EG: test.erd
as the save as feature doesn't do this automatically
Quick note on that.
@TeoDema-tech : Thanks for the tip. I had all my files saved as .erd
so that wasn't the issue for me.
Luckily, I discovered that performing ctrl+o
with an erd file selected in the explorer panel directly opened the file WITH the viz.
Performing a general ctrl+o
and selecting the .erd
file via the pop-up file selector doesn't trigger the viz.
Hope that helps other that were copy pasting dozen of times like me. Cheers!
Description
As title, I am unable to visualize any diagrams in the application, nor create new ones, same goes for the relationships
Current Behavior
Not Working
Expected Behavior
No response
Steps to Reproduce
No response
Environment
-Linux(Manjaro, GNOME,latest version) -OpenJDK 18
Additional Information
debug log from extension output:
Error during request: : java.lang.RuntimeException: Cannot create a resource for 'file:///home/matteo/Documenti/test'; a registered resource factory is needed at org.eclipse.xtext.resource.XtextResourceSet.getResource(XtextResourceSet.java:263) at org.eclipse.xtext.ide.server.ProjectManager.getResource(ProjectManager.java:181) at org.eclipse.xtext.ide.server.WorkspaceManager.doRead(WorkspaceManager.java:436) at org.eclipse.xtext.ide.server.LanguageServerImpl$1.lambda$doRead$1(LanguageServerImpl.java:1116) at org.eclipse.xtext.ide.server.concurrent.ReadRequest.lambda$doRun$0(ReadRequest.java:66) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833)