Error running admin process: Error on IntelliJ Ultimate 19.1 - Jboss EAP 7.1

Answered

I am getting below error, when trying to deploy the artifact.ear on jboss eap7.1

 

Error running admin process:
Message: java.lang.NoSuchMethodError: org.jboss.as.controller.client.ModelControllerClient$Factory.create(Ljava/lang/String;ILjavax/security/auth/callback/CallbackHandler;Ljavax/net/ssl/SSLContext;I)Lorg/jboss/as/controller/client/ModelControllerClient; Stack trace: com.intellij.javaee.process.common.JavaeeProcessUtilException: java.lang.NoSuchMethodError: org.jboss.as.controller.client.ModelControllerClient$Factory.create(Ljava/lang/String;ILjavax/security/auth/callback/CallbackHandler;Ljavax/net/ssl/SSLContext;I)Lorg/jboss/as/controller/client/ModelControllerClient; at com.intellij.javaee.process.common.MethodInvocator.invoke(MethodInvocator.java:47) at com.intellij.javaee.oss.process.JavaeeProcess.processRequest(JavaeeProcess.java:112) at com.intellij.javaee.oss.process.JavaeeProcess.run(JavaeeProcess.java:52) at com.intellij.javaee.oss.process.JavaeeProcess.main(JavaeeProcess.java:31) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.rt.execution.CommandLineWrapper.main(CommandLineWrapper.java:66) Caused by: java.lang.NoSuchMethodError: org.jboss.as.controller.client.ModelControllerClient$Factory.create(Ljava/lang/String;ILjavax/security/auth/callback/CallbackHandler;Ljavax/net/ssl/SSLContext;I)Lorg/jboss/as/controller/client/ModelControllerClient; at com.intellij.javaee.oss.jboss.agent.JBoss7Agent.doConnect(JBoss7Agent.java:61) at com.intellij.javaee.oss.agent.SimpleAgentBase$1.doJob(SimpleAgentBase.java:24) at com.intellij.javaee.oss.agent.SimpleAgentBase$1.doJob(SimpleAgentBase.java:20) at com.intellij.javaee.oss.agent.SimpleAgentJob.perform(SimpleAgentJob.java:12) at com.intellij.javaee.oss.agent.SimpleAgentBase.connect(SimpleAgentBase.java:33) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.javaee.process.common.MethodInvocator.invoke(MethodInvocator.java:41) ... 8 more 2019-05-13 10:22:21,802 INFO [org.jboss.as.jacorb] (MSC service thread 1-1) JBAS016330: CORBA ORB Service started

4
7 comments
Avatar
Permanently deleted user

We are at same problem here! (After 19.1 update)

0

The problem was already fixed, the fix will be available in a next update: https://youtrack.jetbrains.com/issue/IDEA-212457

0
Avatar
Permanently deleted user

I got the problem after I updated to 19.1.2 version. Again I have downgraded to 19.1 and turned off the automatic updates to prevent this kind of issues.

1
Avatar
Permanently deleted user

Same problem as  Rachitha S   after update to 19.1.2.

0
Avatar
Permanently deleted user

@Sienkomarcin Downgrade to 19.1 until you get the fix.

1

This problem re-appeared with Wildfly 28 & IntelliJ 2023.1.1

Wildfly-Version: https://github.com/wildfly/wildfly/releases/download/28.0.0.Final/wildfly-28.0.0.Final.zip
IntelliJ-Version: Build #IU-231.8770.65, built on April 27, 2023
Version of the Wildfly-Plugin: bundled 231.8770.65
JDK used to start the server: Eclipse Temurin 11.0.19

Stacktrace:

Error running admin process:
Message: java.lang.NoSuchMethodError: 'org.jboss.as.controller.client.ModelControllerClient org.jboss.as.controller.client.ModelControllerClient$Factory.create(java.lang.String, int, javax.security.auth.callback.CallbackHandler, javax.net.ssl.SSLContext, int)' Stack trace: com.intellij.javaee.process.common.JavaeeProcessUtilException: java.lang.NoSuchMethodError: 'org.jboss.as.controller.client.ModelControllerClient org.jboss.as.controller.client.ModelControllerClient$Factory.create(java.lang.String, int, javax.security.auth.callback.CallbackHandler, javax.net.ssl.SSLContext, int)' at com.intellij.javaee.process.common.MethodInvocator.invoke(MethodInvocator.java:47) at com.intellij.javaee.oss.process.JavaeeProcess.processRequest(JavaeeProcess.java:108) at com.intellij.javaee.oss.process.JavaeeProcess.run(JavaeeProcess.java:51) at com.intellij.javaee.oss.process.JavaeeProcess.main(JavaeeProcess.java:31) Caused by: java.lang.NoSuchMethodError: 'org.jboss.as.controller.client.ModelControllerClient org.jboss.as.controller.client.ModelControllerClient$Factory.create(java.lang.String, int, javax.security.auth.callback.CallbackHandler, javax.net.ssl.SSLContext, int)' at com.intellij.javaee.oss.jboss.agent.WildFly8Agent.createClient(WildFly8Agent.java:20) at com.intellij.javaee.oss.jboss.agent.JBoss7Agent.doConnect(JBoss7Agent.java:70) at com.intellij.javaee.oss.agent.SimpleAgentBase$1.doJob(SimpleAgentBase.java:24) at com.intellij.javaee.oss.agent.SimpleAgentBase$1.doJob(SimpleAgentBase.java:20) at com.intellij.javaee.oss.agent.SimpleAgentJob.perform(SimpleAgentJob.java:12) at com.intellij.javaee.oss.agent.SimpleAgentBase.connect(SimpleAgentBase.java:33) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.intellij.javaee.process.common.MethodInvocator.invoke(MethodInvocator.java:41) ... 3 more

0

Please sign in to leave a comment.