no such constructor: com.plugin.FileEditorManager.<init>()void/newInvokeSpecial Follow
Answered
I tested on a public argumentless constructor and a default constructor. I don't know why I'm getting this error.
Caused by: java.lang.IllegalAccessException: no such constructor: com.plugin.FileEditorManager.<init>()void/newInvokeSpecial
at java.base/java.lang.invoke.MemberName.makeAccessException(MemberName.java:959)
at java.base/java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:1101)
at java.base/java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:2030)
at java.base/java.lang.invoke.MethodHandles$Lookup.findConstructor(MethodHandles.java:1264)
at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClass(ComponentManagerImpl.kt:830)
Please sign in to leave a comment.
What is your code? What do you want to achieve? com.intellij.openapi.fileEditor.FileEditorManager should be accessed via com.intellij.openapi.fileEditor.FileEditorManager#getInstance
I see this error in Rubymine 2021.3, trying to use plugin remotecall.
> https://github.com/zolotov/RemoteCall/issues/14
Stacktrace... (is there a new better way to open files from browsers?)
ah just found this
https://www.develar.org/idea-rest-api/#api-Platform-file