Skip to content

An illegal reflective access operation has occurred #11

@WAFLogic

Description

@WAFLogic

Currently the Pi Buster OS build from the 2020 (I figured this was roughly the OS you used given the last code update) seems to be the only functioning build. I've tried Bullseye and started with Bookwork but they have issues with the GPIO pin access calls which begins with the Relay W1 pin, GPIO 21. Bookwork/Bullseye fail to read the temp sensor as well so it seems an overall issue with the GPIO access. I am able to get my temp sensor working just fine and I see it registered in /sys/bus/w1/devices/ using other means so it has to do with how this project is calling the GPIO libraries (apologies if I misuse any terms ).

Buster gives the warning mentioned in the title and states in the future it will be enforced but proceeds on to build and everything works correctly. I'm guessing that warning may be relative to Bullseye and Bookworm not working since they are the future releases it would essentially refer to. The warning it gives is further below.

I'm going to see what I can figure out on my own but figured I'd report since maybe you/someone has a fix already built and/or in case anyone else finds interest in the awesomesauce project but gets stuck like I did since there really is hope ;)

As I continue to build this project especially if I succeed in building the Kivy based GUI, I will build a fork so it's all linked. Thank You again! <3

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions