[JBoss JIRA] (WFCORE-92) cli deploy command with unpaired quotation mark causes StringIndexOutOfBoundsException
by Jay Kumar SenSharma (JIRA)
[ https://issues.jboss.org/browse/WFCORE-92?page=com.atlassian.jira.plugin.... ]
Jay Kumar SenSharma edited comment on WFCORE-92 at 9/9/14 2:46 AM:
-------------------------------------------------------------------
Pull Request Sent:
https://github.com/wildfly/wildfly-core/pull/165
was (Author: jaysensharma):
Pull Request Send:
https://github.com/wildfly/wildfly-core/pull/165
> cli deploy command with unpaired quotation mark causes StringIndexOutOfBoundsException
> --------------------------------------------------------------------------------------
>
> Key: WFCORE-92
> URL: https://issues.jboss.org/browse/WFCORE-92
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Affects Versions: 1.0.0.Alpha5, 1.0.0.Alpha6
> Environment: * Windows Operating System is Must *
> Reporter: Jay Kumar SenSharma
> Assignee: Alexey Loubyansky
>
> - CLI "deploy" command with open quote and tab for completion results in a "StringIndexOutOfBoundsException" exception
> - Type 'connect' to connect to the server or 'help' for the list of supported commands.
> {code}
> [disconnected /] connect
> [standalone@localhost:9999 /] deploy "d<Tab>
> [standalone@localhost:9990 /] deploy "djava.lang.StringIndexOutOfBoundsException: String index out of range: -1
> at java.lang.String.substring(String.java:1958)
> at org.jboss.as.cli.handlers.WindowsFilenameTabCompleter.complete(WindowsFilenameTabCompleter.java:54)
> at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:229)
> at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:73)
> at org.jboss.as.cli.CommandCompleter.doComplete(CommandCompleter.java:126)
> at org.jboss.as.cli.CommandCompleter.complete(CommandCompleter.java:63)
> at org.jboss.as.cli.impl.Console$Factory$1$1.complete(Console.java:102)
> at org.jboss.aesh.console.Console.complete(Console.java:1155)
> 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:1283)
> 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:601)
> at org.jboss.modules.Module.run(Module.java:312)
> at org.jboss.modules.Main.main(Main.java:460)
> Press any key to continue . . .
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 1 month
[JBoss JIRA] (WFCORE-92) cli deploy command with unpaired quotation mark causes StringIndexOutOfBoundsException
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/WFCORE-92?page=com.atlassian.jira.plugin.... ]
RH Bugzilla Integration updated WFCORE-92:
------------------------------------------
Bugzilla Update: Perform
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1139515
> cli deploy command with unpaired quotation mark causes StringIndexOutOfBoundsException
> --------------------------------------------------------------------------------------
>
> Key: WFCORE-92
> URL: https://issues.jboss.org/browse/WFCORE-92
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Affects Versions: 1.0.0.Alpha5, 1.0.0.Alpha6
> Environment: * Windows Operating System is Must *
> Reporter: Jay Kumar SenSharma
> Assignee: Alexey Loubyansky
>
> - CLI "deploy" command with open quote and tab for completion results in a "StringIndexOutOfBoundsException" exception
> - Type 'connect' to connect to the server or 'help' for the list of supported commands.
> {code}
> [disconnected /] connect
> [standalone@localhost:9999 /] deploy "d<Tab>
> [standalone@localhost:9990 /] deploy "djava.lang.StringIndexOutOfBoundsException: String index out of range: -1
> at java.lang.String.substring(String.java:1958)
> at org.jboss.as.cli.handlers.WindowsFilenameTabCompleter.complete(WindowsFilenameTabCompleter.java:54)
> at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:229)
> at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:73)
> at org.jboss.as.cli.CommandCompleter.doComplete(CommandCompleter.java:126)
> at org.jboss.as.cli.CommandCompleter.complete(CommandCompleter.java:63)
> at org.jboss.as.cli.impl.Console$Factory$1$1.complete(Console.java:102)
> at org.jboss.aesh.console.Console.complete(Console.java:1155)
> 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:1283)
> 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:601)
> at org.jboss.modules.Module.run(Module.java:312)
> at org.jboss.modules.Main.main(Main.java:460)
> Press any key to continue . . .
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 1 month
[JBoss JIRA] (WFCORE-92) cli deploy command with unpaired quotation mark causes StringIndexOutOfBoundsException
by Jay Kumar SenSharma (JIRA)
[ https://issues.jboss.org/browse/WFCORE-92?page=com.atlassian.jira.plugin.... ]
Jay Kumar SenSharma commented on WFCORE-92:
-------------------------------------------
Pull Request Send:
https://github.com/wildfly/wildfly-core/pull/165
> cli deploy command with unpaired quotation mark causes StringIndexOutOfBoundsException
> --------------------------------------------------------------------------------------
>
> Key: WFCORE-92
> URL: https://issues.jboss.org/browse/WFCORE-92
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Affects Versions: 1.0.0.Alpha5, 1.0.0.Alpha6
> Environment: * Windows Operating System is Must *
> Reporter: Jay Kumar SenSharma
> Assignee: Alexey Loubyansky
>
> - CLI "deploy" command with open quote and tab for completion results in a "StringIndexOutOfBoundsException" exception
> - Type 'connect' to connect to the server or 'help' for the list of supported commands.
> {code}
> [disconnected /] connect
> [standalone@localhost:9999 /] deploy "d<Tab>
> [standalone@localhost:9990 /] deploy "djava.lang.StringIndexOutOfBoundsException: String index out of range: -1
> at java.lang.String.substring(String.java:1958)
> at org.jboss.as.cli.handlers.WindowsFilenameTabCompleter.complete(WindowsFilenameTabCompleter.java:54)
> at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:229)
> at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:73)
> at org.jboss.as.cli.CommandCompleter.doComplete(CommandCompleter.java:126)
> at org.jboss.as.cli.CommandCompleter.complete(CommandCompleter.java:63)
> at org.jboss.as.cli.impl.Console$Factory$1$1.complete(Console.java:102)
> at org.jboss.aesh.console.Console.complete(Console.java:1155)
> 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:1283)
> 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:601)
> at org.jboss.modules.Module.run(Module.java:312)
> at org.jboss.modules.Main.main(Main.java:460)
> Press any key to continue . . .
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 1 month
[JBoss JIRA] (WFCORE-92) cli deploy command with unpaired quotation mark causes StringIndexOutOfBoundsException
by Jay Kumar SenSharma (JIRA)
Jay Kumar SenSharma created WFCORE-92:
-----------------------------------------
Summary: cli deploy command with unpaired quotation mark causes StringIndexOutOfBoundsException
Key: WFCORE-92
URL: https://issues.jboss.org/browse/WFCORE-92
Project: WildFly Core
Issue Type: Bug
Components: CLI
Affects Versions: 1.0.0.Alpha5, 1.0.0.Alpha6
Environment: * Windows Operating System is Must *
Reporter: Jay Kumar SenSharma
Assignee: Alexey Loubyansky
- CLI "deploy" command with open quote and tab for completion results in a "StringIndexOutOfBoundsException" exception
- Type 'connect' to connect to the server or 'help' for the list of supported commands.
{code}
[disconnected /] connect
[standalone@localhost:9999 /] deploy "d<Tab>
[standalone@localhost:9990 /] deploy "djava.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1958)
at org.jboss.as.cli.handlers.WindowsFilenameTabCompleter.complete(WindowsFilenameTabCompleter.java:54)
at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:229)
at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:73)
at org.jboss.as.cli.CommandCompleter.doComplete(CommandCompleter.java:126)
at org.jboss.as.cli.CommandCompleter.complete(CommandCompleter.java:63)
at org.jboss.as.cli.impl.Console$Factory$1$1.complete(Console.java:102)
at org.jboss.aesh.console.Console.complete(Console.java:1155)
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:1283)
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:601)
at org.jboss.modules.Module.run(Module.java:312)
at org.jboss.modules.Main.main(Main.java:460)
Press any key to continue . . .
{code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 1 month