Aquaculture 2

Aquaculture 2

96M Downloads

WARNING: An illegal reflective access operation has occurred

gekkone opened this issue ยท 12 comments

commented

Hello, I get this warning, minecraft 1.15.2 forge 31.1.77

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.teammetallurgy.aquaculture.init.FishRegistry to field java.lang.reflect.Field.modifiers
WARNING: Please consider reporting this to the maintainers of com.teammetallurgy.aquaculture.init.FishRegistry
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
commented

Does this happen with only Forge and Aquaculture 2?

commented

Yes

commented

Unable to reproduce:
https://gist.github.com/GirafiStudios/9fb2e628a4cd4c8e7f9e535fd710726f

Can you provide your latest.log?

commented

Oh, sorry, I forgot to mention that this warning appears when the server starts. And the message appears only in the console, it is not written to the log

commented

Unable to reproduce on server start as well.
Console output:
https://gist.github.com/GirafiStudios/bdda178af99cd31eef2fdfa173fa2d61

Can you provide the full console output from server startup?

commented
[20:01:23] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 31.1.77, --fml.mcpVersion, 20200414.225201, --fml.mcVersion, 1.15.2, --fml.forgeGroup, net.minecraftforge, nogui]
[20:01:23] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 5.1.0+69+master.79f13f7 starting: java version 11.0.7 by Ubuntu
[20:01:23] [main/INFO] [ne.mi.fm.lo.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[20:01:23] [main/INFO] [STDERR/]: [jdk.nashorn.api.scripting.NashornScriptEngine:<init>:143]: Warning: Nashorn engine is planned to be removed from a future JDK release
[20:01:24] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlserver' with arguments [--gameDir, ., nogui]
[20:01:31] [main/WARN] [minecraft/Commands]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[20:01:31] [main/WARN] [minecraft/Commands]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[20:01:31] [main/WARN] [minecraft/Commands]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[20:01:31] [main/WARN] [minecraft/Commands]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[20:01:31] [main/WARN] [minecraft/Commands]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[20:01:32] [Server thread/INFO] [minecraft/DedicatedServer]: Starting minecraft server version 1.15.2
[20:01:32] [modloading-worker-1/INFO] [ne.mi.co.ForgeMod/FORGEMOD]: Forge mod loading, version 31.1.77, for MC 1.15.2 with MCP 20200414.225201
[20:01:32] [modloading-worker-1/INFO] [ne.mi.co.MinecraftForge/FORGE]: MinecraftForge v31.1.77 Initialized
[20:01:33] [modloading-worker-2/WARN] [minecraft/EntityType]: No data fixer registered for entity aquaculture:water_arrow
[20:01:33] [modloading-worker-2/WARN] [minecraft/EntityType]: No data fixer registered for entity aquaculture:box_turtle
[20:01:33] [modloading-worker-2/WARN] [minecraft/EntityType]: No data fixer registered for entity aquaculture:arrau_turtle
[20:01:33] [modloading-worker-2/WARN] [minecraft/EntityType]: No data fixer registered for entity aquaculture:starshell_turtle
[20:01:33] [modloading-worker-2/WARN] [minecraft/EntityType]: No data fixer registered for entity aquaculture:oak_fish_mount
[20:01:33] [modloading-worker-2/WARN] [minecraft/EntityType]: No data fixer registered for entity aquaculture:spruce_fish_mount
[20:01:33] [modloading-worker-2/WARN] [minecraft/EntityType]: No data fixer registered for entity aquaculture:birch_fish_mount
[20:01:33] [modloading-worker-2/WARN] [minecraft/EntityType]: No data fixer registered for entity aquaculture:jungle_fish_mount
[20:01:33] [modloading-worker-2/WARN] [minecraft/EntityType]: No data fixer registered for entity aquaculture:acacia_fish_mount
[20:01:33] [modloading-worker-2/WARN] [minecraft/EntityType]: No data fixer registered for entity aquaculture:dark_oak_fish_mount
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Configuration file /home/gekkone/mineserver/Minecraft-1.15/server/config/aquaculture-common.toml is not correct. Correcting
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key basic options was corrected from null to SimpleCommentedConfig:{}
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key basic options.Enable fish spawning? was corrected from null to true
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key basic options.Enable weight for fish? Useful for fishing competitions was corrected from null to false
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key basic options.Should fish be added as compostables for the composter/worm farm? (Based on fish, or weight if enabled) was corrected from null to true
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key basic options.Enable debug mode? (Enables additional logging) was corrected from null to false
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key neptunium options was corrected from null to SimpleCommentedConfig:{}
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key neptunium options.Enable recipes for Neptunium items? was corrected from null to true
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key neptunium options.Enable recipes for Neptunium armor? was corrected from null to true
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key neptunium options.Add Neptune's Bounty as loot? was corrected from null to true
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key spawn options was corrected from null to SimpleCommentedConfig:{}
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key spawn options.box_turtle was corrected from null to SimpleCommentedConfig:{}
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key spawn options.box_turtle.min was corrected from null to 1
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key spawn options.box_turtle.max was corrected from null to 2
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key spawn options.box_turtle.weight was corrected from null to 7
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key spawn options.box_turtle.include was corrected from null to [SWAMP]
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key spawn options.box_turtle.exclude was corrected from null to []
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key spawn options.arrau_turtle was corrected from null to SimpleCommentedConfig:{}
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key spawn options.arrau_turtle.min was corrected from null to 1
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key spawn options.arrau_turtle.max was corrected from null to 2
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key spawn options.arrau_turtle.weight was corrected from null to 4
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key spawn options.arrau_turtle.include was corrected from null to [JUNGLE]
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key spawn options.arrau_turtle.exclude was corrected from null to []
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key spawn options.starshell_turtle was corrected from null to SimpleCommentedConfig:{}
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key spawn options.starshell_turtle.min was corrected from null to 1
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key spawn options.starshell_turtle.max was corrected from null to 2
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key spawn options.starshell_turtle.weight was corrected from null to 5
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key spawn options.starshell_turtle.include was corrected from null to [TWILIGHT]
[20:01:33] [Server thread/WARN] [ne.mi.co.ForgeConfigSpec/CORE]: Incorrect key spawn options.starshell_turtle.exclude was corrected from null to []
> WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.teammetallurgy.aquaculture.init.FishRegistry to field java.lang.reflect.Field.modifiers
WARNING: Please consider reporting this to the maintainers of com.teammetallurgy.aquaculture.init.FishRegistry
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
[20:01:34] [Server thread/INFO] [ne.mi.fm.DeferredWorkQueue/LOADING]: Dispatching synchronous work after COMMON_SETUP: 2 jobs
[20:01:34] [Forge Version Check/INFO] [ne.mi.fm.VersionChecker/]: [forge] Starting version check at https://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[20:01:34] [Server thread/INFO] [ne.mi.fm.DeferredWorkQueue/LOADING]: Synchronous work queue completed in 00:00:00.101
[20:01:34] [Server thread/INFO] [minecraft/DedicatedServer]: Loading properties
[20:01:34] [Server thread/INFO] [minecraft/DedicatedServer]: Default game type: SURVIVAL
[20:01:34] [Server thread/INFO] [minecraft/DedicatedServer]: Generating keypair
[20:01:34] [Server thread/INFO] [minecraft/DedicatedServer]: Starting Minecraft server on 
[20:01:34] [Server thread/INFO] [minecraft/NetworkSystem]: Using epoll channel type
[20:01:35] [Forge Version Check/INFO] [ne.mi.fm.VersionChecker/]: [forge] Found status: AHEAD Current: 31.1.77 Target: null
[20:01:35] [Server thread/INFO] [minecraft/DedicatedServer]: Preparing level "world"
[20:01:36] [Server thread/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: Default, forge-1.15.2-31.1.77-universal.jar, Aquaculture-1.15.2-2.0.13.jar, Somnus
[20:01:46] [Server thread/INFO] [minecraft/RecipeManager]: Loaded 6 recipes
[20:01:46] [Server thread/INFO] [minecraft/FunctionManager]: Loaded 4 custom command functions
[20:01:46] [Server thread/INFO] [minecraft/AdvancementList]: Loaded 825 advancements
[20:01:47] [Server thread/INFO] [minecraft/MinecraftServer]: Preparing start region for dimension minecraft:overworld
[20:01:48] [Server thread/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 0%
[20:01:48] [Server thread/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 0%
[20:01:48] [Server thread/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 0%
[20:01:48] [Server thread/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 0%
[20:01:49] [Server thread/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 15%
[20:01:51] [Server-Worker-1/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 83%
[20:01:51] [Server-Worker-1/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 83%
[20:01:51] [Server-Worker-2/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 83%
[20:01:51] [Server-Worker-1/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 83%
[20:01:51] [Server-Worker-2/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 83%
[20:01:52] [Server-Worker-1/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 83%
[20:01:52] [Server-Worker-2/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 83%
[20:01:53] [Server-Worker-2/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 84%
[20:01:53] [Server-Worker-2/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 87%
[20:01:54] [Server-Worker-1/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 91%
[20:01:54] [Server-Worker-2/INFO] [minecraft/LoggingChunkStatusListener]: Preparing spawn area: 96%
[20:01:55] [Server thread/INFO] [minecraft/LoggingChunkStatusListener]: Time elapsed: 7838 ms
[20:01:55] [Server thread/INFO] [minecraft/DedicatedServer]: Done (19.244s)! For help, type "help"
[20:01:55] [Server thread/INFO] [minecraft/DedicatedServer]: Starting GS4 status listener
[20:01:55] [Server thread/INFO] [minecraft/DedicatedServer]: Starting remote control listener
[20:01:55] [Query Listener #1/INFO] [minecraft/MinecraftServer]: Query running on 
[20:01:55] [RCON Listener #2/INFO] [minecraft/MinecraftServer]: RCON running on 
[20:01:55] [Server thread/INFO] [minecraft/ChunkManager]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[20:01:55] [Server thread/INFO] [minecraft/ChunkManager]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
commented

Oh you're running it on an Ubuntu server, maybe that could be it.

commented

Hmm, I think this is a forge warning. This should not be dependent on the host OS

commented

It's for sure not a Forge warning, it would the timestamp in front of it etc., like the rest of the console output does aswell.

commented

Then maybe this is a java warning. I'm using version 11.0.7

commented

That would be it. Forge does not work properly with Java 11. Java 8 is still recommended to run still, Java 9 might be partially working but not all mods may work properly with it.

commented

I didn't know about compatibility issues with new versions of java. Thanks!