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

Crash incompat with dynview [fabric 1.18] #3

Open
1 task done
Shadowrs opened this issue Aug 13, 2022 · 0 comments
Open
1 task done

Crash incompat with dynview [fabric 1.18] #3

Shadowrs opened this issue Aug 13, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Shadowrs
Copy link

Shadowrs commented Aug 13, 2022

I am not using performance mods.

  • Confirm

Description

Im running the AQM2 fabric modpack with 100+ manually added mods on top.
Compact machines on its own loads fine, however, when i add https://www.curseforge.com/minecraft/mc-mods/dynamic-view-fabric
I get this crash
Looks like an NPE - maybe config files just aren't generating?
Ive submitted this in compact machine repo because its the entrypoint stage - instead of dynaviews github. Should I post in dyna instead?


java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'compactmachines'!
	at net.minecraft.class_310.md9b2c1a$lambda$invoke$0$4(class_310.java:10490)
	at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33)
	at net.minecraft.class_310.invoke(class_310.java:10488)
	at net.minecraft.class_310.redirect$cca000$init(class_310.java:10475)
	at net.minecraft.class_310.<init>(class_310.java:452)
	at net.minecraft.client.main.Main.main(Main.java:197)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.polymc.impl.OneSixLauncher.invokeMain(OneSixLauncher.java:104)
	at org.polymc.impl.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:175)
	at org.polymc.impl.OneSixLauncher.launch(OneSixLauncher.java:185)
	at org.polymc.EntryPoint.listen(EntryPoint.java:144)
	at org.polymc.EntryPoint.main(EntryPoint.java:74)
	Suppressed: java.lang.NoClassDefFoundError: Could not initialize class net.minecraft.class_3230
		at re.zarex.simplechunkloader.SimpleChunkLoader.<clinit>(SimpleChunkLoader.java:34)
		at java.base/java.lang.Class.forName0(Native Method)
		at java.base/java.lang.Class.forName(Class.java:467)
		at net.fabricmc.loader.impl.util.DefaultLanguageAdapter.create(DefaultLanguageAdapter.java:50)
		at net.fabricmc.loader.impl.entrypoint.EntrypointStorage$NewEntry.getOrCreate(EntrypointStorage.java:117)
		at net.fabricmc.loader.impl.entrypoint.EntrypointContainerImpl.getEntrypoint(EntrypointContainerImpl.java:53)
		at net.minecraft.class_310.invoke(class_310.java:10486)
		... 15 more
Caused by: java.lang.ExceptionInInitializerError
	at dev.compactmods.machines.upgrade.ChunkloadUpgrade.<clinit>(ChunkloadUpgrade.java:18)
	at dev.compactmods.machines.upgrade.MachineRoomUpgrades.<clinit>(MachineRoomUpgrades.java:24)
	at dev.compactmods.machines.upgrade.graph.RoomUpgradeConnection.lambda$static$0(RoomUpgradeConnection.java:13)
	at com.mojang.serialization.codecs.RecordCodecBuilder.create(RecordCodecBuilder.java:72)
	at dev.compactmods.machines.upgrade.graph.RoomUpgradeConnection.<clinit>(RoomUpgradeConnection.java:13)
	at dev.compactmods.machines.graph.GraphEdgeType.<clinit>(GraphEdgeType.java:13)
	at dev.compactmods.machines.graph.CMGraphRegistration.lambda$static$6(CMGraphRegistration.java:31)
	at com.google.common.base.Suppliers$NonSerializableMemoizingSupplier.get(Suppliers.java:183)
	at io.github.fabricators_of_create.porting_lib.util.RegistryObject.get(RegistryObject.java:44)
	at io.github.fabricators_of_create.porting_lib.util.LazyRegistrar.lambda$register$0(LazyRegistrar.java:46)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at io.github.fabricators_of_create.porting_lib.util.LazyRegistrar.register(LazyRegistrar.java:45)
	at dev.compactmods.machines.graph.CMGraphRegistration.init(CMGraphRegistration.java:39)
	at dev.compactmods.machines.CompactMachines.onInitialize(CompactMachines.java:62)
	at net.minecraft.class_310.invoke(class_310.java:10486)
	... 15 more
Caused by: java.lang.NullPointerException: Cannot invoke "com.dynview.config.Configuration.getCommonConfig()" because the return value of "com.dynview.DynView.getConfig()" is null
	at net.minecraft.class_3230.<clinit>(class_3230.java:22)
	... 30 more

my client/config/dynview.json

{
  "minChunkViewDist": {
    "desc:": "The minimum chunk view distance allowed to use. Default: 5, minimum 3, maximum 200",
    "minChunkViewDist": 3
  },
  "maxChunkViewDist": {
    "desc:": "The maximum chunk view distance allowed to use. Set to the max a player could benefit from. Default: 15, minimum 1, maximum 200",
    "maxChunkViewDist": 15
  },
  "meanAvgTickTime": {
    "desc:": "The average tick time to stabilize the distances around. Setting it higher than 50ms is not advised, as after 50ms the TPS will go below 20. Default: 45ms, min: 10, max:100",
    "meanAvgTickTime": 45
  },
  "viewDistanceUpdateRate": {
    "desc:": "The change frequency of distances in seconds. Default: 30, min:1, max:1000",
    "viewDistanceUpdateRate": 30
  },
  "minSimulationDist": {
    "desc:": "The minimum simulation distance allowed to use. Default: 4, minimum 1, maximum 200",
    "minSimulationDist": 4
  },
  "maxSimulationDist": {
    "desc:": "The maximum simulation distance allowed to use. Default: 10, minimum 1, maximum 200",
    "maxSimulationDist": 10
  },
  "adjustSimulationDistance": {
    "desc:": "Enables automatic simulation distance adjustment. Default: true",
    "adjustSimulationDistance": true
  },
  "logMessages": {
    "desc:": "Whether to output log messages for actions done. This can be helpful to balance the other settings nicely. Default \u003d true",
    "logMessages": true
  },
  "chunkunload": {
    "desc:": "Enable slow chunk unloading(~1minute) after load, helps with lag caused by mods hot-loading chunks frequently. Default: true",
    "chunkunload": true
  }
}

Mod Version

compactmachines-4.4.0.6-fabric

Forge Version

Fabric Loader 0.14.8

Link to Crashlog

https://mclo.gs/H0G19GG

Screenshot (if available)

No response

How to reproduce

  1. Launching client
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

1 participant