"Next Link"

I have this following script in the a script file called INSPNEXTLINK. THis script scraps the data from the "Next Page" link.

if( dataSet.getNumDataRecords() > 0 )
{
session.scrapeFile( "Insp Data" );
}

Scrap runs fine for Page 1, but when the "INSPNEXTLINK" script is invoked, it gives me the following error

Processing script: "INSPNEXTLINK"
Scraping file: "Insp Data"
Insp Data: Preliminary URL: http://www.tarei.com/membersearchresults.asp?st=TX&cn=~#COUNTY#~&pn=~#PA...
Insp Data: Resolved URL: http://www.tarei.com/membersearchresults.asp?st=TX&cn=HARRIS&pn=2
Insp Data: Sending request.
Insp Data: Extracting data for pattern "InspDetails"
Insp Data: Saving data set "InspDetails" into a session variable.
Insp Data: Appending data set "InspDetails" to an existing data set. The resulting data set will be filtered for duplicates.
Insp Data: An error occurred while processing the script: INSPNEXTLINK
Insp Data: The error message was: The application script threw an exception: java.lang.NullPointerException BSF info: null at line: 0 column: columnNo
Processing scripts after scraping session has ended.
Scraping session finished.

PLEASE HELP

"Next Link"

vmukkavi,

We've made a fix to the problem that is available in the latest alpha release. Please follow [url=http://screen-scraper.com/support/faq/faq.php#Upgrade2Alpha]these instructions[/url] to upgrade your version of screen-scraper.

Thank you for your patience while we worked out a solution.

-Scott

"Next Link"

vmukkavi,

It's not really clear what going on here. I believe you're using a version prior to 4.0. We've made some bug fixes in 4.0 that took care of hopefully all of the nullpointer exceptions.

Could I ask that you upgrade your version to 4.0? Please follow [url=http://screen-scraper.com/support/faq/faq.php#Version4]these instructions[/url], give it another try and let us know how it goes.

Thanks,
Scott