Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-7173

Æsh problems under Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • fuse-7.0
    • fuse-7.0
    • Karaf
    • None
    • % %
    • 7.0 Sprint 17 - Tech Preview 1

    Description

      I wanted to run Fuse 7 (jboss-fuse-karaf-7.0.0.fuse-000057) under Windows (Server 2016) to test ENTESB-6797, but I got this:

      C:\Dev\jboss-fuse-karaf-7.0.0.fuse-000057>bin\fuse.bat
      JBoss Fuse starting up. Press Enter to open the shell now...
      100% [========================================================================]
      
      Karaf started in 7s. Bundle stats: 219 active, 219 total
      
      [34m      #@ .####`                      ;#####                 [0m
      [34m      @# +@@@@@                      #@@@@@                 [0m
      [34m      @: @@   @,  `,    .,    ,`     @@    `  ``  .,    ..  [0m
      [34m      @` @#``#@  @@@@  @@@@ ;@@@+    @+`` ,@  @@ @@@@  @@@@ [0m
      [34m     :@  @@@@@` '@  @+ @    @@ `     @@@@ @@  @' @.   @@  @`[0m
      [34m     #@ `@`  @@ @#  @# @@@  .@@,    `@    @@  @` @@@  @@@@@`[0m
      [34m  .  @@ :@   '@ @#  @;  .@@   #@    '@    @; `@   `@@ @```` [0m
      [34m #@+#@; #@###@@ @@;@@ :#`@@ @.,@    @@    @@;@@ ,@`@@ @@`#  [0m
      [34m  @@@+  @@@@@+   @@@  .@@@  @@@+    @@    '@@@@ `@@@  .@@@  [0m
      
      [1m  JBoss Fuse[0m (7.0.0.fuse-000057)
      
      Error in initialization script: C:\Dev\jboss-fuse-karaf-7.0.0.fuse-000057\etc\shell.init.script: String index out of range: 0
      karaf@root()> list
      [31mError executing command: / by zero[39m
      

      In logs I can see:

      2017-08-07 13:23:30,209 | ERROR | l console user karaf | o.a.k.s.s.ShellUtil              | 144 - org.apache.karaf.shell.core - 4.2.0.fuse-000035 | Exception caught while executing command
      java.lang.ArithmeticException: / by zero
      	at org.aesh.readline.Buffer.printInsertedData(Buffer.java:564) ~[142:org.apache.karaf.shell.aesh-jline:4.2.0.fuse-000035]
      	at org.aesh.readline.Buffer.insert(Buffer.java:227) ~[142:org.apache.karaf.shell.aesh-jline:4.2.0.fuse-000035]
      	at org.aesh.readline.AeshConsoleBuffer.writeChar(AeshConsoleBuffer.java:128) ~[142:org.apache.karaf.shell.aesh-jline:4.2.0.fuse-000035]
      	at org.aesh.readline.Readline$AeshInputProcessor.parse(Readline.java:262) ~[142:org.apache.karaf.shell.aesh-jline:4.2.0.fuse-000035]
      	at org.aesh.readline.Readline$AeshInputProcessor.access$100(Readline.java:174) ~[142:org.apache.karaf.shell.aesh-jline:4.2.0.fuse-000035]
      	at org.aesh.readline.Readline.readInput(Readline.java:95) ~[142:org.apache.karaf.shell.aesh-jline:4.2.0.fuse-000035]
      	at org.aesh.readline.Readline.access$1000(Readline.java:57) ~[142:org.apache.karaf.shell.aesh-jline:4.2.0.fuse-000035]
      	at org.aesh.readline.Readline$AeshInputProcessor.lambda$start$1(Readline.java:333) ~[142:org.apache.karaf.shell.aesh-jline:4.2.0.fuse-000035]
      	at org.jline.reader.impl.TerminalConnection.openBlocking(TerminalConnection.java:139) [142:org.apache.karaf.shell.aesh-jline:4.2.0.fuse-000035]
      	at org.jline.reader.impl.LineReaderImpl.readInput(LineReaderImpl.java:136) [142:org.apache.karaf.shell.aesh-jline:4.2.0.fuse-000035]
      	at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:264) [142:org.apache.karaf.shell.aesh-jline:4.2.0.fuse-000035]
      	at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:348) [144:org.apache.karaf.shell.core:4.2.0.fuse-000035]
      	at org.apache.karaf.shell.impl.console.osgi.DelayedStarted.run(DelayedStarted.java:78) [144:org.apache.karaf.shell.core:4.2.0.fuse-000035]
      	at java.lang.Thread.run(Thread.java:748) [?:?]
      

      Attachments

        Issue Links

          Activity

            People

              g_nodet Guillaume Nodet (Inactive)
              ggrzybek Grzegorz Grzybek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: