Environment
Debian GNU/Linux 13.6, x86-64. Sanitized output from filebot -script fn:sysinfo on the same host and installation:
Code: Select all
FileBot 5.2.3 (r10990)
JNA Native: 7.0.0
MediaInfo: 26.01
7-Zip-JBinding: 16.02
Tools: fpcalc/1.5.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2026-09-10 (r1040)
Groovy: 4.0.28
JRE: OpenJDK Runtime Environment 21.0.3
JVM: OpenJDK 64-Bit Server VM
OS: Linux (amd64)Invocation and observed result
The application invoked the following command; only the temporary root path is replaced with a placeholder:
Code: Select all
filebot -script fn:artwork.tmdb /path/to/temporary-metadata-root \
--q 'Annie Hall (1977)' -non-strict --lang en --log INFO -no-xattrThe corresponding FileBot log ended with:
Code: Select all
Undefined Variable: Cannot invoke method toFloat() on null objectThe process also appears to have returned zero: our application reached a branch that only accepts return code zero. We did not retain the original per-call return-code/stdout/stderr record, so this is an inference from that branch and the saved result, not a separately captured exit-code transcript. Our application should also check for missing outputs; that is a separate issue on our side.
Relevant media information
Read-only inspection using FileBot's bundled libmediainfo.so returned:
Code: Select all
General.Format = Matroska
General.Duration = 5587515
Video.Format = MPEG Video
Video.Duration = <empty>
Video.FrameRate = <empty>
Video.Width = 720
Video.Height = 480
Audio.Format = AC-3
Audio.Duration = 5587515Suspected failing code and expected behavior
In the cached lib/htpc.groovy, line 429 calls the following while building the movie NFO, before saving the XML:
Code: Select all
duration(s.'Duration'.toFloat().div(60000).round(4))Cached script SHA-256 identifiers:
Code: Select all
lib/htpc.groovy:
c38647483ad858dc7532d55651d95b5f22732a9a0096ec794f223d5849c23233
artwork.tmdb.groovy:
79c16bc6cfe2cc1f4ee1da7a767364696cdf544f6d0614b5f6be3b163f13b2f9This report describes an observed failure and subsequent read-only diagnosis. We have not yet produced a standalone synthetic reproducer or rerun the artwork operation in the fresh diagnostic profile. No movie file is attached.
Codex session ID: 01a08c57-70d6-7bd2-b4dd-84ac5ce47d89