After updating Intellij, the IC2 pluging has stopped working

164 views
Skip to first unread message

Aureo Serrano

unread,
Apr 7, 2021, 1:40:57 PM4/7/21
to Illuminated Cloud Q&A
Hi, I have updated today Intellij Ultimate to the last version:

IntelliJ IDEA 2021.1 (Ultimate Edition)
Build #IU-211.6693.111, built on April 6, 2021
Runtime version: 11.0.10+9-b1341.35 amd64
Non-Bundled Plugins: org.jetbrains.kotlin (211-1.4.32-release-IJ6693.72), Pythonid (211.6693.115), com.illuminatedcloud2.intellij (2.1.6.9)
Kotlin: 211-1.4.32-release-IJ6693.72

And I have notice that the IC2 don't works executing any operation that requires a conection to a salesforce org (Metadata Deployment, Metadata Retrieval, Execute SQL, Execute Anonimous Apex, etc)

I have enabled the debug logging for the Metadata Retrieval features: 

#com.illuminatedcloud.intellij.builder.RefreshAction
#com.illuminatedcloud.intellij.builder.RetrieveAction
#com.illuminatedcloud.intellij.builder.ForceComBuilder
#com.illuminatedcloud.intellij.builder.ForceComBuilderUtil
#com.illuminatedcloud.intellij.builder.ForceComMetadataRetriever
#com.illuminatedcloud.intellij.builder.ForceComSfdxMetadataRetriever
#com.illuminatedcloud.intellij.builder.ForceComSfdxRetriever
#com.illuminatedcloud.intellij.builder.ForceComSfdxMetadataUtil
#com.illuminatedcloud.intellij.util.IlluminatedCloudDiffUtil
#com.illuminatedcloud.util.VariableLengthPollingInterval

I have obtained this log when I try to execute the "Retrieve Metadata" option from the menu:

