This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 254253 - NoSuchMethodException: org.jboss.as.controller.client.ModelControllerClient$Factory.create(java.lang.String, int, javax.security.auth.callback.CallbackHandler, javax.net.ssl.SSLContext, int, java.util
Summary: NoSuchMethodException: org.jboss.as.controller.client.ModelControllerClient$F...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WildFly (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-11 01:15 UTC by Exceptions Reporter
Modified: 2015-09-24 01:29 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 219073


Attachments
stacktrace (1.09 KB, text/plain)
2015-08-11 01:15 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-08-11 01:15:12 UTC
This bug was originally marked as duplicate of bug 252975, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201508100002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Linux

User Comments:
GUEST: adding a wildfly 9.0 server

muellermi: web app started

pangalz: Build a JavaEE project configured with WildFly




Stacktrace: 
java.lang.NoSuchMethodException: org.jboss.as.controller.client.ModelControllerClient$Factory.create(java.lang.String, int, javax.security.auth.callback.CallbackHandler, javax.net.ssl.SSLContext, int, java.util.Map)
   at java.lang.Class.getDeclaredMethod(Class.java:2130)
   at org.netbeans.modules.javaee.wildfly.ide.commands.WildflyManagementAPI.createClient(WildflyManagementAPI.java:79)
   at org.netbeans.modules.javaee.wildfly.ide.commands.WildflyClient.getClient(WildflyClient.java:229)
   at org.netbeans.modules.javaee.wildfly.ide.commands.WildflyClient.executeAsync(WildflyClient.java:322)
   at org.netbeans.modules.javaee.wildfly.ide.commands.WildflyClient.isServerRunning(WildflyClient.java:279)
   at org.netbeans.modules.javaee.wildfly.ide.WildflyStartServer$1.run(WildflyStartServer.java:239)
Comment 1 Exceptions Reporter 2015-08-11 01:15:14 UTC
Created attachment 155256 [details]
stacktrace
Comment 2 ehsavoie 2015-08-11 05:12:06 UTC
Do you have 2 Wildfly server instances ? one in 8.x and one in 9 (in creation) ?
Comment 3 ehsavoie 2015-08-11 05:25:25 UTC
This might be a classpath issue as WF jars are loaded dynamically.
Comment 4 Petr Hejl 2015-09-22 22:04:52 UTC
I have improved the server startup detection and made a message INFO only. Please verify.
web-main 76775e873124
Comment 5 ehsavoie 2015-09-23 06:34:15 UTC
Nice, it works really well :).
I'm not sure about the INFO level though
Comment 6 Petr Hejl 2015-09-23 08:53:44 UTC
(In reply to ehsavoie from comment #5)
> Nice, it works really well :).
> I'm not sure about the INFO level though

Ok, let's keep it WARNING for some more time.
web-main e7cda657acf4
Comment 7 Quality Engineering 2015-09-24 01:29:34 UTC
Integrated into 'main-silver', will be available in build *201509240002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/76775e873124
User: Petr Hejl <phejl@netbeans.org>
Log: #254253 - NoSuchMethodException: org.jboss.as.controller.client.ModelControllerClient$Factory.create(java.lang.String, int, javax.security.auth.callback.CallbackHandler, javax.net.ssl.SSLContext, int, java.util