Java Error on Start Up

We are using an older version of Screen Scraper Pro and it has worked with no issues for quite some time.

Recently however - when I tried to launch the program - I recieved a "Fatal Application Error" stating: This Application has Unexpectely Quit, Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX).

With the details being:

'java.lang.NullPointerException
'at com.screenscraper.util.FileUtils.deleteDir(FileUtils.java:213)
'at com.screenscraper.util.DataMain.ensureFewerThanMaxDatabaseBackupFoldersExist(DataMain.java:808)
'at com.screenscraper.util.DataMain.backupDatabase(DataMain.java:680)
'at com.screenscraper.model.ModelMainFrame.handleAppEvent(ModelMainFrame.java:1067)
'at com.screenscraper.controller.ControllerMainFrame.handleAppEvent(ControllerMainFrame.java:459)
'at com.screenscraper.controller.ControllerMainFrame.init(ControllerMainFrame.java:74)
'at com.screenscraper.controller.ControllerMain.init(ControllerMain.java:78)
'at com.screenscraper.controller.ControllerMain.(ControllerMain.java:56)
'at com.screenscraper.controller.ControllerMain.launchWorkbench(ControllerMain.java:655)
'at com.screenscraper.controller.ControllerMain.main(ControllerMain.java:625)
'at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
'at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
'at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
'at java.lang.reflect.Method.invoke(Unknown Source)
'at com.zerog.lax.LAX.launch(DashoA8113)
'at com.zerog.lax.LAX.main(DashoA8113)

I tried replacing the files at -

C:\Program Files\screen-scraper professional edition\resource\db

with a known good backup - but get the same error.

I've also tried patching, updating, uninstalling, and reinstalling Java.

Any ideas appreciated,

Thanks!

SB1, Could you provide more

SB1,

Could you provide more details on what you did when you updated screen-scraper? For example, are you now running version 4.5 or greater? After you have installed screen-scraper do you try to launch either the server or the workbench with a fresh database (not a backup) but still have the same error?

Unless you are running Windows Server 2003, you should always have screen-scraper use the JRE it comes with. Reinstalling Java elsewhere on your system won't affect screen-scraper's own JRE.

Always make sure there are no java.exe, server.exe, screenscraper.exe processes running (for all users) before running, uninstalling, or installing screen-scraper.

After checking that none of these processes are running, please delete all contents from your log folder, and try running a fresh install of screen-scraper. If the problem persists please post the contents of the log files in the log folder.

If this works, don't attempt to use an old database with the new installation because it won't be compatible. We are able to retrieve the data from your old database in order to retrieve your scraping sessions if you need.

Thanks,
Scott