ide plugin err No signature of method static com.jetbrains.rider.services.RiderDefaultBackend$Companion.getInstance() is applicable for argument types (com.intellij.openapi.project.impl.ProjectImpl) values
ide plugin err No signature of method static com.jetbrains.rider.services.RiderDefaultBackend$Companion.getInstance() is applicable for argument types (com.intellij.openapi.project.impl.ProjectImpl) values
Subscribe all articles: https://www.patreon.com/posts/32087442
Buy single article: https://gum.co/WSzwn
See all my articles, codes, apps in https://techprpr.com
Abstract:
reason and solution: groovy err output is not good, following err is not arg type wrong, the real reason is I invoke static method "getinstance", but the getinstance
is instance method
err code:
def backend = RiderDefaultBackend.Companion.getInstance(pj)
right code:
new RiderDefaultBackend.Companion().getInstance(pj)
2019-06-28 10:51:37,157 | ERROR | PluginManager | No signature of method: static com.jetbrains.rider.services.RiderDefaultBackend$Companion.getInstance() is applicable for argument types: (com.intellij.openapi.project.impl.ProjectImpl) values: [Project '/home/roroco/Dropbox/cs/Ro.File.Explorer' Ro.File.Explorer]
Possible solutions: getInstance(com.intellij.openapi.project.Project)
groovy.lang.MissingMethodException: No signature of method: static com.jetbrains.rider.services.RiderDefaultBackend$Companion.getInstance() is applicable for argument types: (com.intellij.openapi.project.impl.ProjectImpl) values: [Project '/home/roroco/Dropbox/cs/Ro.File.Explorer' Ro.File.Explorer]
Possible solutions: getInstance(com.intellij.openapi.project.Project)
at groovy.lang.MetaClassImpl.invokeStaticMissingMethod(MetaClassImpl.java:1501)
at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1487)
at org.codehaus.groovy.runtime.callsite.StaticMetaClassSite.call(StaticMetaClassSite.java:53)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:
...(see full article in relative links)