PojavLauncher icon indicating copy to clipboard operation
PojavLauncher copied to clipboard

[ERROR]Forge and Optifine System is broken

Open Vylesh opened this issue 3 years ago • 13 comments

Describe the bug

INFORMATION ABOUT PROBLEM : Idk but i was downloaded game from lastest action and and game is gives this error : java.lang.RuntimeException: java.lang.ClassCastException: com.google.gson.internal.LinkedTreeMap cannot be cast to net.kdt.pojavlaunch.JMinecraftVersionList at net.kdt.pojavlaunch.Tools.getVersionInfo(Tools.java:740) at net.kdt.pojavlaunch.Tools.getVersionInfo(Tools.java:644) at net.kdt.pojavlaunch.tasks.MinecraftDownloaderTask.findVersion(MinecraftDownloaderTask.java:525) at net.kdt.pojavlaunch.tasks.MinecraftDownloaderTask.doInBackground(MinecraftDownloaderTask.java:54) at net.kdt.pojavlaunch.tasks.MinecraftDownloaderTask.doInBackground(MinecraftDownloaderTask.java:27) at android.os.AsyncTask$3.call(AsyncTask.java:394) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:920) Caused by: java.lang.ClassCastException: com.google.gson.internal.LinkedTreeMap cannot be cast to net.kdt.pojavlaunch.JMinecraftVersionList at net.kdt.pojavlaunch.Tools.getVersionInfo(Tools.java:659) ... 10 more

The log file and images/videos

Screenshot_20221102-112316_PojavLauncher (Minecraft Java Edition for Android)

Steps To Reproduce

1-)Download lastest build from here
https://github.com/PojavLauncherTeam/PojavLauncher/actions/runs/3371778673
2-)Enter with account and enter as normal 1.19.2 game
3-)Exit game and download Optifine or forge
4-) click play button

Expected Behavior

Enter the game

Platform

- Device model :Samsung Galaxy M31
- GPU architecture : Octa-core (4x2.3 GHz Cortex-A73 & 4x1.7 GHz Cortex-A53)
- Android Version : 12
- Pojavlauncher version: this version in this link (from action): https://github.com/PojavLauncherTeam/PojavLauncher/actions/runs/3371778673:

Anything else?

Idk really I hope it can be fixed asap

Vylesh avatar Nov 02 '22 08:11 Vylesh

I also got this issue. Just hope the devs will come across this issue

Thollp avatar Nov 02 '22 13:11 Thollp

bro in action #3997 is working normally, I'm even playing sodium with the new render, install it and it will work normally

LoranGold avatar Nov 02 '22 14:11 LoranGold

Here is the link

https://github.com/PojavLauncherTeam/PojavLauncher/actions/runs/3370199705

LoranGold avatar Nov 02 '22 14:11 LoranGold

@Mathias-Boulay I'm having the same problem with the current versions, if you can solve the problem thank you Obs:The only one that's working for me and the one above

LoranGold avatar Nov 02 '22 23:11 LoranGold

bro in action #3997 is working normally, I'm even playing sodium with the new render, install it and it will work normally

Yeah ik 3998 3999 and 4000 is broken but 3997 is works well

Vylesh avatar Nov 03 '22 05:11 Vylesh

Until they release a new version that works this is the best option

LoranGold avatar Nov 05 '22 03:11 LoranGold

But i have this problem in #3997 so what u do next

anshoo2745 avatar Nov 11 '22 09:11 anshoo2745

But i have this problem in #3997 so what u do next

doubt

GaucovyAero avatar Nov 11 '22 09:11 GaucovyAero

Really how can I fix this

anshoo2745 avatar Nov 11 '22 10:11 anshoo2745

Really how can I fix this

use your mind and hands to uninstall pojav, delete all its data, restart your phone and download 3997

GaucovyAero avatar Nov 11 '22 10:11 GaucovyAero

But i have many versions installed and controls how can I save that if i can than i will do this

anshoo2745 avatar Nov 11 '22 10:11 anshoo2745

But i have many versions installed and controls how can I save that if i can than i will do this

in that case i recommend you to back up the pojavlauncher folder

GaucovyAero avatar Nov 11 '22 10:11 GaucovyAero

That thing only i done ✅ before downloading this #3997 version of pojav

anshoo2745 avatar Nov 11 '22 10:11 anshoo2745

fixed in the latest play store build

GaucovyAero avatar Jan 25 '23 11:01 GaucovyAero