Skip to content

There is no root node. This either means, that the graph is empty, or that it contains a cycle. #33

@kirillrudnikov

Description

@kirillrudnikov

I'm getting this error, and I can't figure out why or what steps I can take to fix it.

Error: "There is no root node. This either means, that the graph is empty, or that it contains a cycle."

Running with: .\gradlew run --args="--no-repo --only-version=b1.5_01"

Some last log rows with stacktrace:

Fetching version info 23w13a_or_b_original from: https://maven.fabricmc.net/net/minecraft/23w13a_or_b_original.json
Downloaded version info 23w13a_or_b_original is valid (checksums match)
Reading extra metadata for 24w14potato_original...
Fetching version info 24w14potato_original from: https://maven.fabricmc.net/net/minecraft/24w14potato_original.json
Downloaded version info 24w14potato_original is valid (checksums match)
Decompiler log output is suppressed!
Exception in thread "main" java.lang.RuntimeException: There is no root node. This either means, that the graph is empty, or that it contains a cycle.
        at com.github.winplay02.gitcraft.util.MiscHelper.panic(MiscHelper.java:54)
        at com.github.winplay02.gitcraft.graph.Graph.testGraphConnectivity(Graph.java:132)
        at com.github.winplay02.gitcraft.graph.AbstractVersionGraph.reconnectGraph(AbstractVersionGraph.java:81)
        at com.github.winplay02.gitcraft.graph.AbstractVersionGraph.<init>(AbstractVersionGraph.java:30)
        at com.github.winplay02.gitcraft.MinecraftVersionGraph.<init>(MinecraftVersionGraph.java:38)
        at com.github.winplay02.gitcraft.MinecraftVersionGraph.filterMapping(MinecraftVersionGraph.java:259)
        at com.github.winplay02.gitcraft.GitCraftApplication.doVersionGraphOperations(GitCraftApplication.java:122)
        at com.github.winplay02.gitcraft.GitCraft.run(GitCraft.java:44)
        at com.github.winplay02.gitcraft.GitCraftApplication.mainEntrypoint(GitCraftApplication.java:71)
        at com.github.winplay02.gitcraft.GitCraft.main(GitCraft.java:25)

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