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

Error when reloading resources. Randomly and may relate to other mods #68

Open
SettingDust opened this issue Jan 15, 2024 · 0 comments
Open
Assignees
Labels
1.20.X Related to Minecraft 1.20 bug Something isn't working

Comments

@SettingDust
Copy link

[19:28:56] [Render thread/ERROR] (rrls) Caught error loading resourcepacks!
java.util.concurrent.CompletionException: java.lang.NullPointerException: Cannot invoke "net.minecraft.entity.LivingEntity.getEquippedStack(net.minecraft.entity.EquipmentSlot)" because "entity" is null
	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?]
	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[?:?]
	at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:791) ~[?:?]
	at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
	at net.minecraft.resource.SimpleResourceReload.method_18365(SimpleResourceReload.java:69) ~[client-intermediary.jar:?]
	at net.minecraft.util.thread.ThreadExecutor.executeTask(ThreadExecutor.java:156) ~[client-intermediary.jar:?]
	at net.minecraft.util.thread.ReentrantThreadExecutor.executeTask(ReentrantThreadExecutor.java:23) ~[client-intermediary.jar:?]
	at net.minecraft.util.thread.ThreadExecutor.runTask(ThreadExecutor.java:130) ~[client-intermediary.jar:?]
	at net.minecraft.util.thread.ThreadExecutor.runTasks(ThreadExecutor.java:115) ~[client-intermediary.jar:?]
	at net.minecraft.client.MinecraftClient.render(MinecraftClient.java:1175) ~[client-intermediary.jar:?]
	at net.minecraft.client.MinecraftClient.run(MinecraftClient.java:802) ~[client-intermediary.jar:?]
	at net.minecraft.client.main.Main.main(Main.java:250) ~[minecraft-1.20.1-client.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.15.3.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.15.3.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.15.3.jar:?]
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:87) ~[NewLaunch.jar:?]
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129) ~[NewLaunch.jar:?]
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:70) ~[NewLaunch.jar:?]
Caused by: java.lang.NullPointerException: Cannot invoke "net.minecraft.entity.LivingEntity.getEquippedStack(net.minecraft.entity.EquipmentSlot)" because "entity" is null
	at com.majruszsdifficulty.itemsets.ItemSetRequirement.check(ItemSetRequirement.java:23) ~[majruszs-difficulty-fabric-1.20.1-1.9.6.jar:?]
	at com.majruszsdifficulty.itemsets.ItemSet.lambda$findRequirementsMet$0(ItemSet.java:63) ~[majruszs-difficulty-fabric-1.20.1-1.9.6.jar:?]
	at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178) ~[?:?]
	at java.util.AbstractList$RandomAccessSpliterator.forEachRemaining(AbstractList.java:720) ~[?:?]
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575) ~[?:?]
	at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260) ~[?:?]
	at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616) ~[?:?]
	at java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:622) ~[?:?]
	at java.util.stream.ReferencePipeline.toList(ReferencePipeline.java:627) ~[?:?]
	at com.majruszsdifficulty.itemsets.ItemSet.findRequirementsMet(ItemSet.java:63) ~[majruszs-difficulty-fabric-1.20.1-1.9.6.jar:?]
	at com.majruszsdifficulty.itemsets.ItemSet.canTrigger(ItemSet.java:59) ~[majruszs-difficulty-fabric-1.20.1-1.9.6.jar:?]
	at com.majruszsdifficulty.itemsets.UndeadSet.lambda$static$3(UndeadSet.java:33) ~[majruszs-difficulty-fabric-1.20.1-1.9.6.jar:?]
	at com.majruszlibrary.events.base.Condition.check(Condition.java:99) ~[majrusz-library-fabric-1.20.1-7.0.3.jar:?]
	at com.majruszlibrary.events.base.Event.accept(Event.java:44) ~[majrusz-library-fabric-1.20.1-7.0.3.jar:?]
	at com.majruszlibrary.events.base.Events.accept(Events.java:61) ~[majrusz-library-fabric-1.20.1-7.0.3.jar:?]
	at com.majruszlibrary.events.base.Events.dispatch(Events.java:20) ~[majrusz-library-fabric-1.20.1-7.0.3.jar:?]
	at com.majruszsdifficulty.items.SoulJar.getMultiplier(SoulJar.java:122) ~[majruszs-difficulty-fabric-1.20.1-1.9.6.jar:?]
	at com.majruszsdifficulty.items.SoulJar$Client.addTooltip(SoulJar.java:268) ~[majruszs-difficulty-fabric-1.20.1-1.9.6.jar:?]
	at com.majruszlibrary.events.base.Event.accept(Event.java:49) ~[majrusz-library-fabric-1.20.1-7.0.3.jar:?]
	at com.majruszlibrary.events.base.Events.accept(Events.java:61) ~[majrusz-library-fabric-1.20.1-7.0.3.jar:?]
	at com.majruszlibrary.events.base.Events.dispatch(Events.java:20) ~[majrusz-library-fabric-1.20.1-7.0.3.jar:?]
	at net.minecraft.item.ItemStack.localvar$dci000$majruszlibrary$getTooltipLines(ItemStack.java:19636) ~[client-intermediary.jar:?]
	at net.minecraft.item.ItemStack.getTooltip(ItemStack.java:749) ~[client-intermediary.jar:?]
	at net.minecraft.client.MinecraftClient.method_1591(MinecraftClient.java:850) ~[client-intermediary.jar:?]
	at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:273) ~[?:?]
	at java.util.Collections$2.tryAdvance(Collections.java:4853) ~[?:?]
	at java.util.Collections$2.forEachRemaining(Collections.java:4861) ~[?:?]
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]
	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?]
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[?:?]
	at net.minecraft.client.search.TextSearcher.of(TextSearcher.java:20) ~[client-intermediary.jar:?]
	at net.minecraft.client.search.TextSearchProvider.reload(TextSearchProvider.java:26) ~[client-intermediary.jar:?]
	at net.minecraft.client.search.SearchManager$Instance.reload(SearchManager.java:65) ~[client-intermediary.jar:?]
	at net.minecraft.client.search.SearchManager.reload(SearchManager.java:25) ~[client-intermediary.jar:?]
	at net.minecraft.resource.SynchronousResourceReloader.method_29490(SynchronousResourceReloader.java:15) ~[client-intermediary.jar:?]
	at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787) ~[?:?]
	... 15 more
@Majrusz Majrusz self-assigned this Jan 22, 2024
@Majrusz Majrusz added bug Something isn't working 1.20.X Related to Minecraft 1.20 labels Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.20.X Related to Minecraft 1.20 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants