[
https://issues.apache.org/jira/browse/KARAF-7603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17628187#comment-17628187
]
Karthick commented on KARAF-7603:
---------------------------------
I don't agree that it works fine with JDK 11. As I reported initially, we use
JDK 11.0.16 and we face the issue right now after stepping to both 4.3.8 as
well as 4.4.2, it worked fine in 4.3.7 and 4.4.1.
> Exception while trying to get Karaf shell with JDK17
> ----------------------------------------------------
>
> 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)