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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...