Skip to content

command-line completion in Karaf causes fatal error #2221

@fabrice-ducos

Description

@fabrice-ducos

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>

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions