Invalid cache Load Exception

Any questions? Need some help?
Post Reply
Modius
Posts: 3
Joined: 04 Feb 2019, 17:02

Invalid cache Load Exception

Post by Modius » 04 Feb 2019, 17:06

Can annyone help with this?

when i click match i get this
InvalidCacheLoadException: cache loader returned null for key

Anyone!?!?!?! :roll:

thanks

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

Re: Invalid cache Load Exception

Post by rednoah » 04 Feb 2019, 17:40

What version / revision of FileBot are you using?

Can you check the log file for detailed debug logs?
:idea: Please read the FAQ and How to Request Help.

Modius
Posts: 3
Joined: 04 Feb 2019, 17:02

Re: Invalid cache Load Exception

Post by Modius » 04 Feb 2019, 23:22

i dont know how to do that??
Filebot 4.8.5

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

Re: Invalid cache Load Exception

Post by rednoah » 05 Feb 2019, 08:40

I'm uploading new 4.8.5 beta builds, i.e. r6061. Please give it a try and see if it fixes the problem.


Alternatively, the 4.8.2 stable release should work out of the box:
https://www.filebot.net/#download
:idea: Please read the FAQ and How to Request Help.

bataIllic
Posts: 3
Joined: 05 Feb 2019, 08:33

Re: Invalid cache Load Exception

Post by bataIllic » 05 Feb 2019, 08:52

Hi, same error here after updating from 4.8.2 (r5789) to 4.8.5 (r6052)

sysinfo gives:
-script "fn:sysinfo"
FileBot 4.8.5 (r6052)
JNA Native: 5.2.2
MediaInfo: 0.7.73
7-Zip-JBinding: 9.20
Chromaprint: 1.1.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-02-02 (r543)
Groovy: 2.5.5
JRE: Java(TM) SE Runtime Environment 1.8.0_192-ea
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 4 Core / 205 MB Max Memory / 15 MB Used Memory
OS: Linux (arm)
HW: Linux rPi2 4.19.17 #1 SMP Tue Jan 29 11:27:55 EST 2019 armv7l GNU/Linux
DATA: /storage/filebot/data
Package: IPKG
License: FileBot License **** (Valid-Until: ****)
Done ヾ(@⌒ー⌒@)ノ
When running amc script

Code: Select all

filebot -script fn:amc -non-strict --log-file $LogFile --conflict skip --lang de --def minFileSize=0 minLengthMS=0 --def clean=y skipExtract=y reportError=n storeReport=n artwork=n unsorted=n "$SeriesFormat" "$MovieFormat" "$AnimeFormat" "$ExtractFolder" --def pushover=**** --def xbmc=127.0.0.1
I get two errors and the file Signale.mkv, which is usually recognized correctly by amc, is not processed:
com.google.common.cache.CacheLoader$InvalidCacheLoadException: CacheLoader returned null for key Signale.mkv.
CacheLoader returned null for key Signale.mkv.
com.google.common.cache.CacheLoader$InvalidCacheLoadException: CacheLoader returned null for key Signale.mkv.
at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2314)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2278)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2154)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2044)
at com.google.common.cache.LocalCache.get(LocalCache.java:3952)
at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4871)
at net.filebot.media.XattrMetaInfo.getXattrValue(XattrMetaInfo.java:73)
at net.filebot.media.XattrMetaInfo.getMetaInfo(XattrMetaInfo.java:59)
at net.filebot.media.MediaDetection.isMovie(MediaDetection.java:128)
at net.filebot.cli.ScriptShellMethods.isMovie(ScriptShellMethods.java:455)
at Script1.forceMovie(Script1.groovy:63)
at Script1$_run_closure50.doCall(Script1.groovy:335)
at Script1.run(Script1.groovy:324)
at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:64)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:74)
at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:149)
at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:36)
at net.filebot.Main.main(Main.java:128)

