Java Exception if files are not inside parent folder

All your suggestions, requests and ideas for future development
Post Reply
FillBot
Posts: 6
Joined: 04 Mar 2014, 21:42

Java Exception if files are not inside parent folder

Post by FillBot »

Hi!
Very nice tool! I've been using it for a long time and it has always worked very nice! I hope the developer
will continue even longer! :)

Anyway, I have to report a bug. I've noticed it over a few updates now without beeing fixed...

Problem: When movie files are not in a folder, I get (sometimes) a Java Null Pointer Exception
using the GUI Version.

Image

For example:
/expendables 3.mkv [Exception...]
/new folder/expendables 3.mkv [Works]

Some background infos:
  • FileBot Version: 4.5 (installed over Windows installer)
  • System: Windows 7 (64 Bit), SP 1
  • Java Version: Build 1.8.0_25-b18

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

Re: Java Exception if files are not inside parent folder

Post by rednoah »

1.
Only Unix paths start with / so I guess you mean something like C:\Serenity.mkv :?:

2.
Can you reproduce the issue with the latest FileBot v4.5.3 :?:
:idea: Please read the FAQ and How to Request Help.
FillBot
Posts: 6
Joined: 04 Mar 2014, 21:42

Re: Java Exception if files are not inside parent folder

Post by FillBot »

rednoah wrote:1.
Only Unix paths start with / so I guess you mean something like C:\Serenity.mkv :?:
Yes
rednoah wrote: 2.
Can you reproduce the issue with the latest FileBot v4.5.3 :?:
Yes
User avatar
rednoah
The Source
Posts: 23931
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Java Exception if files are not inside parent folder

Post by rednoah »

Works fine as far as I can tell. Tested with GUI and CLI.

Code: Select all

X:\>filebot -rename X:\Serenity.mkv -non-strict --action copy
Filename pattern: [0.00] SxE, [0.00] CWS
Rename movies using [TheMovieDB]
Auto-detect movie from context: [X:\Serenity.mkv]
[COPY] Rename [X:\Serenity.mkv] to [Serenity (2005).mkv]
Processed 1 files
Run FileBot (console) and post all the output you get. If a warning is displayed, then there will also be some sort of error logging.
:idea: Please read the FAQ and How to Request Help.
Post Reply