Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] warning from c2me with touhou little maid #579

Open
1 of 6 tasks
coco875 opened this issue Sep 26, 2024 · 0 comments
Open
1 of 6 tasks

[Bug] warning from c2me with touhou little maid #579

coco875 opened this issue Sep 26, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@coco875
Copy link

coco875 commented Sep 26, 2024

Minecraft Version

  • 1.12.2 (End of support)
  • 1.16.5 (End of support)
  • 1.18.2
  • 1.19.2
  • 1.20/1.20.1
  • 1.21/1.21.1

What happened?

  1. generate world
  2. see logs

(I use c2me with connector)

Relevant log output

[26sept.2024 17:24:20.327] [c2me-worker-0/ERROR] [CheckedThreadLocalRandom/]: ThreadLocalRandom accessed from a different thread (owner: Server thread, current: c2me-worker-0)
This is usually NOT a bug in C2ME, but a bug in another mod or in vanilla code. 
Possible solutions: 
  - Find possible causes in the stack trace below and 
    - if caused by another mod, report this to the corresponding mod authors 
    - if no other mods are involved, report this to C2ME 

java.util.ConcurrentModificationException: ThreadLocalRandom accessed from a different thread (owner: Server thread, current: c2me-worker-0)
	at TRANSFORMER/[email protected]/com.ishland.c2me.fixes.worldgen.threading_issues.common.CheckedThreadLocalRandom.handleNotOwner(CheckedThreadLocalRandom.java:55) ~[c2me-fabric-mc1.21.1-0.3.0+alpha.0.150$c2me-fixes-worldgen-threading-issues-mc1.21.1-0.3.0+alpha.0.150_mapped_moj_1.21.1.jar%231866!/:?]
	at TRANSFORMER/[email protected]/com.ishland.c2me.fixes.worldgen.threading_issues.common.CheckedThreadLocalRandom.isSafe(CheckedThreadLocalRandom.java:38) ~[c2me-fabric-mc1.21.1-0.3.0+alpha.0.150$c2me-fixes-worldgen-threading-issues-mc1.21.1-0.3.0+alpha.0.150_mapped_moj_1.21.1.jar%231866!/:?]
	at TRANSFORMER/[email protected]/com.ishland.c2me.fixes.worldgen.threading_issues.common.CheckedThreadLocalRandom.next(CheckedThreadLocalRandom.java:86) ~[c2me-fabric-mc1.21.1-0.3.0+alpha.0.150$c2me-fixes-worldgen-threading-issues-mc1.21.1-0.3.0+alpha.0.150_mapped_moj_1.21.1.jar%231866!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.BitRandomSource.nextDouble(BitRandomSource.java:61) ~[client-1.21.1-20240808.144430-srg.jar%23527!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.md57032d$touhou_little_maid$lambda$createEntityIgnoreException$0$0(com/github/tartaricacid/touhoulittlemaid/mixin/MixinStructureTemplate.java [touhou_little_maid.mixins.json]:25) ~[client-1.21.1-20240808.144430-srg.jar%23527!/:?]
	at java.base/java.util.Optional.ifPresent(Unknown Source) ~[?:?]
	at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.handler$dhk000$touhou_little_maid$createEntityIgnoreException(com/github/tartaricacid/touhoulittlemaid/mixin/MixinStructureTemplate.java [touhou_little_maid.mixins.json]:23) ~[client-1.21.1-20240808.144430-srg.jar%23527!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.createEntityIgnoreException(net/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate.java:490) ~[client-1.21.1-20240808.144430-srg.jar%23527!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.addEntitiesToWorld(net/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate.java:474) ~[client-1.21.1-20240808.144430-srg.jar%23527!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.placeInWorld(net/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplate.java:362) ~[client-1.21.1-20240808.144430-srg.jar%23527!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.structure.pools.SinglePoolElement.place(net/minecraft/world/level/levelgen/structure/pools/SinglePoolElement.java:143) ~[client-1.21.1-20240808.144430-srg.jar%23527!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.structure.PoolElementStructurePiece.place(net/minecraft/world/level/levelgen/structure/PoolElementStructurePiece.java:98) ~[client-1.21.1-20240808.144430-srg.jar%23527!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.structure.PoolElementStructurePiece.postProcess(net/minecraft/world/level/levelgen/structure/PoolElementStructurePiece.java:94) ~[client-1.21.1-20240808.144430-srg.jar%23527!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.world.level.levelgen.structure.StructureStart.placeInChunk(net/minecraft/world/level/levelgen/structure/StructureStart.java:92) ~[client-1.21.1-20240808.144430-srg.jar%23527!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.world.level.chunk.ChunkGenerator.lambda$applyBiomeDecoration$8(net/minecraft/world/level/chunk/ChunkGenerator.java:357) ~[client-1.21.1-20240808.144430-srg.jar%23527!/:?]
	at MC-BOOTSTRAP/[email protected]/com.google.common.collect.ImmutableList.forEach(ImmutableList.java:422) ~[guava-32.1.2-jre.jar%23108!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.world.level.chunk.ChunkGenerator.applyBiomeDecoration(net/minecraft/world/level/chunk/ChunkGenerator.java:356) ~[client-1.21.1-20240808.144430-srg.jar%23527!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.world.level.chunk.status.ChunkStatusTasks.generateFeatures(net/minecraft/world/level/chunk/status/ChunkStatusTasks.java:154) ~[client-1.21.1-20240808.144430-srg.jar%23527!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.world.level.chunk.status.ChunkStep.mixinextras$bridge$doWork$14(ChunkStep.java) ~[client-1.21.1-20240808.144430-srg.jar%23527!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.world.level.chunk.status.ChunkStep.wrapOperation$doa000$c2me_opts_chunk_access$runGenerationTask(com/ishland/c2me/opts/chunk_access/mixin/region_capture/MixinChunkGenerationStep.java [c2me-opts-chunk-access.mixins.json]:26) ~[client-1.21.1-20240808.144430-srg.jar%23527!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.world.level.chunk.status.ChunkStep.apply(net/minecraft/world/level/chunk/status/ChunkStep.java:33) ~[client-1.21.1-20240808.144430-srg.jar%23527!/:?]
	at TRANSFORMER/[email protected]/com.ishland.c2me.rewrites.chunksystem.common.statuses.VanillaWorldGenerationDelegate.lambda$upgradeToThis$8(VanillaWorldGenerationDelegate.java:123) ~[c2me-fabric-mc1.21.1-0.3.0+alpha.0.150$c2me-rewrites-chunk-system-mc1.21.1-0.3.0+alpha.0.150_mapped_moj_1.21.1.jar%231877!/:?]
	at TRANSFORMER/[email protected]/com.ishland.c2me.base.common.scheduler.ScheduledTask.run(ScheduledTask.java:22) [c2me-fabric-mc1.21.1-0.3.0+alpha.0.150$c2me-base-mc1.21.1-0.3.0+alpha.0.150-all_mapped_moj_1.21.1.jar%231862!/:?]
	at TRANSFORMER/[email protected]/com.ishland.flowsched.executor.WorkerThread.pollTasks(WorkerThread.java:57) [c2me-fabric-mc1.21.1-0.3.0+alpha.0.150$c2me-base-mc1.21.1-0.3.0+alpha.0.150-all_mapped_moj_1.21.1.jar%231862!/:?]
	at TRANSFORMER/[email protected]/com.ishland.flowsched.executor.WorkerThread.run(WorkerThread.java:35) [c2me-fabric-mc1.21.1-0.3.0+alpha.0.150$c2me-base-mc1.21.1-0.3.0+alpha.0.150-all_mapped_moj_1.21.1.jar%231862!/:?]

Contact Details

No response

@coco875 coco875 added the bug Something isn't working label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants