You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "fabrice-ducos (via GitHub)" <gi...@apache.org> on 2026/01/10 10:44:14 UTC

[I] command-line completion in Karaf causes fatal error [karaf]

fabrice-ducos opened a new issue, #2221:
URL: https://github.com/apache/karaf/issues/2221

   Problem observed with Karaf 4.4.7 on Windows 10 Professional
   
   Command line completion after a double quote causes a fatal error.
   
   ```
   C:\Users\Username\Projects\apache-karaf-4.4.7>karaf clean
   karaf.bat: Ignoring predefined value for KARAF_HOME
           __ __                  ____
          / //_/____ __________ _/ __/
         / ,<  / __ `/ ___/ __ `/ /_
        / /| |/ /_/ / /  / /_/ / __/
       /_/ |_|\__,_/_/   \__,_/_/
   
     Apache Karaf (4.4.7)
   
   Hit '<tab>' for a list of available commands
   and '[cmd] --help' for help on a specific command.
   Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf.
   
   karaf@root()> hello = "<TAB>
   Error executing command: Range [0, 1) out of bounds for length 0
   C:\Users\Username\Projects\apache-karaf-4.4.7>
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@karaf.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] command-line completion in Karaf causes fatal error [karaf]

Posted by "fabrice-ducos (via GitHub)" <gi...@apache.org>.
fabrice-ducos commented on issue #2221:
URL: https://github.com/apache/karaf/issues/2221#issuecomment-3732473333

   Hi JB, many thanks for your quick answer!
   
   I confirm that it also occurs for Karaf 4.4.9
   
   ```
   C:\Users\Username\Projects\apache-karaf\apache-karaf-4.4.9>karaf
   karaf.bat: Ignoring predefined value for KARAF_HOME
   karaf.bat: KARAF_LOG doesn't exist: "C:\Users\Fabrice\Projects\apache-karaf\apache-karaf-4.4.9\bin\..\data\log"
   karaf.bat: Creating "C:\Users\Username\Projects\apache-karaf\apache-karaf-4.4.9\bin\..\data\log"
           __ __                  ____
          / //_/____ __________ _/ __/
         / ,<  / __ `/ ___/ __ `/ /_
        / /| |/ /_/ / /  / /_/ / __/
       /_/ |_|\__,_/_/   \__,_/_/
   
     Apache Karaf (4.4.9)
   
   Hit '<tab>' for a list of available commands
   and '[cmd] --help' for help on a specific command.
   Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf.
   
   karaf@root()> hello = "<TAB>
   Error executing command: Range [0, 1) out of bounds for length 0
   C:\Users\Username\Projects\apache-karaf\apache-karaf-4.4.9>
   ```
   
   The bug seems to occur with strings at the right side of an assignment.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@karaf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] command-line completion in Karaf causes fatal error [karaf]

Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre closed issue #2221: command-line completion in Karaf causes fatal error
URL: https://github.com/apache/karaf/issues/2221


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@karaf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] command-line completion in Karaf causes fatal error [karaf]

Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre commented on issue #2221:
URL: https://github.com/apache/karaf/issues/2221#issuecomment-3796122991

   OK, I see the issue in JLine. Let me fix that.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@karaf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] command-line completion in Karaf causes fatal error [karaf]

Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre commented on issue #2221:
URL: https://github.com/apache/karaf/issues/2221#issuecomment-3732423489

   Thanks for the report. Does it happen with Karaf 4.4.9 too ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@karaf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] command-line completion in Karaf causes fatal error [karaf]

Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre commented on issue #2221:
URL: https://github.com/apache/karaf/issues/2221#issuecomment-3732562209

   Thanks for the update. I suspect it's related to jline update. I will check. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@karaf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org