2021-04-07 19:21:32,016 [ 340703]  DEBUG - tellij.builder.ForceComBuilder - Initializing the Salesforce API client for connection DG Dev 
2021-04-07 19:21:32,017 [ 340704]  ERROR - intellij.openapi.progress.Task - loader constraint violation for class org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller: when selecting overriding method 'java.lang.String org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller.addMtomAttachment(javax.activation.DataHandler, java.lang.String, java.lang.String)' the class loader com.intellij.ide.plugins.cl.PluginClassLoader @3214989f of the selected method's type org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller, and the class loader com.intellij.util.lang.PathClassLoader @34b7bfc0 for its super type javax.xml.bind.attachment.AttachmentMarshaller have different Class objects for the type javax.activation.DataHandler used in the signature (org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @3214989f, parent loader 'bootstrap'; javax.xml.bind.attachment.AttachmentMarshaller is in unnamed module of loader com.intellij.util.lang.PathClassLoader @34b7bfc0, parent loader 'platform') 
java.lang.LinkageError: loader constraint violation for class org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller: when selecting overriding method 'java.lang.String org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller.addMtomAttachment(javax.activation.DataHandler, java.lang.String, java.lang.String)' the class loader com.intellij.ide.plugins.cl.PluginClassLoader @3214989f of the selected method's type org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller, and the class loader com.intellij.util.lang.PathClassLoader @34b7bfc0 for its super type javax.xml.bind.attachment.AttachmentMarshaller have different Class objects for the type javax.activation.DataHandler used in the signature (org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @3214989f, parent loader 'bootstrap'; javax.xml.bind.attachment.AttachmentMarshaller is in unnamed module of loader com.intellij.util.lang.PathClassLoader @34b7bfc0, parent loader 'platform')
at org.apache.cxf.jaxb.JAXBDataBase.getAttachmentMarshaller(JAXBDataBase.java:92)
at org.apache.cxf.jaxb.io.DataWriterImpl.createMarshaller(DataWriterImpl.java:174)
at org.apache.cxf.jaxb.io.DataWriterImpl.write(DataWriterImpl.java:239)
at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:118)
at org.apache.cxf.wsdl.interceptors.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:531)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:440)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:355)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:140)
at com.sun.proxy.$Proxy200.login(Unknown Source)
at com.illuminatedcloud.client.ForceComApiClient.doLoginWithCredentials(SourceFile:829)
at com.illuminatedcloud.client.ForceComApiClient.loginWithCredentials(SourceFile:720)
at com.illuminatedcloud.client.ForceComApiClient.lambda$login$4(SourceFile:697)
at com.illuminatedcloud.client.ForceComApiClient.runWithClientClassLoader(SourceFile:681)
at com.illuminatedcloud.client.ForceComApiClient.login(SourceFile:694)
at com.illuminatedcloud.intellij.builder.ForceComBuilder.getClient(SourceFile:1016)
at com.illuminatedcloud.intellij.builder.BuildOptionsDialog$2.run(SourceFile:974)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:998)
at com.intellij.openapi.progress.impl.CoreProgressManager$4.run(CoreProgressManager.java:545)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$new$0(ProgressRunner.java:78)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:228)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:178)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:688)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:634)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:64)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:165)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:228)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
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:834)
2021-04-07 19:21:32,018 [ 340705]  ERROR - intellij.openapi.progress.Task - IntelliJ IDEA 2021.1  Build #IU-211.6693.111 
2021-04-07 19:21:32,018 [ 340705]  ERROR - intellij.openapi.progress.Task - JDK: 11.0.10; VM: Dynamic Code Evolution 64-Bit Server VM; Vendor: JetBrains s.r.o. 
2021-04-07 19:21:32,018 [ 340705]  ERROR - intellij.openapi.progress.Task - OS: Windows 10 
2021-04-07 19:21:32,018 [ 340705]  ERROR - intellij.openapi.progress.Task - Plugin to blame: Illuminated Cloud 2 version: 2.1.6.9 
2021-04-07 19:21:32,018 [ 340705]  ERROR - intellij.openapi.progress.Task - Last Action: IlluminatedCloud.Retrieve 
2021-04-07 19:21:36,793 [ 345480]  DEBUG - tellij.builder.ForceComBuilder - Initializing the Salesforce API client for connection DG Dev 
2021-04-07 19:21:36,794 [ 345481]  ERROR - intellij.openapi.progress.Task - loader constraint violation for class org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller: when selecting overriding method 'java.lang.String org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller.addMtomAttachment(javax.activation.DataHandler, java.lang.String, java.lang.String)' the class loader com.intellij.ide.plugins.cl.PluginClassLoader @3214989f of the selected method's type org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller, and the class loader com.intellij.util.lang.PathClassLoader @34b7bfc0 for its super type javax.xml.bind.attachment.AttachmentMarshaller have different Class objects for the type javax.activation.DataHandler used in the signature (org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @3214989f, parent loader 'bootstrap'; javax.xml.bind.attachment.AttachmentMarshaller is in unnamed module of loader com.intellij.util.lang.PathClassLoader @34b7bfc0, parent loader 'platform') 
java.lang.LinkageError: loader constraint violation for class org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller: when selecting overriding method 'java.lang.String org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller.addMtomAttachment(javax.activation.DataHandler, java.lang.String, java.lang.String)' the class loader com.intellij.ide.plugins.cl.PluginClassLoader @3214989f of the selected method's type org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller, and the class loader com.intellij.util.lang.PathClassLoader @34b7bfc0 for its super type javax.xml.bind.attachment.AttachmentMarshaller have different Class objects for the type javax.activation.DataHandler used in the signature (org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @3214989f, parent loader 'bootstrap'; javax.xml.bind.attachment.AttachmentMarshaller is in unnamed module of loader com.intellij.util.lang.PathClassLoader @34b7bfc0, parent loader 'platform')
at org.apache.cxf.jaxb.JAXBDataBase.getAttachmentMarshaller(JAXBDataBase.java:92)
at org.apache.cxf.jaxb.io.DataWriterImpl.createMarshaller(DataWriterImpl.java:174)
at org.apache.cxf.jaxb.io.DataWriterImpl.write(DataWriterImpl.java:239)
at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:118)
at org.apache.cxf.wsdl.interceptors.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:531)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:440)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:355)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:140)
at com.sun.proxy.$Proxy200.login(Unknown Source)
at com.illuminatedcloud.client.ForceComApiClient.doLoginWithCredentials(SourceFile:829)
at com.illuminatedcloud.client.ForceComApiClient.loginWithCredentials(SourceFile:720)
at com.illuminatedcloud.client.ForceComApiClient.lambda$login$4(SourceFile:697)
at com.illuminatedcloud.client.ForceComApiClient.runWithClientClassLoader(SourceFile:681)
at com.illuminatedcloud.client.ForceComApiClient.login(SourceFile:694)
at com.illuminatedcloud.intellij.builder.ForceComBuilder.getClient(SourceFile:1016)
at com.illuminatedcloud.intellij.builder.BuildOptionsDialog$2.run(SourceFile:974)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:998)
at com.intellij.openapi.progress.impl.CoreProgressManager$4.run(CoreProgressManager.java:545)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$new$0(ProgressRunner.java:78)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:228)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:178)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:688)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:634)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:64)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:165)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:228)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
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:834)
2021-04-07 19:21:36,795 [ 345482]  ERROR - intellij.openapi.progress.Task - IntelliJ IDEA 2021.1  Build #IU-211.6693.111 
2021-04-07 19:21:36,795 [ 345482]  ERROR - intellij.openapi.progress.Task - JDK: 11.0.10; VM: Dynamic Code Evolution 64-Bit Server VM; Vendor: JetBrains s.r.o. 
2021-04-07 19:21:36,795 [ 345482]  ERROR - intellij.openapi.progress.Task - OS: Windows 10 
2021-04-07 19:21:36,795 [ 345482]  ERROR - intellij.openapi.progress.Task - Plugin to blame: Illuminated Cloud 2 version: 2.1.6.9 
2021-04-07 19:24:29,608 [ 518295]   WARN - com.intellij.util.xmlb.Binding - no accessors for com.intellij.openapi.updateSettings.impl.pluginsAdvertisement.PluginAdvertiserExtensionsStateService$State 
2021-04-07 19:24:29,711 [ 518398]   INFO - rationStore.ComponentStoreImpl - Saving Project(name=DG Dev, containerState=COMPONENT_CREATED, componentStore=C:\Users\aeral\IdeaProjects\DG Dev)RunManager took 14 ms, XDebuggerManager took 19 ms 
2021-04-07 19:32:23,864 [ 992551]   INFO - rationStore.ComponentStoreImpl - Saving Project(name=DG Dev, containerState=COMPONENT_CREATED, componentStore=C:\Users\aeral\IdeaProjects\DG Dev)RunManager took 14 ms 
2021-04-07 19:34:58,263 [1146950]  DEBUG - tellij.builder.ForceComBuilder - Initializing the Salesforce API client for connection DG Dev 
2021-04-07 19:34:58,265 [1146952]  ERROR - intellij.openapi.progress.Task - loader constraint violation for class org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller: when selecting overriding method 'java.lang.String org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller.addMtomAttachment(javax.activation.DataHandler, java.lang.String, java.lang.String)' the class loader com.intellij.ide.plugins.cl.PluginClassLoader @3214989f of the selected method's type org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller, and the class loader com.intellij.util.lang.PathClassLoader @34b7bfc0 for its super type javax.xml.bind.attachment.AttachmentMarshaller have different Class objects for the type javax.activation.DataHandler used in the signature (org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @3214989f, parent loader 'bootstrap'; javax.xml.bind.attachment.AttachmentMarshaller is in unnamed module of loader com.intellij.util.lang.PathClassLoader @34b7bfc0, parent loader 'platform') 
java.lang.LinkageError: loader constraint violation for class org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller: when selecting overriding method 'java.lang.String org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller.addMtomAttachment(javax.activation.DataHandler, java.lang.String, java.lang.String)' the class loader com.intellij.ide.plugins.cl.PluginClassLoader @3214989f of the selected method's type org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller, and the class loader com.intellij.util.lang.PathClassLoader @34b7bfc0 for its super type javax.xml.bind.attachment.AttachmentMarshaller have different Class objects for the type javax.activation.DataHandler used in the signature (org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @3214989f, parent loader 'bootstrap'; javax.xml.bind.attachment.AttachmentMarshaller is in unnamed module of loader com.intellij.util.lang.PathClassLoader @34b7bfc0, parent loader 'platform')
at org.apache.cxf.jaxb.JAXBDataBase.getAttachmentMarshaller(JAXBDataBase.java:92)
at org.apache.cxf.jaxb.io.DataWriterImpl.createMarshaller(DataWriterImpl.java:174)
at org.apache.cxf.jaxb.io.DataWriterImpl.write(DataWriterImpl.java:239)
at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:118)
at org.apache.cxf.wsdl.interceptors.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:531)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:440)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:355)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:140)
at com.sun.proxy.$Proxy200.login(Unknown Source)
at com.illuminatedcloud.client.ForceComApiClient.doLoginWithCredentials(SourceFile:829)
at com.illuminatedcloud.client.ForceComApiClient.loginWithCredentials(SourceFile:720)
at com.illuminatedcloud.client.ForceComApiClient.lambda$login$4(SourceFile:697)
at com.illuminatedcloud.client.ForceComApiClient.runWithClientClassLoader(SourceFile:681)
at com.illuminatedcloud.client.ForceComApiClient.login(SourceFile:694)
at com.illuminatedcloud.intellij.builder.ForceComBuilder.getClient(SourceFile:1016)
at com.illuminatedcloud.intellij.builder.BuildOptionsDialog$2.run(SourceFile:974)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:998)
at com.intellij.openapi.progress.impl.CoreProgressManager$4.run(CoreProgressManager.java:545)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$new$0(ProgressRunner.java:78)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:228)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:178)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:688)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:634)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:64)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:165)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:228)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
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:834)
2021-04-07 19:34:58,265 [1146952]  ERROR - intellij.openapi.progress.Task - IntelliJ IDEA 2021.1  Build #IU-211.6693.111 
2021-04-07 19:34:58,265 [1146952]  ERROR - intellij.openapi.progress.Task - JDK: 11.0.10; VM: Dynamic Code Evolution 64-Bit Server VM; Vendor: JetBrains s.r.o. 
2021-04-07 19:34:58,265 [1146952]  ERROR - intellij.openapi.progress.Task - OS: Windows 10 
2021-04-07 19:34:58,266 [1146953]  ERROR - intellij.openapi.progress.Task - Plugin to blame: Illuminated Cloud 2 version: 2.1.6.9 
2021-04-07 19:34:58,266 [1146953]  ERROR - intellij.openapi.progress.Task - Last Action: IlluminatedCloud.Retrieve 
2021-04-07 19:37:45,204 [1313891]   INFO - j.ide.actions.RevealFileAction - Exit code 1 
2021-04-07 19:38:02,466 [1331153]  DEBUG - tellij.builder.ForceComBuilder - Initializing the Salesforce API client for connection DG Dev 
2021-04-07 19:38:02,467 [1331154]  ERROR - intellij.openapi.progress.Task - loader constraint violation for class org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller: when selecting overriding method 'java.lang.String org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller.addMtomAttachment(javax.activation.DataHandler, java.lang.String, java.lang.String)' the class loader com.intellij.ide.plugins.cl.PluginClassLoader @3214989f of the selected method's type org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller, and the class loader com.intellij.util.lang.PathClassLoader @34b7bfc0 for its super type javax.xml.bind.attachment.AttachmentMarshaller have different Class objects for the type javax.activation.DataHandler used in the signature (org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @3214989f, parent loader 'bootstrap'; javax.xml.bind.attachment.AttachmentMarshaller is in unnamed module of loader com.intellij.util.lang.PathClassLoader @34b7bfc0, parent loader 'platform') 
java.lang.LinkageError: loader constraint violation for class org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller: when selecting overriding method 'java.lang.String org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller.addMtomAttachment(javax.activation.DataHandler, java.lang.String, java.lang.String)' the class loader com.intellij.ide.plugins.cl.PluginClassLoader @3214989f of the selected method's type org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller, and the class loader com.intellij.util.lang.PathClassLoader @34b7bfc0 for its super type javax.xml.bind.attachment.AttachmentMarshaller have different Class objects for the type javax.activation.DataHandler used in the signature (org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @3214989f, parent loader 'bootstrap'; javax.xml.bind.attachment.AttachmentMarshaller is in unnamed module of loader com.intellij.util.lang.PathClassLoader @34b7bfc0, parent loader 'platform')
at org.apache.cxf.jaxb.JAXBDataBase.getAttachmentMarshaller(JAXBDataBase.java:92)
at org.apache.cxf.jaxb.io.DataWriterImpl.createMarshaller(DataWriterImpl.java:174)
at org.apache.cxf.jaxb.io.DataWriterImpl.write(DataWriterImpl.java:239)
at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:118)
at org.apache.cxf.wsdl.interceptors.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:531)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:440)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:355)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:140)
at com.sun.proxy.$Proxy200.login(Unknown Source)
at com.illuminatedcloud.client.ForceComApiClient.doLoginWithCredentials(SourceFile:829)
at com.illuminatedcloud.client.ForceComApiClient.loginWithCredentials(SourceFile:720)
at com.illuminatedcloud.client.ForceComApiClient.lambda$login$4(SourceFile:697)
at com.illuminatedcloud.client.ForceComApiClient.runWithClientClassLoader(SourceFile:681)
at com.illuminatedcloud.client.ForceComApiClient.login(SourceFile:694)
at com.illuminatedcloud.intellij.builder.ForceComBuilder.getClient(SourceFile:1016)
at com.illuminatedcloud.intellij.builder.BuildOptionsDialog$2.run(SourceFile:974)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:998)
at com.intellij.openapi.progress.impl.CoreProgressManager$4.run(CoreProgressManager.java:545)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$new$0(ProgressRunner.java:78)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:228)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:178)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:688)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:634)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:64)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:165)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:228)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
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:834)
2021-04-07 19:38:02,468 [1331155]  ERROR - intellij.openapi.progress.Task - IntelliJ IDEA 2021.1  Build #IU-211.6693.111 
2021-04-07 19:38:02,468 [1331155]  ERROR - intellij.openapi.progress.Task - JDK: 11.0.10; VM: Dynamic Code Evolution 64-Bit Server VM; Vendor: JetBrains s.r.o. 
2021-04-07 19:38:02,468 [1331155]  ERROR - intellij.openapi.progress.Task - OS: Windows 10 
2021-04-07 19:38:02,468 [1331155]  ERROR - intellij.openapi.progress.Task - Plugin to blame: Illuminated Cloud 2 version: 2.1.6.9 
2021-04-07 19:38:02,468 [1331155]  ERROR - intellij.openapi.progress.Task - Last Action: IlluminatedCloud.Retrieve 
2021-04-07 19:38:04,629 [1333316]  DEBUG - tellij.builder.ForceComBuilder - Initializing the Salesforce API client for connection DG Dev 
2021-04-07 19:38:04,631 [1333318]  ERROR - intellij.openapi.progress.Task - loader constraint violation for class org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller: when selecting overriding method 'java.lang.String org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller.addMtomAttachment(javax.activation.DataHandler, java.lang.String, java.lang.String)' the class loader com.intellij.ide.plugins.cl.PluginClassLoader @3214989f of the selected method's type org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller, and the class loader com.intellij.util.lang.PathClassLoader @34b7bfc0 for its super type javax.xml.bind.attachment.AttachmentMarshaller have different Class objects for the type javax.activation.DataHandler used in the signature (org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @3214989f, parent loader 'bootstrap'; javax.xml.bind.attachment.AttachmentMarshaller is in unnamed module of loader com.intellij.util.lang.PathClassLoader @34b7bfc0, parent loader 'platform') 
java.lang.LinkageError: loader constraint violation for class org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller: when selecting overriding method 'java.lang.String org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller.addMtomAttachment(javax.activation.DataHandler, java.lang.String, java.lang.String)' the class loader com.intellij.ide.plugins.cl.PluginClassLoader @3214989f of the selected method's type org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller, and the class loader com.intellij.util.lang.PathClassLoader @34b7bfc0 for its super type javax.xml.bind.attachment.AttachmentMarshaller have different Class objects for the type javax.activation.DataHandler used in the signature (org.apache.cxf.jaxb.attachment.JAXBAttachmentMarshaller is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @3214989f, parent loader 'bootstrap'; javax.xml.bind.attachment.AttachmentMarshaller is in unnamed module of loader com.intellij.util.lang.PathClassLoader @34b7bfc0, parent loader 'platform')
at org.apache.cxf.jaxb.JAXBDataBase.getAttachmentMarshaller(JAXBDataBase.java:92)
at org.apache.cxf.jaxb.io.DataWriterImpl.createMarshaller(DataWriterImpl.java:174)
at org.apache.cxf.jaxb.io.DataWriterImpl.write(DataWriterImpl.java:239)
at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:118)
at org.apache.cxf.wsdl.interceptors.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:531)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:440)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:355)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:140)
at com.sun.proxy.$Proxy200.login(Unknown Source)
at com.illuminatedcloud.client.ForceComApiClient.doLoginWithCredentials(SourceFile:829)
at com.illuminatedcloud.client.ForceComApiClient.loginWithCredentials(SourceFile:720)
at com.illuminatedcloud.client.ForceComApiClient.lambda$login$4(SourceFile:697)
at com.illuminatedcloud.client.ForceComApiClient.runWithClientClassLoader(SourceFile:681)
at com.illuminatedcloud.client.ForceComApiClient.login(SourceFile:694)
at com.illuminatedcloud.intellij.builder.ForceComBuilder.getClient(SourceFile:1016)
at com.illuminatedcloud.intellij.builder.BuildOptionsDialog$2.run(SourceFile:974)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:998)
at com.intellij.openapi.progress.impl.CoreProgressManager$4.run(CoreProgressManager.java:545)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$new$0(ProgressRunner.java:78)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:228)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:178)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:688)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:634)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:64)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:165)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:228)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
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:834)
2021-04-07 19:38:04,631 [1333318]  ERROR - intellij.openapi.progress.Task - IntelliJ IDEA 2021.1  Build #IU-211.6693.111 
2021-04-07 19:38:04,632 [1333319]  ERROR - intellij.openapi.progress.Task - JDK: 11.0.10; VM: Dynamic Code Evolution 64-Bit Server VM; Vendor: JetBrains s.r.o. 
2021-04-07 19:38:04,632 [1333319]  ERROR - intellij.openapi.progress.Task - OS: Windows 10 
2021-04-07 19:38:04,632 [1333319]  ERROR - intellij.openapi.progress.Task - Plugin to blame: Illuminated Cloud 2 version: 2.1.6.9 

