Getting IllegalArgumentException after pressing TAB key in CLI command

Solution Unverified - Updated -

Issue

  • Getting the following exception when TAB key is pressed in CLI command at the following point :
[domain@tltdsr000388:9049 /] /profile=bcdomain/subsystem=security/security-domain=web-policy/authentication=classic/:add(login-modules=[{code="abc.xyz.SamlLdapLoginModule",flag="required",module-options=[(
  • At this point, CLI throws the following exception if tab key is pressed :
java.lang.IllegalArgumentException
        at org.jboss.dmr.ModelValue.getKeys(ModelValue.java:128)
        at org.jboss.dmr.ModelNode.keys(ModelNode.java:1291)
        at org.jboss.as.cli.impl.ValueTypeCompleter$ValueTypeCallbackHandler.getCandidates(ValueTypeCompleter.java:309)
        at org.jboss.as.cli.impl.ValueTypeCompleter.complete(ValueTypeCompleter.java:83)
        at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:224)
        at org.jboss.as.cli.CommandCompleter.complete(CommandCompleter.java:95)
        at org.jboss.as.cli.impl.Console$Factory$1$1.complete(Console.java:102)
        at org.jboss.aesh.console.Console.complete(Console.java:1151)
        at org.jboss.aesh.console.Console.parseOperation(Console.java:550)
        at org.jboss.aesh.console.Console.read(Console.java:452)
        at org.jboss.aesh.console.Console.read(Console.java:346)
        at org.jboss.as.cli.impl.Console$Factory$1.readLine(Console.java:178)
        at org.jboss.as.cli.impl.CommandContextImpl.interact(CommandContextImpl.java:1200)
        at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:263)
        at org.jboss.as.cli.CommandLineMain.main(CommandLineMain.java:34)
        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 org.jboss.modules.Module.run(Module.java:292)
        at org.jboss.modules.Main.main(Main.java:455)

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content