Exception when renaming a file

Any questions? Need some help?
Post Reply
darkvinill
Posts: 15
Joined: 23 Feb 2018, 23:35

Exception when renaming a file

Post by darkvinill »

Hello i'm getting errors when trying to rename a file.
I'm using the following code:

Code: Select all

filebot --db TheTVDB -rename "/path/to/file.mkv" --format "{n} - {s00e00} - {t}" --output "output/path"
it renames successfully but shows the following error:

Code: Select all

Processed 1 files
Exception in thread "HistorySpoolerShutdownHook" java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext
	at net.filebot.History.exportHistory(History.java:199)
	at net.filebot.HistorySpooler.commit(HistorySpooler.java:80)
	at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBContext
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:185)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
	... 3 more
Details:
  • java version "9.0.4"
    OS: macOS High Sierra 10.13.3
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Exception when renaming a file

Post by rednoah »

The version of FileBot you're using is only compatible with Java 8. If you use Java 9 then you will get this error because the JAXB module is no longer included or accessible by default in Java 9.
:idea: Please read the FAQ and How to Request Help.
darkvinill
Posts: 15
Joined: 23 Feb 2018, 23:35

Re: Exception when renaming a file

Post by darkvinill »

rednoah wrote: 25 Feb 2018, 04:47 The version of FileBot you're using is only compatible with Java 8. If you use Java 9 then you will get this error because the JAXB module is no longer included or accessible by default in Java 9.
Is there a new version ?
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Exception when renaming a file

Post by rednoah »

Maybe. What version are you using?
:idea: Please read the FAQ and How to Request Help.
darkvinill
Posts: 15
Joined: 23 Feb 2018, 23:35

Re: Exception when renaming a file

Post by darkvinill »

FileBot 4.7.9 (r4984) / Java(TM) SE Runtime Environment 9.0.4 / Mac OS X 10.13.3 (x86_64)

Instaled using : viewtopic.php?t=2049 (" feeling lazy ")
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Exception when renaming a file

Post by rednoah »

Due to a forward-compatibility bug, you will need to uninstall Java 9 and then only install Java 8.
:idea: Please read the FAQ and How to Request Help.
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

Re: Exception when renaming a file

Post by kim »

Maybe you can use this ?

viewtopic.php?f=8&p=30888#p30901
Post Reply