NULL pointer when called remotely, works great in workbench
Hi,
I have a script that runs beautifully in the workbench but when I try to run it on the server I get the msg below in my error.log.
An unexpected error occurred. The error was: null
java.lang.NullPointerException
at com.screenscraper.scraper.RemoteScrapingSessionCommand.equals(RemoteScrapingSessionCommand.java:146)
at com.screenscraper.scraper.RemoteScrapingSessionHandler.run(RemoteScrapingSessionHandler.java:176)
The script I'm trying to invoke is called "travel.com.au". It works fine from the workbench, and frankly worked fine 2 days ago (check the date of the file). You can download it here:
http://beta.bezurk.com/travel.com.au-8-SEP.xml
class file (you'll need to include screen-scrapre and log4j in classpath):
http://beta.bezurk.com/Bezurk.class
Source:
http://beta.bezurk.com/Bezurk.java
I'll buy anyone a beer that can tell me what is going wrong. Infact I'd probably buy you a case of beer if you can figure this out by Friday.
thx
~luke
PS - I tried this on Mac OS X, Win 2k and Linux and had the same problem across all platforms
NULL pointer when called remotely, works great in workbench
Excellent! Thanks for the report back.
Best,
Todd
NULL pointer when called remotely, works great in workbench
Works a treat, thanks Todd >:-)
NULL pointer when called remotely, works great in workbench
Hi Luke,
Thanks for your patience on this. It turned out to be a bug in screen-scraper, which we've fixed in the latest pre-release version (2.5.0.13a). We've tested with the specific scraping session and .java file you include in your post and it looks to be working fine. Please just let us know if you find otherwise.
Kind regards,
Todd Wilson