You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2022/11/01 07:02:00 UTC

[jira] [Commented] (KARAF-7603) Exception while trying to get Karaf shell

    [ https://issues.apache.org/jira/browse/KARAF-7603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17626981#comment-17626981 ] 

Jean-Baptiste Onofré commented on KARAF-7603:
---------------------------------------------

What JDK version are you using ?

 

Let me try to reproduce it (the itests worked on the release, so I guess it's OK).

> 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)