[ https://issues.apache.org/jira/browse/KARAF-7603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17628151#comment-17628151 ]
Jean-Baptiste Onofré commented on KARAF-7603: --------------------------------------------- The problem is about JDK17. I'm pretty sure it works fine with JDK11 as it's the version we are using on CI/CD. Let me test JDK17 (and adding a stage with this version on CI/CD). We will probably need to upgrade some shell dependencies. > Exception while trying to get Karaf shell > ----------------------------------------- > > Key: KARAF-7603 > URL: https://issues.apache.org/jira/browse/KARAF-7603 > Project: Karaf > Issue Type: Bug > Components: karaf > Affects Versions: 4.3.8, 4.4.2 > Reporter: Karthick > Assignee: Jean-Baptiste Onofré > Priority: Major > > We use Karaf 4.3.8 and 4.4.2 and fire some commands to get bundle status etc > from karaf shell. This works properly till 4.3.7 and 4.4.1 but once we > stepped to latest patch version of these (4.4.2 and 4.3.8), then we get the > following exception > bash-4.4$ client > _client: Ignoring predefined value for KARAF_HOME_ > _Logging in as karaf_ > *_DefaultOpenFuture[ChannelShell[id=0, > recipient=-1]-ClientSessionImpl[karaf@/127.0.0.1:8101]]: Failed > (IllegalArgumentException) to execute: Invalid UINT32 value: -1_* > _command terminated with exit code 1_ > ------------------------------------------ > While in the earlier version 4.3.7 (and 4.4.1) > > bash-4.4$ client > client: Ignoring predefined value for KARAF_HOME > Logging in as karaf > __ _ __ ___ > / //{_}/{_}___ __________ _/ __/ > / ,< / __ `/ __{_}/ __ `/ /{_} > / /| |/ /{_}/ / / / /{_}/ / __/ > /{_}/ |{_}|_{_},{_}/{_}/ _{_},{_}/{_}/ > > Apache Karaf (4.3.7) > > Hit '<tab>' for a list of available commands > and '[cmd] --help' for help on a specific command. > Hit 'system:shutdown' to shutdown Karaf. > Hit '<ctrl-d>' or type 'logout' to disconnect shell from current session. > > karaf@root()> > -- This message was sent by Atlassian Jira (v8.20.10#820010)