Jump to content

Error running client: Exception in thread "main" java.io.UncheckedIOException: java.io.IOException: Invalid paths argument


Recommended Posts

Posted

So, theres no much more to say, was running the client just fine ( With the IDE ), It didn't throw any error.

But i had to compile to test a feature, i copied the file, deleted the build folder and when i tried to run the client, it throws this error:

Exception in thread "main" java.io.UncheckedIOException: java.io.IOException: Invalid paths argument, contained no existing paths: [\mod\bin\default]

I think deleting the build folder may have caused the problem, sorry if this is obvious but im new to the modding world even if i knew a bit of java before.

And last my apollogies if theres any Spelling/Grammar mistake, im not english native.

Posted
  On 8/29/2022 at 3:02 PM, Troglodo said:

But i had to compile to test a feature, i copied the file, deleted the build folder and when i tried to run the client, it throws this error

Expand  

How did you test the feature?

Please provide the debug.log (which includes the full error).

Posted
  On 8/29/2022 at 3:55 PM, Luis_ST said:

How did you test the feature?

Please provide the debug.log (which includes the full error).

Expand  

It has to do with the name, if the name is X do something. Nothing crazy. I exported to jar to try it out with different names.

How do i upload the debug.log?

Posted
  On 8/29/2022 at 4:05 PM, Troglodo said:

It has to do with the name, if the name is X do something. Nothing crazy. I exported to jar to try it out with different names.

Expand  

I have zero idea what exactly you are talking about. What did you mean with "name".

Note: You need to use gradle build to create the .jar file, you can not use the export feature of your IDE.

  On 8/29/2022 at 4:05 PM, Troglodo said:

How do i upload the debug.log?

Expand  

You can use https://gist.github.com/ to upload larger text files.

Posted
  On 8/29/2022 at 4:20 PM, Luis_ST said:

I have zero idea what exactly you are talking about. What did you mean with "name".

Note: You need to use gradle build to create the .jar file, you can not use the export feature of your IDE.

You can use https://gist.github.com/ to upload larger text files.

Expand  

The player name, sorry for not explaining my self

I did .\gradlew build in the terminal

here you go: https://gist.github.com/elkeTmata/3dad9e8e54866d58e0b53ac54fb2bb13

Posted
  On 8/29/2022 at 3:02 PM, Troglodo said:

Exception in thread "main" java.io.UncheckedIOException: java.io.IOException: Invalid paths argument, contained no existing paths: [\mod\bin\default]

Expand  

The log you post does not contains any error, the only thing thing i found was a disconnect while joining a World.

Where did you get this Error?

Posted
  On 8/29/2022 at 3:02 PM, Troglodo said:

deleted the build folder

Expand  

Are you sure you delete the build folder and not the bin folder?

I'm not entirely sure, but I think you're using Eclipse as IDE?
If yes delete the Project from your IDE, regenerate the Project by running gradlew eclipse and gradle genEclipseRuns.
Then reimport the Project.

Posted
  On 8/29/2022 at 4:47 PM, Luis_ST said:

Are you sure you delete the build folder and not the bin folder?

I'm not entirely sure, but I think you're using Eclipse as IDE?
If yes delete the Project from your IDE, regenerate the Project by running gradlew eclipse and gradle genEclipseRuns.
Then reimport the Project.

Expand  

Worked! Thank you very much. Just deleted and reimported

 

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.