Jump to content
  • 0

Hello a small problem...


Question

Posted

Hello i have this problem when i am running the GAMESERVER:

 

==================================================================-[ Handlers ]
java.net.URISyntaxException: Illegal character in opaque part at index 39: jar:file:/C:/Users/Manolis/Desktop/Νέος φάκελος (5)/game/./gameserver.jar!/ru/catssoftware/gameserver/handler/itemhandlers
        at java.net.URI$Parser.fail(URI.java:2847)
        at java.net.URI$Parser.checkChars(URI.java:3020)
        at java.net.URI$Parser.parse(URI.java:3057)
        at java.net.URI.<init>(URI.java:588)
        at java.net.URL.toURI(URL.java:963)
        at ru.catssoftware.util.JarUtils.enumClasses(JarUtils.java:51)
        at ru.catssoftware.gameserver.handler.ItemHandler.<init>(ItemHandler.java:34)
        at ru.catssoftware.gameserver.handler.ItemHandler.getInstance(ItemHandler.java:26)
        at ru.catssoftware.gameserver.L2GameServer.<init>(L2GameServer.java:470)
        at ru.catssoftware.gameserver.util.BootManager.<init>(BootManager.java:150)
        at ru.catssoftware.gameserver.util.BootManager.main(BootManager.java:41)

3 answers to this question

Recommended Posts

  • 0
Posted (edited)
On 3/6/2021 at 2:20 PM, addx20 said:

Hello i have this problem when i am running the GAMESERVER:

 

==================================================================-[ Handlers ]
java.net.URISyntaxException: Illegal character in opaque part at index 39: jar:file:/C:/Users/Manolis/Desktop/Νέος φάκελος (5)/game/./gameserver.jar!/ru/catssoftware/gameserver/handler/itemhandlers
        at java.net.URI$Parser.fail(URI.java:2847)
        at java.net.URI$Parser.checkChars(URI.java:3020)
        at java.net.URI$Parser.parse(URI.java:3057)
        at java.net.URI.<init>(URI.java:588)
        at java.net.URL.toURI(URL.java:963)
        at ru.catssoftware.util.JarUtils.enumClasses(JarUtils.java:51)
        at ru.catssoftware.gameserver.handler.ItemHandler.<init>(ItemHandler.java:34)
        at ru.catssoftware.gameserver.handler.ItemHandler.getInstance(ItemHandler.java:26)
        at ru.catssoftware.gameserver.L2GameServer.<init>(L2GameServer.java:470)
        at ru.catssoftware.gameserver.util.BootManager.<init>(BootManager.java:150)
        at ru.catssoftware.gameserver.util.BootManager.main(BootManager.java:41)

 

Basically it says that your URI contains invalid characters and it refers to this one:

 

C:/Users/Manolis/Desktop/Νέος φάκελος

 

And this can be because of the Greek "Νέος Φάκελος". Maybe those characters cannot be recognized by Java.

 

It can be also some space or backslashes that you used or an invalid character. Show me the ItemHandler:34

Edited by Kara
  • 0
Posted
20 minutes ago, Kara said:

 

Basically it says that your URI contains invalid characters and it refers to this one:

 


C:/Users/Manolis/Desktop/Νέος φάκελος

 

And this can be because of the Greek language "Νέος Φάκελος". Maybe those characters cannot be recognized by Java.

den ipirxe to utf-8 tote?

  • 0
Posted (edited)
10 minutes ago, iTopZ said:

den ipirxe to utf-8 tote?

[GR] Η εχει κενα καπου η τα backslash η οντως δεν αναγνωριζει τα Ελληνικα αν κ στη 14 που δουλευω τα Ελληνικα τα διαβαζει μια χαρα αν για παραδειγμα κανεις χρηση: 

Paths.get("C:\\Νέος Φάκελος").toFile()

[/GR]

Edited by Kara

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..