Unable To Start Screen Scraper: "java.lang.NullPointerException"
"Basic" edition. v6.0.0.0 running on Windows 7 Home Premium.
I'm pretty sure it's the 32-bit version of ScreenScraper because the
installer put in Program Files(x86), but cannot be 100% positive
because the error does not give the version and I can't get any further.
.
It was working last night and nobody has been on the machine since then.
But this morning I am getting what is below.
.
Am I the only one? Something with my install of Java, maybe?
I'm trolling for thoughts before I try a re-install from the 64-bit
version's installer and maybe get myself in deeper..... -)
.
When I just doubleclick on ScreenScraper.exe:
=====================================================================================
java.lang.NullPointerException
at com.screenscraper.Settings.getEdition(Settings.java:1778)
at com.screenscraper.controller.ControllerMain.main(ControllerMain.java:385)
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.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
=====================================================================================
That's when I just try to start ScreenScraper.
It's slightly different when a .BAT file runs to execute some routines:
=====================================================================================
d:\Bat>D:\Bat\ScreenScraper.WeatherBugExtract.bat
d:\Bat>c:
C:\Windows\System32>cd c:\"Program Files (x86)\screen-scraper Basic Edition"
c:\Program Files (x86)\screen-scraper Basic Edition>"C:\Program Files (x86)\screen-scraper Basic Edition\jre\bin\java" -jar screen-scraper.jar -s "Get
Info"
Exception in thread "main" java.lang.NullPointerException
at com.screenscraper.Settings.getEdition(Settings.java:1778)
at com.screenscraper.controller.ControllerMain.main(ControllerMain.java:385)
c:\Program Files (x86)\screen-scraper Basic Edition>D:
d:\Bat>CD D:\ScreenScraperOutput
D:\ScreenScraperOutput>DEL WeatherInfo.txt
D:\ScreenScraperOutput>COPY header.txt + Watertemp.txt + wind_cur.txt + wind_avg.txt + wind_gust.txt WeatherInfo.txt
Header.txt
WaterTemp.txt
Wind_Cur.txt
Wind_Avg.txt
Wind_Gust.txt
1 file(s) copied.
D:\ScreenScraperOutput>cd c:\bat
D:\ScreenScraperOutput>
=====================================================================================
Bit the bullet and installed from the 64-bit installer.
The install process did not remove the 32-bit version, so I uninstalled it manually.
Got the "Corrupted DB" message, killed everything ScreenScraper... and Java...
ScreenScraper is running now: I can get a ScreenScraper window when executing it
directly and the .BAT file runs to completion (albeit without creating the expected
output) without error.
I guess the rest is just stepping through the development environment to see what's missing...
It would the the 32 bit
It would the the 32 bit install.
It's not a common issue, but it does sound like the install was corrupted. Do you have the scrape exported? If you do, reinstalling screen-scraper would likely best option.