Skip to content

Using forge-1.12.2-14.23.5.2854-installer.jar as loader causes NPE #347

@Heimdell

Description

@Heimdell

The exception log is:

To report this error, please provide:

java.lang.NullPointerException
	at com.skcraft.launcher.builder.PackageBuilder.processLoader(PackageBuilder.java:197)
	at com.skcraft.launcher.builder.PackageBuilder.addLoaders(PackageBuilder.java:127)
	at com.skcraft.launcher.builder.PackageBuilder.main(PackageBuilder.java:401)
	at com.skcraft.launcher.creator.controller.task.PackBuilder.call(PackBuilder.java:66)
	at com.skcraft.launcher.creator.controller.task.PackBuilder.call(PackBuilder.java:21)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

So, the reason being, in launcher-builder/src/main/java/com/skcraft/launcher/builder/PackageBuilder.java:157 the

InstallProfile profile = mapper.readValue(data, InstallProfile.class);

pulls the profile that looks like this:

InstallProfile(installData=null, versionInfo=null)

I've put forge-1.12.2-14.23.5.2854-installer.jar into ./loaders/ of my modpack.

My system is Linux.

I've selected 1.12.2 as modpack minecraft version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions