Page 1 of 1

Unable to access filebot after recent update.

Posted: 15 Mar 2018, 05:34
by wizard0f0z
Hello Support Team,

Filebot was recently updated on my Windows 10 Laptop.

Code: Select all

> filebot -version
FileBot 4.7.21 (r5319) / Java(TM) SE Runtime Environment 9.0.4 / Windows 10 10.0 (amd64)
I have not been able to launch the program since the last update. I tried to run as normal user and as administrator, nothing works.
I have also tried to reset cache and prefs and get below error:

Code: Select all

> filebot -clear-prefs -clear-cache
Reset preferences
Error during startup
java.lang.StackOverflowError
I tried to launch the prog the am GUI using command line and get a heap of java errors.

Code: Select all

> filebot --mode Rename
Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.prefs/java.util.prefs.AbstractPreferences.isUserNode(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferences.rootNativeHandle(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferences.<init>(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferences.getUserRoot(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferencesFactory.userRoot(Unknown Source)
        at java.prefs/java.util.prefs.Preferences.userRoot(Unknown Source)
        at java.prefs/java.util.prefs.AbstractPreferences$1.run(Unknown Source)
        at java.prefs/java.util.prefs.AbstractPreferences$1.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.prefs/java.util.prefs.AbstractPreferences.isUserNode(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferences.rootNativeHandle(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferences.<init>(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferences.getUserRoot(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferencesFactory.userRoot(Unknown Source)
        at java.prefs/java.util.prefs.Preferences.userRoot(Unknown Source)
        at java.prefs/java.util.prefs.AbstractPreferences$1.run(Unknown Source)
        at java.prefs/java.util.prefs.AbstractPreferences$1.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.prefs/java.util.prefs.AbstractPreferences.isUserNode(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferences.rootNativeHandle(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferences.<init>(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferences.getUserRoot(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferencesFactory.userRoot(Unknown Source)
        at java.prefs/java.util.prefs.Preferences.userRoot(Unknown Source)
        at java.prefs/java.util.prefs.AbstractPreferences$1.run(Unknown Source)
        at java.prefs/java.util.prefs.AbstractPreferences$1.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.prefs/java.util.prefs.AbstractPreferences.isUserNode(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferences.rootNativeHandle(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferences.<init>(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferences.getUserRoot(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferencesFactory.userRoot(Unknown Source)
        at java.prefs/java.util.prefs.Preferences.userRoot(Unknown Source)
        at java.prefs/java.util.prefs.AbstractPreferences$1.run(Unknown Source)
        at java.prefs/java.util.prefs.AbstractPreferences$1.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.prefs/java.util.prefs.AbstractPreferences.isUserNode(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferences.rootNativeHandle(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferences.<init>(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferences.getUserRoot(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferencesFactory.userRoot(Unknown Source)
        at java.prefs/java.util.prefs.Preferences.userRoot(Unknown Source)
        at java.prefs/java.util.prefs.AbstractPreferences$1.run(Unknown Source)
        at java.prefs/java.util.prefs.AbstractPreferences$1.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.prefs/java.util.prefs.AbstractPreferences.isUserNode(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferences.rootNativeHandle(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferences.<init>(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferences.getUserRoot(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferencesFactory.userRoot(Unknown Source)
        at java.prefs/java.util.prefs.Preferences.userRoot(Unknown Source)
        at java.prefs/java.util.prefs.AbstractPreferences$1.run(Unknown Source)
        at java.prefs/java.util.prefs.AbstractPreferences$1.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.prefs/java.util.prefs.AbstractPreferences.isUserNode(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferences.rootNativeHandle(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferences.<init>(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferences.getUserRoot(Unknown Source)
        at java.prefs/java.util.prefs.WindowsPreferencesFactory.userRoot(Unknown Source)
        at java.prefs/java.util.prefs.Preferences.userRoot(Unknown Source)
        at java.prefs/java.util.prefs.AbstractPreferences$1.run(Unknown Source)
        at java.prefs/java.util.prefs.AbstractPreferences$1.run(Unknown Source)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.prefs/java.util.prefs.AbstractPreferences.isUserNode(Unknown Source)
 ....
 ....
 ....
 ....
 

Re: Unable to access filebot after recent update.

Posted: 15 Mar 2018, 05:46
by rednoah
1.
Please run filebot -script fn:sysinfo and post the output.


2.
Have you tried installing / uninstalling via the Windows Store? Did you previously use the MSI installer (i.e. the non-AppStore version of FileBot) on this machine?

Re: Unable to access filebot after recent update.

Posted: 15 Mar 2018, 07:58
by wizard0f0z
Hi Rednoah,

1. Output given below.

Code: Select all

> filebot -script fn:sysinfo
FileBot 4.7.21 (r5319)
JNA Native: 5.2.0
MediaInfo: 0.7.99
7-Zip-JBinding: 9.20
Chromaprint: java.lang.StackOverflowError
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2018-03-03 (r514)
Groovy: 2.4.13
JRE: Java(TM) SE Runtime Environment 9.0.4
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 3 GB Max Memory / 45 MB Used Memory
OS: Windows 10 (amd64)
Package: APPX
Done ?(?????)?
2. I used a portable version before and installed the Windows store version later... However, I was able to use the application installed from windows app store until it got updated recently.

Thanks.

Re: Unable to access filebot after recent update.

Posted: 15 Mar 2018, 08:02
by rednoah
Please try this:
  1. Uninstall all versions of FileBot
  2. Download (Save As...) and apply (double-click) this reg file to delete / reset FileBot settings in the Windows Registry: https://raw.githubusercontent.com/fileb ... rences.reg
  3. Install FileBot via the Store and then run by typing filebot in the command-line to see if it works

Re: Unable to access filebot after recent update.

Posted: 15 Mar 2018, 08:26
by wizard0f0z
Hi Rednoah,

Followed your recommendation. Unfortunately, it did not work.

Checked if there were any errors in error.log, it is empty too.

Retried all previous commands after reinstalling from the app store.

Still getting same errors. :( :( :(

Re: Unable to access filebot after recent update.

Posted: 15 Mar 2018, 08:43
by rednoah
1.
Do you have any strange Anti-Virus software running that might interfere with the Windows Registry in unexpected ways?


2.
As a last resort, there's some developer settings in FileBot you can use to change how FileBot stores settings internally, and use a flat file instead of the Windows Registry:

Run in CMD:

Code: Select all

setx FILEBOT_OPTS "-Djava.util.prefs.PreferencesFactory=net.filebot.util.prefs.FilePreferencesFactory -Dnet.filebot.util.prefs.file=C:/filebot.prefs"
Where C:/filebot.prefs is the path to a read/writable file path that FileBot can use to store settings.

Re: Unable to access filebot after recent update.

Posted: 17 Mar 2018, 06:42
by wizard0f0z
Hi Rednoah,

Filebot has always worked with the antivirus I have used.

I tried the second option and it works now.

Thank you for the help.