Failure (°_°)
Done!
When I disable xattr, i.e. setting -no-xattr, I get only one error and the file is being processed:
shortened output wrote:com.google.common.cache.CacheLoader$InvalidCacheLoadException: CacheLoader returned null for key Signale.mkv.
Rename episodes using [TheTVDB]
Auto-detected query:
Fetching episode data for
[MOVE]
Processed 1 files
Notify Kodi:
POST:
Sending Pushover notification
Clean clutter files and empty folders
Done ヾ(@⌒ー⌒@)ノ
Done!
Any help or comment is appreciated. Meanwhile I will try your new release.

Kind regards

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

Re: Invalid cache Load Exception

Post by rednoah » 05 Feb 2019, 09:32

Please try the newly uploaded r6061 build.
:idea: Please read the FAQ and How to Request Help.

Modius
Posts: 3
Joined: 04 Feb 2019, 17:02

Re: Invalid cache Load Exception

Post by Modius » 06 Feb 2019, 23:09

rednoah wrote:
05 Feb 2019, 08:40
I'm uploading new 4.8.5 beta builds, i.e. r6061. Please give it a try and see if it fixes the problem.


Alternatively, the 4.8.2 stable release should work out of the box:
https://www.filebot.net/#download
where can i download the r6061?? link please

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

Re: Invalid cache Load Exception

Post by rednoah » 07 Feb 2019, 03:07

The latest 4.8.5 beta builds are available here, and updated every few days:
https://get.filebot.net/filebot/FileBot_4.8.5/
:idea: Please read the FAQ and How to Request Help.

bataIllic
Posts: 3
Joined: 05 Feb 2019, 08:33

Re: Invalid cache Load Exception

Post by bataIllic » 08 Feb 2019, 18:39

r6061 works for me now. Thanks alot

I do have the feeling that 4.8.5 runs faster than 4.8.2.

Still have to find out how to store xattr (-Dnet.filebot.xattr.store) of files having special chars, such as ä,ö,ü or ß.

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

Re: Invalid cache Load Exception

Post by rednoah » 09 Feb 2019, 03:27

bataIllic wrote:
08 Feb 2019, 18:39
I do have the feeling that 4.8.5 runs faster than 4.8.2.
That's the idea of caching things better. Might need more memory though. But I did fix a few potential memory leaks as well.

bataIllic wrote:
08 Feb 2019, 18:39
Still have to find out how to store xattr (-Dnet.filebot.xattr.store) of files having special chars, such as ä,ö,ü or ß.
What's not working? There's nothing special about ä,ö,ü or ß as far as FileBot is concerned. Are you using Linux? What does filebot -script fn:sysinfo say?
:idea: Please read the FAQ and How to Request Help.

bataIllic
Posts: 3
Joined: 05 Feb 2019, 08:33

Re: Invalid cache Load Exception

Post by bataIllic » 12 Feb 2019, 12:00

Sorry for the delayed response, but this issue was a bit tricky for me.

It turned out that something was wrong with locale installation.

I am running filebot on a linux system on a raspberry.
-script "fn:sysinfo" gives wrote: FileBot 4.8.5 (r6061)
JNA Native: 5.2.2
MediaInfo: 0.7.73
7-Zip-JBinding: 9.20
Chromaprint: 1.1.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-02-08 (r546)
Groovy: 2.5.5
JRE: Java(TM) SE Runtime Environment 1.8.0_192-ea
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 4 Core / 205 MB Max Memory / 12 MB Used Memory
OS: Linux (arm)
HW: Linux rPi2 4.19.17 #1 SMP Tue Jan 29 11:27:55 EST 2019 armv7l GNU/Linux
DATA: /storage/filebot/data
Package: TAR
License: FileBot License **** (Valid-Until: ******)
Done ヾ(@⌒ー⌒@)ノ
Although locale was set properly, locale output was fine and unicode was activated in filebot,

Code: Select all

export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
running the AMC script, non-ASCII filenames were not handled properly and were not renamed. Running the AMC script, ASCII filenames were handled properly and were renamed to non-ASCII files without any error, except that xattr were not saved. However, filebot -rename can handle non-ASCII filenames properly and renames non-ASCII files to non-ASCII files without any error, except that xattr are not saved (see (ii) below).

Anyway, it turned out that "en_US.UTF-8" was not installed and I had to install it manually. Now, everything works fine, including AMC and xattr.

Post Reply