[
https://issues.apache.org/jira/browse/GERONIMO-4533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720151#action_12720151
]
Sean McNealy commented on GERONIMO-4533:
----------------------------------------
While the error text has been changed in the last commit, that logging method
will still throw an IllegalArgumentException on Windows when not attached to a
console, since the underlying JLine implementation is flawed and gives a
width=1.
Changing the text of the error message is good, but I don't think that's enough
to close this bug.
> Fix "This is ridiculous" error messages on command execution
> ------------------------------------------------------------
>
> Key: GERONIMO-4533
> URL: https://issues.apache.org/jira/browse/GERONIMO-4533
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Affects Versions: 2.1.3, 2.2
> Reporter: Kevan Miller
> Assignee: Donald Woods
> Fix For: 2.1.4, 2.1.5, 2.2
>
>
> Depending on the terminal you're running from, some commands will display a
> "This is ridiculous" error message:
> bash-3.2$ ./deploy.sh undeploy com.test/testwar/1.0/war
> Using GERONIMO_HOME:
> /Users/kevan/geronimo/server/branches/2.1/target/geronimo-tomcat6-javaee5-2.1.4-SNAPSHOT
> Using GERONIMO_TMPDIR: var/temp
> Using JRE_HOME:
> /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
> Username: system
> system
> Password: ***
> Module com.test/testwar/1.0/war unloaded.
> Module com.test/testwar/1.0/war uninstalled.
> line= Undeployed com.test/testwar/1.0/war; indent= 4; endCol= 0
> Exception in thread "main" java.lang.IllegalArgumentException: This is
> ridiculous! line= Undeployed com.test/testwar/1.0/war; indent= 4; endCol= 0
> at
> org.apache.geronimo.deployment.cli.DeployUtils.println(DeployUtils.java:103)
> at
> org.apache.geronimo.deployment.cli.CommandStart.execute(CommandStart.java:66)
> at
> org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:164)
> at
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
> at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
> at
> org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.