PojavLauncher icon indicating copy to clipboard operation
PojavLauncher copied to clipboard

Error Comes up while trying to start the "liteloader with forge" profile.

Open GamingFruit opened this issue 9 months ago • 6 comments

Describe the bug

java.lang.NullPointerException: Attempt to read from field 'net.kdt.pojavlaunch.JMinecraftVersionList$FileProperties net.kdt.pojavlaunch.JMinecraftVersionList$LoggingConfig$LoggingClientConfig.file' on a null object reference in method 'void net.kdt.pojavlaunch.tasks.AsyncMinecraftDownloader.downloadGame(android.app.Activity, net.kdt.pojavlaunch.JMinecraftVersionList$Version, java.lang.String)' at net.kdt.pojavlaunch.tasks.AsyncMinecraftDownloader.downloadGame(AsyncMinecraftDownloader.java:109) at net.kdt.pojavlaunch.tasks.AsyncMinecraftDownloader.lambda$new$0$net-kdt-pojavlaunch-tasks-AsyncMinecraftDownloader(AsyncMinecraftDownloader.java:54) at net.kdt.pojavlaunch.tasks.AsyncMinecraftDownloader$$ExternalSyntheticLambda0.run(Unknown Source:10) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644) at java.lang.Thread.run(Thread.java:1012)

This is the error, please tell me how to fix it, I did everything to fix this error, removed all mods, please tell me a way to fix it. I am losing my mind right now.

The log file and images/videos

Screenshot_20240507_193231_PojavLauncher (Minecraft Java Edition for Android) Screenshot_20240507_193219_PojavLauncher (Minecraft Java Edition for Android)

Steps To Reproduce

Start Pojav Launcher
Click Play on "liteloader with forge 1.12.2"
Error pops up.

Expected Behavior

I expected that the profile will run without any problems.

Platform

- Device model: Samsung Galaxy Tab A8
- CPU architecture: idk
- Android version: 14
- PojavLauncher version: Latest

Anything else?

I installed both forge and liteloader, liteloader has a profile to install on called "liteloader with forge" which is the one I installed for the version 1.12.2 to run both .jar and .litemod mods. Removed all the mods but still did not run and showed the error given below. Thanks.

GamingFruit avatar May 07 '24 14:05 GamingFruit

latest is not a version

GaucovyAero avatar May 07 '24 19:05 GaucovyAero

It's the same. Screenshot_20240825_132715_net kdt pojavlaunch Screenshot_20240825_132722_net kdt pojavlaunch Platform

  • Device model: Huawei P smart 2021
  • Android version: 10

If the words seem a bit strange, I apologize, Thai person . --> Google Translate

SAFTDGG22 avatar Aug 25 '24 06:08 SAFTDGG22

i got it to work, but it requires a pretty difficult json patch

25727

GaucovyAero avatar Sep 18 '24 13:09 GaucovyAero

ima try creating a guide for it

GaucovyAero avatar Sep 18 '24 13:09 GaucovyAero

LiteLoader-with-Forge-Guide-v1.0.txt

https://github.com/user-attachments/assets/55938471-219e-46f3-8ac9-b2a0da9319b7

GaucovyAero avatar Sep 18 '24 15:09 GaucovyAero

help wanted: dunno if devs wanna fix the double inheritance thing or the weird thing where you have to remove the logging line

GaucovyAero avatar Sep 18 '24 15:09 GaucovyAero