PojavLauncherTeam / PojavLauncher

A Minecraft: Java Edition Launcher for Android and iOS based on Boardwalk. This repository contains source code for Android platform.
GNU Lesser General Public License v3.0
6.85k stars 1.29k forks source link

Whatch the video.[BUG] <Short description> #4530

Closed lzfddkd closed 1 year ago

lzfddkd commented 1 year ago

Describe the bug

Uploading Screenrecorder-2023-08-28-20-02-26-459.mp4…

The log file and images/videos

https://github.com/PojavLauncherTeam/PojavLauncher/assets/127660329/6902cb6f-0973-479c-8b36-5b6dfb5337cb

Steps To Reproduce

Start PojavLauncher
Create new profile
Choose Forge
Close error tips
Back Launcher's home
Create new profile
Choose anyone
Now that the bug appears, Whichever you choose, this error tips window will appear when you return to the PojavLauncher's home

Expected Behavior

no

Platform

- Device model: Redmi K30 Pro
- CPU architecture: aarch64
- Android version: 12
- PojavLauncher version: dahlia-20230828-ede5c73-
- CPU:Snapdragon 865

Anything else?

No response

Mathias-Boulay commented 1 year ago

Can you click "show more" and paste the full error here ? Also the version you stated doesn't seem to be mainline, please reproduce the bug with the mainline version

MovTery commented 1 year ago

Can you click "show more" and paste the full error here ? Also the version you stated doesn't seem to be mainline, please reproduce the bug with the mainline version

java.net.MalformedURLException: no protocol: https://maven.minecraftforge.net/net/minecraftforge/forge/maven-metadata.xml at java.net.URL.(URL.java:601) at java.net.URL.(URL.java:498) at java.net.URL.(URL.java:447) at net.kdt.pojavlaunch.utils.DownloadUtils.download(DownloadUtils.java:18) at net.kdt.pojavlaunch.utils.DownloadUtils.downloadString(DownloadUtils.java:51) at net.kdt.pojavlaunch.utils.DownloadUtils.downloadStringCached(DownloadUtils.java:138) at net.kdt.pojavlaunch.modloaders.ForgeUtils.downloadForgeVersions(ForgeUtils.java:43) at net.kdt.pojavlaunch.modloaders.ForgeUtils.downloadAllForgeVersions(ForgeUtils.java:94) at net.kdt.pojavlaunch.fragments.ForgeInstallFragment.loadVersionList(ForgeInstallFragment.java:52) at net.kdt.pojavlaunch.fragments.ForgeInstallFragment.loadVersionList(ForgeInstallFragment.java:22) at net.kdt.pojavlaunch.fragments.ModVersionListFragment.run(ModVersionListFragment.java:70) at java.lang.Thread.run(Thread.java:923)

lzfddkd commented 1 year ago

Can you click "show more" and paste the full error here ? Also the version you stated doesn't seem to be mainline, please reproduce the bug with the mainline version

The error pop-up is because Forge has deleted metadata.xml and will pop up the error pop-up when retrieval fails

lzfddkd commented 1 year ago

Can you click "show more" and paste the full error here ? Also the version you stated doesn't seem to be mainline, please reproduce the bug with the mainline version

But i don't think it should appear choose other and back to PojavLauncher's home

lzfddkd commented 1 year ago

Can you click "show more" and paste the full error here ? Also the version you stated doesn't seem to be mainline, please reproduce the bug with the mainline version

But I am using the latest action version

NotAHero04 commented 1 year ago

java.net.MalformedURLException: no protocol: https://maven.minecraftforge.net/net/minecraftforge/forge/maven-metadata.xml at java.net.URL.(URL.java:601) at java.net.URL.(URL.java:498) at java.net.URL.(URL.java:447) at net.kdt.pojavlaunch.utils.DownloadUtils.download(DownloadUtils.java:18) at net.kdt.pojavlaunch.utils.DownloadUtils.downloadString(DownloadUtils.java:51) at net.kdt.pojavlaunch.utils.DownloadUtils.downloadStringCached(DownloadUtils.java:138) at net.kdt.pojavlaunch.modloaders.ForgeUtils.downloadForgeVersions(ForgeUtils.java:43) at net.kdt.pojavlaunch.modloaders.ForgeUtils.downloadAllForgeVersions(ForgeUtils.java:94) at net.kdt.pojavlaunch.fragments.ForgeInstallFragment.loadVersionList(ForgeInstallFragment.java:52) at net.kdt.pojavlaunch.fragments.ForgeInstallFragment.loadVersionList(ForgeInstallFragment.java:22) at net.kdt.pojavlaunch.fragments.ModVersionListFragment.run(ModVersionListFragment.java:70) at java.lang.Thread.run(Thread.java:923)

Please downgrade to a previous build. The build you are using is from #4528, which is unfinished and is buggy. It was fixed, however I still do not recommend using it as the code is still very messy at the moment.

Mathias-Boulay commented 1 year ago

Closing as it is not a mainline build bug, nor a build from our repository.