intellij-openshift-connector icon indicating copy to clipboard operation
intellij-openshift-connector copied to clipboard

Error in log while running as development runtime

Open sbouchet opened this issue 3 years ago • 0 comments

[kind/bug]

What versions of software are you using?

  • Operating System: RHEL 8
  • IntelliJ version: 2021.2.3 Ultimate
  • OpenShift version: Any

What did you run exactly?

running from source, I can see in the log the following message :

ERROR: Optional config file with name 'plugin-json.xml' already registered by 'com.redhat.devtools.intellij.kubernetes'. Please rename to ensure that lookup in the classloader by short name returns correct optional config. Current plugin: 'PluginDescriptor(name=OpenShift Connector by Red Hat, id=org.jboss.tools.intellij.openshift, descriptorPath=plugin.xml, path=~/IdeaProjects/intellij-openshift-connector/build/resources/main, version=0.10.0-SNAPSHOT, package=null)'. 
java.lang.Throwable: Optional config file with name 'plugin-json.xml' already registered by 'com.redhat.devtools.intellij.kubernetes'. Please rename to ensure that lookup in the classloader by short name returns correct optional config. Current plugin: 'PluginDescriptor(name=OpenShift Connector by Red Hat, id=org.jboss.tools.intellij.openshift, descriptorPath=plugin.xml, path=~/IdeaProjects/intellij-openshift-connector/build/resources/main, version=0.10.0-SNAPSHOT, package=null)'. 
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:161)
	at com.intellij.ide.plugins.DescriptorListLoadingContext.checkOptionalConfigShortName(DescriptorListLoadingContext.java:180)
	at com.intellij.ide.plugins.XmlReader.readDependencies(XmlReader.java:255)
	at com.intellij.ide.plugins.IdeaPluginDescriptorImpl.readExternal(IdeaPluginDescriptorImpl.java:188)
	at com.intellij.ide.plugins.PluginDescriptorLoader.loadDescriptorFromJar(PluginDescriptorLoader.java:93)
	at com.intellij.ide.plugins.PluginDescriptorLoader.loadDescriptorFromResource(PluginDescriptorLoader.java:277)
	at com.intellij.ide.plugins.PluginDescriptorLoader.lambda$loadDescriptorsFromClassPath$2(PluginDescriptorLoader.java:400)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:216)
	at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:27)
	at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:195)
	at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:187)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
	at java.base/java.lang.Thread.run(Thread.java:829) 

Actual behavior

the plugin.xml file is registered as openshift validation of the devfile json schema

Expected behavior

no errors

Any logs, error output, etc?

sbouchet avatar Nov 18 '21 16:11 sbouchet