Hey the way you gave the URL is wrong, when you declare a java syntax you should be very careful. The one bolded in has caused the bug

. You did not use a escape sequence to understand the ".
("http://www.ncbi.nlm.nih.gov/entrez/viewer.fcgi?db=protein&c_start=1&uids
="record"&dop t=fasta&dispmax=1&sendto=t&from=begin&to =end&page=1");