Menu

#1430 Illegal reflective access operation exception in Java Viewer

open
nobody
Java Viewer (2)
5
2021-01-28
2017-11-03
No

Attempting to use TightVNC Java Viewer version 2.8.3 on macOS 10.13 in Java 9:

java version "9.0.1"
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)
$ java -jar Downloads/tvnjviewer-2.8.3-bin-gnugpl/tightvnc-jviewer.jar -port=5902 server01
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.glavsoft.viewer.swing.mac.MacApplicationWrapper (file:/Users/dspruell/Downloads/tvnjviewer-2.8.3-bin-gnugpl/tightvnc-jviewer.jar
) to method com.apple.eawt.Application.getApplication()
WARNING: Please consider reporting this to the maintainers of com.glavsoft.viewer.swing.mac.MacApplicationWrapper
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
Exception in thread "main" java.lang.NullPointerException
        at com.glavsoft.viewer.swing.mac.MacApplicationWrapper.setEnabledAboutMenu(MacApplicationWrapper.java:95)
        at com.glavsoft.viewer.Viewer.main(Viewer.java:84)

Discussion

  • Jason Wilson

    Jason Wilson - 2018-07-24

    Getting same error with same Java version - any ideas?

     
  • Khaldoon Sinjab

    Khaldoon Sinjab - 2018-09-03

    Getting same error with Java version "10.0.2"

     
  • Doug Cox

    Doug Cox - 2019-08-06

    Any update! Who maintains glavsoft?

    java --version
    java 11.0.1 2018-10-16 LTS
    Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
    Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)
    m-c02pg1etfvh6:Desktop dcox$ java -jar tightvnc-jviewer\ 2.jar
    WARNING: An illegal reflective access operation has occurred
    WARNING: Illegal reflective access by com.glavsoft.viewer.swing.mac.MacApplicationWrapper (file:~/Desktop/tightvnc-jviewer%202.jar) to method com.apple.eawt.Application.getApplication()
    WARNING: Please consider reporting this to the maintainers of com.glavsoft.viewer.swing.mac.MacApplicationWrapper
    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
    Exception in thread "main" java.lang.NullPointerException
    at com.glavsoft.viewer.swing.mac.MacApplicationWrapper.setEnabledAboutMenu(MacApplicationWrapper.java:95)
    at com.glavsoft.viewer.Viewer.main(Viewer.java:84)

     
  • James Martin

    James Martin - 2021-01-28

    Still getting the the "illegal reflective access operation" error. ... is this every going to get fixed?

     

Log in to post a comment.

MongoDB Logo MongoDB