question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WARNING: An illegal reflective access operation has occurred

See original GitHub issue

Running on Debian 10 with OpenJDK 11.0.6 and jicofo 1.0-544-1 I get the following in the jicofo.log file:

Jicofo 2020-04-16 07:51:25.558 INFO: [21] org.jitsi.jicofo.ComponentsDiscovery.log() Services re-discovery interval: 30000                                                                              
Jicofo 2020-04-16 07:51:25.560 INFO: [21] org.jitsi.jicofo.FocusManager.log() XMPP provider reg state: RegistrationState=Registered                                                                     
Jicofo 2020-04-16 07:51:25.575 INFO: [21] org.jitsi.impl.protocol.xmpp.XmppProtocolProvider.doConnect().305 XMPP provider Jabber:focus@auth.MYHOST/focus8887678906@localhost connected (JID: focus@auth.MYHOST/focus8887678906)
Jicofo 2020-04-16 07:51:26.271 INFO: [14] org.eclipse.jetty.server.handler.ContextHandler.doStart() Started o.e.j.s.ServletContextHandler@79dc1fe6{/,null,AVAILABLE}                                    
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.ice4j.socket.jdk8.DelegatingServerSocketChannel (file:/usr/share/jicofo/lib/ice4j-3.0-10-g982e782.jar) to method sun.nio.ch.SelChImpl.translateInterestOps(int)
WARNING: Please consider reporting this to the maintainers of org.ice4j.socket.jdk8.DelegatingServerSocketChannel                                                                                       
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
Jicofo 2020-04-16 07:51:26.418 INFO: [14] org.eclipse.jetty.server.AbstractConnector.doStart() Started MuxServerConnector@13ec17de{HTTP/1.1,[http/1.1]}{0.0.0.0:8888}                                   
Jicofo 2020-04-16 07:51:26.420 INFO: [14] org.eclipse.jetty.server.Server.doStart() Started @6534ms

Don’t think this is a problem (yet?) but thougth I’ll let you know as suggested by the warning.

Edit: replaced hostname with MYHOST

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Francewhoacommented, Jul 28, 2022

Thanks @saghul 😃 I missed that this ticket is about jicofo. My bad.

I searched for the error message and found this ticket

1reaction
saghulcommented, Jul 28, 2022

FTR, ice4j is a library used by multiple projects, and none of the above applies to jicofo.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is an illegal reflective access? - java - Stack Overflow
Run it with --illegal-access=deny to get to know about and avoid opening packages from one module to another without a module declaration ...
Read more >
Java 9 Illegal Reflective Access Warning - Baeldung
Before Java 9, the Java Reflection API has a superpower: It could gain access to the non-public class members without limitation.
Read more >
An illegal reflective access operation has occurred when ...
You will see An illegal reflective access operation has occurred warning when installing and using AM (including Amster and ssoadm tools), Java ...
Read more >
How to fix “an illegal reflective access operation has occurred”
The "an illegal reflective access operation has occurred" warning message is related to the unauthorized access to parts of the JDK made by ......
Read more >
How can I solve "WARNING:An illegal reflective access ...
You can specify the reflective access explicitly using java's --add-opens parameter. The migration guide for JDK 11 provides more information. Use a compatible ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found