java.nio.file.InvalidPathException: UNC path is missing sharename: //dada-agent.js

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

The path should start without the leading "/".

,
Expert tip

The path should start without the leading "/".

Solutions on the web

via GitHub by TonyRice
, 1 year ago
UNC path is missing sharename: //dada-agent.js
via Stack Overflow by matvei
, 1 year ago
UNC path is missing sharename: \\blah
via Stack Overflow by Subbu
, 2 years ago
UNC path is missing sharename: //WG0202
via GitHub by hrstoyanov
, 2 years ago
UNC path is missing sharename: \\xyzinc.aaaaa.bbbbb.com
via GitHub by krystiannowak
, 1 year ago
UNC path is missing sharename: /\my-service-war-exec.jar
java.nio.file.InvalidPathException: UNC path is missing sharename: //dada-agent.js
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:118)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
at java.nio.file.Paths.get(Paths.java:84)
at automately.core.file.VirtualFileSystem.getFileName(VirtualFileSystem.java:275)
at automately.core.services.job.script.ScriptContext.require(ScriptContext.java:770)
at automately.core.services.job.script.ScriptContext$12.call(ScriptContext.java:1507)

Users with the same issue

3 times, 4 weeks ago
Once, 6 months ago
Once, 7 months ago
8 times, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.