[karaf 4.2.0.M2] -

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[karaf 4.2.0.M2] -

fpapon
Hi,

I have this issue when only execute the "list" command for the first
time (on a fresh install) :

karaf@root()> list
START LEVEL 100 , List Threshold: 50

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by
org.apache.karaf.shell.support.table.ShellTable (jar:bundle://33.0:0/!/)
to field java.io.PrintStream.charOut
WARNING: Please consider reporting this to the maintainers of
org.apache.karaf.shell.support.table.ShellTable
WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflective access operations
WARNING: All illegal access operations will be denied in a future release

ID │ State  │ Lvl │ Version  │ Name
───┼────────┼─────┼──────────┼────────────────────────────────────────────────────────────────────────
21 │ Active │  80 │ 4.2.0.M2 │ Apache Karaf :: OSGi Services :: Event


karaf@root()> list
START LEVEL 100 , List Threshold: 50
ID │ State  │ Lvl │ Version  │ Name
───┼────────┼─────┼──────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
21 │ Active │  80 │ 4.2.0.M2 │ Apache Karaf :: OSGi Services :: Event

Test on Karaf 4.2.0.M2 on Linux version 4.9.0-5-amd64 / Java HotSpot(TM)
64-Bit Server VM version 9.0.4+11

Do you want me to make other test for help ?

François

Francois Papon
Openrun : https://www.openrun.re
Reply | Threaded
Open this post in threaded view
|

Re: [karaf 4.2.0.M2] -

jbonofre
Hi François,

What's your terminal (echo $TERM) ?
Does it occur only with 4.2.0.M2 (not with 4.2.0.M1) ?

I will try to reproduce in order to get the complete stack trace.

Regards
JB

On 01/29/2018 08:43 PM, Francois Papon wrote:

> Hi,
>
> I have this issue when only execute the "list" command for the first
> time (on a fresh install) :
>
> karaf@root()> list
> START LEVEL 100 , List Threshold: 50
>
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by
> org.apache.karaf.shell.support.table.ShellTable (jar:bundle://33.0:0/!/)
> to field java.io.PrintStream.charOut
> WARNING: Please consider reporting this to the maintainers of
> org.apache.karaf.shell.support.table.ShellTable
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflective access operations
> WARNING: All illegal access operations will be denied in a future release
>
> ID │ State  │ Lvl │ Version  │ Name
> ───┼────────┼─────┼──────────┼────────────────────────────────────────────────────────────────────────
> 21 │ Active │  80 │ 4.2.0.M2 │ Apache Karaf :: OSGi Services :: Event
>
>
> karaf@root()> list
> START LEVEL 100 , List Threshold: 50
> ID │ State  │ Lvl │ Version  │ Name
> ───┼────────┼─────┼──────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
> 21 │ Active │  80 │ 4.2.0.M2 │ Apache Karaf :: OSGi Services :: Event
>
> Test on Karaf 4.2.0.M2 on Linux version 4.9.0-5-amd64 / Java HotSpot(TM)
> 64-Bit Server VM version 9.0.4+11
>
> Do you want me to make other test for help ?
>
> François
>

--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com
Reply | Threaded
Open this post in threaded view
|

Re: [karaf 4.2.0.M2] -

fpapon
Hi JB,

echo $TERM => xterm-256color

I tried on Karaf 4.2.0.M1 and have the same error.

François


Le 30/01/2018 à 10:22, Jean-Baptiste Onofré a écrit :
> echo $TERM

Francois Papon
Openrun : https://www.openrun.re
Reply | Threaded
Open this post in threaded view
|

Re: [karaf 4.2.0.M2] -

jbonofre
Hi,

OK, did you enable the illegal access warnings ?

By the way, are you using Java8 or Java9 ?

Regards
JB

On 01/30/2018 08:14 AM, Francois Papon wrote:

> Hi JB,
>
> echo $TERM => xterm-256color
>
> I tried on Karaf 4.2.0.M1 and have the same error.
>
> François
>
>
> Le 30/01/2018 à 10:22, Jean-Baptiste Onofré a écrit :
>> echo $TERM
>

--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com
Reply | Threaded
Open this post in threaded view
|

Re: [karaf 4.2.0.M2] -

jbonofre
I bet on Java9. We gonna fix these warnings for 4.2.0.

Thanks for the report !

Regards
JB

On 01/30/2018 08:40 AM, Jean-Baptiste Onofré wrote:

> Hi,
>
> OK, did you enable the illegal access warnings ?
>
> By the way, are you using Java8 or Java9 ?
>
> Regards
> JB
>
> On 01/30/2018 08:14 AM, Francois Papon wrote:
>> Hi JB,
>>
>> echo $TERM => xterm-256color
>>
>> I tried on Karaf 4.2.0.M1 and have the same error.
>>
>> François
>>
>>
>> Le 30/01/2018 à 10:22, Jean-Baptiste Onofré a écrit :
>>> echo $TERM
>>
>

--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com
Reply | Threaded
Open this post in threaded view
|

Re: [karaf 4.2.0.M2] -

fpapon
Yes it's on Java9 : Java HotSpot(TM) 64-Bit Server VM version 9.0.4+11

François


Le 30/01/2018 à 11:41, Jean-Baptiste Onofré a écrit :

> I bet on Java9. We gonna fix these warnings for 4.2.0.
>
> Thanks for the report !
>
> Regards
> JB
>
> On 01/30/2018 08:40 AM, Jean-Baptiste Onofré wrote:
>> Hi,
>>
>> OK, did you enable the illegal access warnings ?
>>
>> By the way, are you using Java8 or Java9 ?
>>
>> Regards
>> JB
>>
>> On 01/30/2018 08:14 AM, Francois Papon wrote:
>>> Hi JB,
>>>
>>> echo $TERM => xterm-256color
>>>
>>> I tried on Karaf 4.2.0.M1 and have the same error.
>>>
>>> François
>>>
>>>
>>> Le 30/01/2018 à 10:22, Jean-Baptiste Onofré a écrit :
>>>> echo $TERM

Francois Papon
Openrun : https://www.openrun.re