unable to resolve class com.intellij.database.model.DasObjectWithSource

Completed

Hey guys,

we are currently testing DataGrip in our department, so that the toolbox can possibly replace our current tools.
I am currently testing the automatic generation of DDL files so that they can be included in our versioning system.

To do this I have selected the schema I want to use to generate the files, started the SQL Generator and went to the floppy disk on the left side. As layout I chose "File per object". But when I click on save, the following stacktrace appears:

 

File per object.groovy: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script4.groovy: 1: unable to resolve class com.intellij.database.model.DasObjectWithSource
@ line 1, column 1.
import com.intellij.database.model.DasObjectWithSource
^
Script4.groovy: 2: unable to resolve class com.intellij.database.model.DasSchemaChild
@ line 2, column 1.
import com.intellij.database.model.DasSchemaChild
^
2 errors
at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:309)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:981)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:626)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:575)
at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:323)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:293)
at ... (show balloon)

It's a completely fresh installation of DataGrip v2019.3.4 Am I doing something wrong?

 

-Florian

 

3 comments
Comment actions Permalink

We found the root cause of the issue https://youtrack.jetbrains.com/issue/DBE-10396 . Thank you for your report.

1
Comment actions Permalink

This has just started happening for us, too. The feature worked perfectly before DataGrip v2019.3.4.

0

Please sign in to leave a comment.