[google-appengine] Re: Fetch URL problem nullpointerexception

2012-10-13 Thread Mario Buonomo
your app to App Engine production and see if the problem fixes > itself; you may have an issue with your local dev environment. > > -Vinny P > > On Friday, October 12, 2012 10:37:10 AM UTC-5, Mario Buonomo wrote: >> >> Hi, I've a problem with fetch URL using appeng

[google-appengine] Fetch URL problem nullpointerexception

2012-10-12 Thread Mario Buonomo
Hi, I've a problem with fetch URL using appengine.. the problem is on url.openStream() (nullpointerexception) but url is not null this is my code: try { URL url = new URL(site); BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream()));

[google-appengine] Fetch URL problem

2012-10-12 Thread Mario Buonomo
Hi, I've a problem with fetch URL using appengine.. this is my code: try { URL url = new URL("http://www.example.com/atom.xml";); BufferedReader reader = new BufferedReader(new InputStreamReader(url.openStream())); String line; while ((line = read