[jboss-jira] [JBoss JIRA] (WFLY-3209) CLI NullPointerException for Ctrl+D when prompted for username.
London JBug (JIRA)
issues at jboss.org
Mon May 19 12:50:56 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12968835#comment-12968835 ]
London JBug commented on WFLY-3209:
-----------------------------------
Further debugging shows that the Ctrl-D is being interpreted as a command, however it should only be aborting the current authentication process: -
{code}
"Remoting "cli-client" task-2" daemon prio=10 tid=0x00007f4784038800 nid=0x6c56 in Object.wait() [0x00007f47daf7e000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000007ae9366b0> (a java.lang.Thread)
at java.lang.Thread.join(Thread.java:1280)
- locked <0x00000007ae9366b0> (a java.lang.Thread)
at java.lang.Thread.join(Thread.java:1354)
at java.lang.ApplicationShutdownHooks.runHooks(ApplicationShutdownHooks.java:106)
at java.lang.ApplicationShutdownHooks$1.run(ApplicationShutdownHooks.java:46)
at java.lang.Shutdown.runHooks(Shutdown.java:123)
at java.lang.Shutdown.sequence(Shutdown.java:167)
at java.lang.Shutdown.exit(Shutdown.java:212)
- locked <0x00000007ae06d640> (a java.lang.Class for java.lang.Shutdown)
at java.lang.Runtime.exit(Runtime.java:109)
at java.lang.System.exit(System.java:962)
at org.jboss.aesh.console.Console.parseOperation(Console.java:559)
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.readLine(CommandContextImpl.java:738)
at org.jboss.as.cli.impl.CommandContextImpl.access$300(CommandContextImpl.java:167)
at org.jboss.as.cli.impl.CommandContextImpl$AuthenticationCallbackHandler.dohandle(CommandContextImpl.java:1455)
at org.jboss.as.cli.impl.CommandContextImpl$AuthenticationCallbackHandler.access$100(CommandContextImpl.java:1378)
at org.jboss.as.cli.impl.CommandContextImpl$AuthenticationCallbackHandler$1.run(CommandContextImpl.java:1412)
at org.jboss.as.protocol.GeneralTimeoutHandler.suspendAndExecute(GeneralTimeoutHandler.java:45)
at org.jboss.as.cli.impl.CommandContextImpl$AuthenticationCallbackHandler.handle(CommandContextImpl.java:1406)
at org.jboss.sasl.digest.DigestMD5Client.processChallenge(DigestMD5Client.java:355)
at org.jboss.sasl.digest.DigestMD5Client.evaluateChallenge(DigestMD5Client.java:238)
at org.jboss.remoting3.remote.ClientConnectionOpenListener$Authentication$1.run(ClientConnectionOpenListener.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
{code}
> CLI NullPointerException for Ctrl+D when prompted for username.
> ---------------------------------------------------------------
>
> Key: WFLY-3209
> URL: https://issues.jboss.org/browse/WFLY-3209
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: CLI
> Reporter: Darran Lofthouse
> Assignee: Darran Lofthouse
> Fix For: 9.0.0.CR1
>
>
> {code}
> [standalone at localhost:9990 /] [darranl at localhost bin]$ ./jboss-cli.sh
> You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
> [disconnected /] connect
> Username: java.lang.NullPointerException
> at org.jboss.aesh.console.Console.pushToStdOut(Console.java:227)
> at org.jboss.as.cli.impl.Console$Factory$1.print(Console.java:160)
> at org.jboss.as.cli.impl.CommandContextImpl.printLine(CommandContextImpl.java:704)
> at org.jboss.as.cli.impl.CommandContextImpl.error(CommandContextImpl.java:722)
> at org.jboss.as.cli.impl.CommandContextImpl.handleSafe(CommandContextImpl.java:647)
> at org.jboss.as.cli.impl.CommandContextImpl.interact(CommandContextImpl.java:1272)
> at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:254)
> 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:312)
> at org.jboss.modules.Main.main(Main.java:460)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the jboss-jira
mailing list