Once again having issues with the client
-
- Premium Donator
- Posts: 37
- Joined: Tue Jan 19, 2021 5:07 am
Once again having issues with the client
I'm having the same issue with the jar file that I was experiencing a few days ago.
When I try to open the client in Linux terminal, it gets as far as "checking for cache version" before stalling. The client remains translucent, and glitches when I move it.
I've tried deleting the file, and re-downloading it, uninstalling and re-installing Java, and rebooting my computer. All to no avail. Any help would be appreciated.
When I try to open the client in Linux terminal, it gets as far as "checking for cache version" before stalling. The client remains translucent, and glitches when I move it.
I've tried deleting the file, and re-downloading it, uninstalling and re-installing Java, and rebooting my computer. All to no avail. Any help would be appreciated.
-
- Developer
- Posts: 2696
- Joined: Sun Dec 30, 2018 2:50 am
Re: Once again having issues with the client
Hello again,
Try finding the “PkHonor” folder (it should be in your user folder, at least on Windows it is) and delete the “cache” folder inside of it. Then try the client. (EDIT: When you load the jar from CLI the cache folder location is printed to the terminal)
If that doesn’t work, it’s possible a firewall or anti malware service is blocking the download for whatever reason. I’m not going to outright recommend you turn them off, but if you were to do so, do not forget to turn them back on after. Let me know it goes if you give that a try.
Same as last time I’ll give it a go on my own VM and see what happens. It’s possible the last update caused something to break on Linux
Edit 2: I've downloaded the cache successfully. It's something specific to your machine. I'm not very familiar with Linux but the things that come to mind are:
'PkHonor' folder (and subfolder) permissions
Network connection issues
Java version
Try finding the “PkHonor” folder (it should be in your user folder, at least on Windows it is) and delete the “cache” folder inside of it. Then try the client. (EDIT: When you load the jar from CLI the cache folder location is printed to the terminal)
If that doesn’t work, it’s possible a firewall or anti malware service is blocking the download for whatever reason. I’m not going to outright recommend you turn them off, but if you were to do so, do not forget to turn them back on after. Let me know it goes if you give that a try.
Same as last time I’ll give it a go on my own VM and see what happens. It’s possible the last update caused something to break on Linux
Edit 2: I've downloaded the cache successfully. It's something specific to your machine. I'm not very familiar with Linux but the things that come to mind are:
'PkHonor' folder (and subfolder) permissions
Network connection issues
Java version
-
- Premium Donator
- Posts: 37
- Joined: Tue Jan 19, 2021 5:07 am
Re: Once again having issues with the client
I deleted my cache, and it didn't change anything. It can't be my firewall, because I didn't change anything when it started doing this the first time, nor this time. The permissions are fine, because I'm able to access them via the terminal.Raj wrote: ↑Sun Jan 24, 2021 1:01 pm Hello again,
Try finding the “PkHonor” folder (it should be in your user folder, at least on Windows it is) and delete the “cache” folder inside of it. Then try the client. (EDIT: When you load the jar from CLI the cache folder location is printed to the terminal)
If that doesn’t work, it’s possible a firewall or anti malware service is blocking the download for whatever reason. I’m not going to outright recommend you turn them off, but if you were to do so, do not forget to turn them back on after. Let me know it goes if you give that a try.
Same as last time I’ll give it a go on my own VM and see what happens. It’s possible the last update caused something to break on Linux
Edit 2: I've downloaded the cache successfully. It's something specific to your machine. I'm not very familiar with Linux but the things that come to mind are:
'PkHonor' folder (and subfolder) permissions
Network connection issues
Java version
My connection is fine.
I tried uninstalling, and re-installing JDE and that didn't do anything either. I didn't update Java, either.
Is there anything else that comes to mind that could possibly be the cause of the issue?
Edit: The terminal gave me an error upon closing the client. It is as follows:
java.lang.NullPointerException
at pkhonor.Client.OO(Unknown Source)
at pkhonor.mQzE.run(Unknown Source)
at pkhonor.Client.run(Unknown Source)
at java.lang.Thread.run(Thread.java:748)
Last edited by Rayth on Sun Jan 24, 2021 2:20 pm, edited 1 time in total.
-
- Developer
- Posts: 2696
- Joined: Sun Dec 30, 2018 2:50 am
Re: Once again having issues with the client
Nothing else unfortunately. If you give me your OS version I can try and replicate it. @Rapsey might be more well-versed in the specifics of what could cause a hang there if he has time to look into it
-
- Premium Donator
- Posts: 37
- Joined: Tue Jan 19, 2021 5:07 am
Re: Once again having issues with the client
"PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/""
I also got an error when I closed the client this time, as noted above in my previous client.
- Rapsey
- Sysadmin
- Posts: 5505
- Joined: Tue Dec 01, 2009 8:00 am
- Location: Belgium
Re: Once again having issues with the client
Do you use Oracle Java or OpenJDK? You can find out by running this in a terminal:
If it is OpenJDK you could try the portable client and start it by running the Play_PkHonor_Linux.sh startup script, that will make it use the bundled Oracle Java. I've been running PkHonor on Debian-based Linux using Oracle Java for years and never had any issues, although OpenJDK should work as well.
Do you know what desktop environment / window manager you are using?
Code: Select all
java -version
Do you know what desktop environment / window manager you are using?
-
- Premium Donator
- Posts: 37
- Joined: Tue Jan 19, 2021 5:07 am
Re: Once again having issues with the client
I'm using OpenJDK, and no I don't know what desktop environment / window manager I'm are using. I'll try your suggestion for using the portable client, and see if it works.Rapsey wrote: ↑Sun Jan 24, 2021 2:34 pm Do you use Oracle Java or OpenJDK? You can find out by running this in a terminal:If it is OpenJDK you could try the portable client and start it by running the Play_PkHonor_Linux.sh startup script, that will make it use the bundled Oracle Java. I've been running PkHonor on Debian-based Linux using Oracle Java for years and never had any issues, although OpenJDK should work as well.Code: Select all
java -version
Do you know what desktop environment / window manager you are using?
-
- Premium Donator
- Posts: 37
- Joined: Tue Jan 19, 2021 5:07 am
Re: Once again having issues with the client
No, it didn't work, I'm still having the same issue. Also, when I ran the script it told me that /jre/executables.txt and /jre/linux/bin/java is no such file or directory.Rapsey wrote: ↑Sun Jan 24, 2021 2:34 pm Do you use Oracle Java or OpenJDK? You can find out by running this in a terminal:If it is OpenJDK you could try the portable client and start it by running the Play_PkHonor_Linux.sh startup script, that will make it use the bundled Oracle Java. I've been running PkHonor on Debian-based Linux using Oracle Java for years and never had any issues, although OpenJDK should work as well.Code: Select all
java -version
Do you know what desktop environment / window manager you are using?
-
- Developer
- Posts: 2696
- Joined: Sun Dec 30, 2018 2:50 am
Re: Once again having issues with the client
@Rayth what does it say when you do java -version in the CLI?
A couple Google searches are making me think you have a 32-bit Java version installed on a 64-bit OS (or vice versa), although it's not certain that your issue is the same issue as what's being answered. See https://askubuntu.com/questions/634024/ ... -directory
A couple Google searches are making me think you have a 32-bit Java version installed on a 64-bit OS (or vice versa), although it's not certain that your issue is the same issue as what's being answered. See https://askubuntu.com/questions/634024/ ... -directory
-
- Premium Donator
- Posts: 37
- Joined: Tue Jan 19, 2021 5:07 am
Re: Once again having issues with the client
It says "openjdk version "1.8.0_275"Raj wrote: ↑Sun Jan 24, 2021 4:39 pm @Rayth what does it say when you do java -version in the CLI?
A couple Google searches are making me think you have a 32-bit Java version installed on a 64-bit OS (or vice versa), although it's not certain that your issue is the same issue as what's being answered. See https://askubuntu.com/questions/634024/ ... -directory
OpenJDK Runtime Environment (build 1.8.0_275-8u275-b01-1~deb9u1-b01)
OpenJDK 64-Bit Server VM (build 25.275-b01, mixed mode)"
I haven't changed the what bit version of Java I'm using from the last time it work, so I'm not so sure that's the issue.
Last edited by Rayth on Sun Jan 24, 2021 6:37 pm, edited 1 time in total.