URI has an authority component

Support for Windows users
Post Reply
ChrisLuther
Posts: 4
Joined: 07 Apr 2021, 18:36

URI has an authority component

Post by ChrisLuther »

Not sure when this started to be an issue. May even be since reinstalling windows as it worked about 4 weeks ago and I reinstalled 3 weeks ago.

When I use FileBot now and try to rename something it comes up wanting licence code but says under the options java.lang.IllegalArgumentException: URI has an authority component. The licence is already added but if I add again it flashes up added sucessfully, but still gives same error like it's unlicenced.

I have just tried to set up a new replacement portable folder and restored the config.

CMD windows shows

Code: Select all

Unknown Error: URI has an authority component
java.lang.IllegalArgumentException: URI has an authority component
        at net.filebot.util.Digest.digestApplicationClass(Unknown Source)
        at net.filebot.LicenseModel$1.check(Unknown Source)
        at Script.run(Script:319)
        at net.filebot.GroovyEngine.eval(Unknown Source)
        at net.filebot.cli.ScriptShell.evaluate(Unknown Source)
        at net.filebot.cli.ScriptShell.runScript(Unknown Source)
        at net.filebot.cli.ScriptShellBaseClass.executeScript(Unknown Source)
        at net.filebot.cli.ScriptShellBaseClass.runScript(Unknown Source)
        at Script.run(Script:1)
        at net.filebot.GroovyEngine.eval(Unknown Source)
        at net.filebot.cli.ScriptShell.evaluate(Unknown Source)
        at net.filebot.ui.console.GroovyPad$Runner.eval(Unknown Source)
        at net.filebot.ui.console.GroovyPad$Runner.lambda$new$0(Unknown Source)

Code: Select all

License: java.lang.IllegalArgumentException: URI has an authority component
System Information

Code: Select all

FileBot 5.1.1 (r9982)
JNA Native: 6.1.4
MediaInfo: 23.07
7-Zip-JBinding: 16.02
Tools: fpcalc/1.5.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2023-09-10 (r939)
Groovy: 4.0.14
JRE: OpenJDK Runtime Environment 17.0.8
JVM: OpenJDK 64-Bit Server VM
FILEBOT_OPTS: -Dapplication.dir=V:\Portable\FileBot\Data
CPU/MEM: 8 Core / 8 GB Max Memory / 303 MB Used Memory
OS: Windows 11 (amd64)
STORAGE: NTFS [(C:)] @ 143 GB | NTFS [Games] @ 767 GB | NTFS [Steam Games] @ 245 GB | NTFS [Steam Games] @ 276 GB | NTFS [Switch] @ 123 GB | NTFS [Downloads] @ 37 GB | NTFS [Installs] @ 19 GB | NTFS [(W:)] @ 29 GB | NTFS [(X:)] @ 29 GB | NTFS [home] @ 567 GB | NTFS [Misc] @ 2.5 GB
DATA: V:\Portable\FileBot\Data
Package: ZIP
License: java.lang.IllegalArgumentException: URI has an authority component
Logs

Code: Select all

# V:\Portable\FileBot\Data\logs\error.log
Sep 23, 2023 5:00:37 PM net.filebot.DiskStore acquireDiskStore
WARNING: Initialize new disk cache: V:\Portable\FileBot\Data\cache\0
Sep 23, 2023 5:01:27 PM net.filebot.LicenseModel$1 check
WARNING: Unknown Error: URI has an authority component
java.lang.IllegalArgumentException: URI has an authority component
	at net.filebot.util.Digest.digestApplicationClass(Unknown Source)
	at net.filebot.LicenseModel$1.check(Unknown Source)
	at Script.run(Script:319)
	at net.filebot.GroovyEngine.eval(Unknown Source)
	at net.filebot.cli.ScriptShell.evaluate(Unknown Source)
	at net.filebot.cli.ScriptShell.runScript(Unknown Source)
	at net.filebot.cli.ScriptShellBaseClass.executeScript(Unknown Source)
	at net.filebot.cli.ScriptShellBaseClass.runScript(Unknown Source)
	at Script.run(Script:1)
	at net.filebot.GroovyEngine.eval(Unknown Source)
	at net.filebot.cli.ScriptShell.evaluate(Unknown Source)
	at net.filebot.ui.console.GroovyPad$Runner.eval(Unknown Source)
	at net.filebot.ui.console.GroovyPad$Runner.lambda$new$0(Unknown Source)

Sep 23, 2023 5:09:24 PM net.filebot.LicenseModel$1 check
WARNING: Unknown Error: URI has an authority component
java.lang.IllegalArgumentException: URI has an authority component
	at net.filebot.util.Digest.digestApplicationClass(Unknown Source)
	at net.filebot.LicenseModel$1.check(Unknown Source)
	at Script.run(Script:319)
	at net.filebot.GroovyEngine.eval(Unknown Source)
	at net.filebot.cli.ScriptShell.evaluate(Unknown Source)
	at net.filebot.cli.ScriptShell.runScript(Unknown Source)
	at net.filebot.cli.ScriptShellBaseClass.executeScript(Unknown Source)
	at net.filebot.cli.ScriptShellBaseClass.runScript(Unknown Source)
	at Script.run(Script:1)
	at net.filebot.GroovyEngine.eval(Unknown Source)
	at net.filebot.cli.ScriptShell.evaluate(Unknown Source)
	at net.filebot.ui.console.GroovyPad$Runner.eval(Unknown Source)
	at net.filebot.ui.console.GroovyPad$Runner.lambda$new$0(Unknown Source)
let me know if you need anything else.

Regards

Chris
User avatar
rednoah
The Source
Posts: 22851
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: URI has an authority component

Post by rednoah »

:?: Why are you doing this?

Code: Select all

FILEBOT_OPTS: -Dapplication.dir=V:\Portable\FileBot\Data

:?: What does filebot -script fn:sysinfo say if you unset your custom FILEBOT_OPTS environment variable?


:!: Looks like you might be launching FileBot portable from an invalid file path, a UNC path perhaps, which FileBot portable does not allow, then found a way to trick the check, except the check is there for a reason, and FileBot must be launched from a normal file path for all kinds of reasons. That's a lot of conjecture since your OP doesn't mention any of this. Could be something else entirely. :lol:
:idea: Please read the FAQ and How to Request Help.
Post Reply