I will appreciate any help on this. Thanks in advance

Scott

unread,
Apr 7, 2021, 1:46:06 PM4/7/21
to Illuminated Cloud Q&A, Aureo Serrano
Another user had this happen earlier, and it seems to be an issue with cruft accrued over time after updating the IDE in-place repeatedly. Here's what that user did that resolved the issue:

I deleted all my settings and old IDEA cruft.
That seems to have done it.
This instance of idea had been updated repeatedly since 2019 it seems
So it was probably time for a clean up
But yeah I can generate the OST now/sigh that wasn’t fun but at least it’s resolve. Thanks for the quick response as always.

I've not been able to reproduce this. I'll ask that user to provide more detailed info about what was removed that resolved the issue. I'm also chatting with JetBrains about this to see if they have any idea what might be happening and whether there's a better way to resolve it given that it seems to be an issue with repeated updates of the base IDE over time.

Regards,
Scott Wells

Scott

unread,
Apr 7, 2021, 1:56:14 PM4/7/21
to Illuminated Cloud Q&A, Scott, Aureo Serrano
I've also logged an issue in the public issue tracker for this to help folks encountering the issue find more information on it as it becomes available:


Regards,
Scott Wells

Patrick Visniewski

unread,
Apr 7, 2021, 2:21:58 PM4/7/21
to Illuminated Cloud Q&A, Scott, Aureo Serrano
I had this and it is an Intellij "in place upgrade" issue :(

I had to delete pretty much all my old stuff from my PC.... not sure if you have to do all this but...

I uninstalled all instances of IDEA

I deleted all the IDEA instances from “Program Files”

I deleted all the IDEA stuff from %USERPROFILE%/AppData/Local/Jetbrains

I deleted all the IDEA stuff from %USERPROFILE%/AppData/Remote/Jetbrains

I deleted the really old .Intellij directories I found in %USERPROFILE%

 

I think that covers… it’s pretty drastic and they might be able to get away with less hopefully

Or at least they should try backing up their settings first and importing them later rather than using any it happens to find.

 

Scott

unread,
Apr 7, 2021, 2:25:06 PM4/7/21
to Illuminated Cloud Q&A, Scott, Aureo Serrano
Here's what the user said he removed that resolved the issue:

Lol everything…

I uninstalled all instances of IDEA
I deleted all the IDEA instances from “Program Files”
I deleted all the IDEA stuff from %USERPROFILE%/AppData/Local/Jetbrains
I deleted all the IDEA stuff from %USERPROFILE%/AppData/Remote/Jetbrains

I deleted the really old .Intellij directory I found in %USERPROFILE%

I think that covers… it’s pretty drastic and they might be able to get away with less hopefully
Or at least they should try backing up their settings first and importing them later rather than using any it happens to find.

I'm hoping that's not what's needed. My guess is that there's something out there with an older version of jaxb*.jar or similar that's causing this classloader conflict. I'm happy to work with someone encountering this issue to try to isolate the minimal subset of files that need to be removed to resolve this issue. Just let me know if you're game for that.

Regards,
Scott Wells

On Wednesday, April 7, 2021 at 12:56:14 PM UTC-5 Scott wrote:

Scott

unread,
Apr 7, 2021, 4:29:09 PM4/7/21
to Illuminated Cloud Q&A, Scott, Aureo Serrano
This is all posted to the linked issue, but I figured I'd circle back around here and make sure that the information is readily available:

WORKAROUND: It appears that this occurs when both Illuminated Cloud 2 and the JetBrains Python plugin are installed on Mac or Linux (doesn't seem to happen on Windows). If you encounter this issue and don't need Python, please disable or uninstall it in Settings / Preferences > Plugins. If you do need Python, please roll back to 2020.3 until a different solution is found. If you see this without the Python plugin installed, please let me know which other plugins are installed so we can see if this happens with plugins other than Python.

Issue logged with JetBrains:

https://youtrack.jetbrains.com/issue/IDEA-266117

I'll be curious to know whether the problem also occurs when the Python plugin is not installed/enabled and/or on Windows since I've only been able to reproduce it with Python installed/enabled alongside IC2 and on Mac/Linux.

Regards,
Scott Wells

Scott

unread,
Apr 8, 2021, 10:27:43 AM4/8/21
to Illuminated Cloud Q&A, Scott, Aureo Serrano
Minor but important update to the last response about which plugins cause this conflict. It turns out that it happens when BOTH the Python and Docker plugins are installed/enabled alongside the IC2 plugin in 2021.1, and I've now successfully reproduced it on all supported host OSes (Windows, Mac, and Linux). So if you don't need those plugins, just disable/uninstall them; if you only need one or the other, again, just disable/uninstall the other; if you do need both, please roll back to 2020.3 until JetBrains can provide a proper fix for this classloader isolation issue in 2021.*.

Regards,
Scott Wells
Reply all
Reply to author
Forward
0 new messages