java.lang.IllegalArgumentException: 'other' is different type of Path


Solutions on the web

Solution icon of web
via developpez.com by Unknown author, 1 year ago
'other' is different type of Path

Solution icon of github
via GitHub by embee1981
, 6 months ago
'other' has different root

Solution icon of stackoverflow
via Stack Overflow by Unknown author, 1 year ago
'other' has different root

Solution icon of stackoverflow
'other' has different root

Solution icon of github
'other' has different root

Solution icon of github
'other' has different root

Solution icon of github
via GitHub by embee1981
, 5 months ago
'other' has different root

Solution icon of github
via GitHub by luciouskami
, 10 months ago
'other' has different root

Solution icon of googlegroups
via Google Groups by John Geiglein, 3 months ago
'other' has different root

Solution icon of github
via GitHub by luciouskami
, 1 month ago
'other' has different root

Stack trace

java.lang.IllegalArgumentException: 'other' is different type
of Path
	at sun.nio.fs.WindowsPath.relativize(Unknown Source)
	at sun.nio.fs.WindowsPath.relativize(Unknown Source)
	at com.jmdoudoux.test.nio2.TestNIO2.testRelativize3(TestNIO2.java:33)
	at com.jmdoudoux.test.nio2.TestNIO2.main(TestNIO2.java:9)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 5 months ago