Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-36

CommandLineConsole: ls in subsystem=datasources causing java.lang.ArithmeticException: / by zero

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.0.0.Alpha1
    • None
    • None
    • None

    Description

      Description of problem:

      Version-Release number of selected component (if applicable):
      eap6.1.0.DR4

      Steps to Reproduce:
      1.run fresh jboss instance
      2.connect to it with jboss-cli
      3.cd subsystem=datasources
      4.ls

      Additional info:
      java.lang.ArithmeticException: / by zero
      at org.jboss.aesh.util.Parser.formatDisplayList(Parser.java:70)
      at org.jboss.aesh.util.Parser.formatDisplayList(Parser.java:43)
      at org.jboss.as.cli.impl.Console$Factory$1.printColumns(Console.java:146)
      at org.jboss.as.cli.impl.CommandContextImpl.printColumns(CommandContextImpl.java:713)
      at org.jboss.as.cli.handlers.CommandHandlerWithHelp.printList(CommandHandlerWithHelp.java:128)
      at org.jboss.as.cli.handlers.LsHandler.doHandle(LsHandler.java:355)
      at org.jboss.as.cli.handlers.CommandHandlerWithHelp.handle(CommandHandlerWithHelp.java:86)
      at org.jboss.as.cli.impl.CommandContextImpl.handle(CommandContextImpl.java:581)
      at org.jboss.as.cli.impl.CommandContextImpl.handleSafe(CommandContextImpl.java:597)
      at org.jboss.as.cli.impl.CommandContextImpl.interact(CommandContextImpl.java:1185)
      at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:259)
      at org.jboss.as.cli.CommandLineMain.main(CommandLineMain.java:34)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.modules.Module.run(Module.java:262)
      at org.jboss.modules.Main.main(Main.java:329)

      Attachments

        Issue Links

          Activity

            People

              chaowan@redhat.com Chao Wang
              chaowan@redhat.com Chao Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: