aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes HttpURLConnection null pointer exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "HttpURLConnection null pointer exception" Watch "HttpURLConnection null pointer exception" New topic
Author

HttpURLConnection null pointer exception

chop ficaro
Ranch Hand

Joined: May 02, 2010
Posts: 30
this code generally works (accesses thousands of urls successfully), but once in a while i get a null pointer exception on particular HttpURLConnections, and its always the same urls
for conciseness ive trunkated the code to only up to where the exception was thrown.

why could this possibly be happening?




Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19719
    
  20

Please CarefullyChooseOneForum. This question is completely not GUI related. I'm moving this thread to our sockets / Internet protocols forum.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HttpURLConnection null pointer exception