Did you write that SntpClient? It is throwing an Exception subclass indicating a TCP error, in this case, the address family is wrong/ unitialized. If you wrote the code, you can double check the Socket creation to make sure you didn't leave any intialization out -- though unless you really wrote it in C, it is hard to see how you could get the Address Family wrong -- the Java API does not expose this, only the C/C++ API does.
On Feb 28, 7:46 am, abc def <[email protected]> wrote: > Hi can somebody please suggest... > i am getting > > 02-28 07:31:41.408: DEBUG/SntpClient(66): request time failed: > java.net.SocketException: Address family not supported by protocol > > in my logcat repeatedly for 5 hours or so...can somebody please > suggest a solution > > On 2/27/11, Hendrik Greving <[email protected]> wrote:> I found it. I > learned that with Run->Add Java Exception Breakpoint you can > > actually catch the exception > > ----- Original Message ----- > > From: Hendrik Greving > > To: Android Developers > > Sent: Sunday, February 27, 2011 3:03 PM > > Subject: NullPointer Exception > > > Hi I am getting a NullPointerException but no real log where it occurs. > > How can I debug this? It crashes when it returns from onCreate from the > > first Activity > > > ActivityThread.performLaunchActivity(ActivityThread$ActivityRecord, > > Intent) line: 2496 > > ActivityThread.handleLaunchActivity(ActivityThread$ActivityRecord, Intent) > > line: 2512 > > ActivityThread.access$2200(ActivityThread, ActivityThread$ActivityRecord, > > Intent) line: 119 > > ActivityThread$H.handleMessage(Message) line: 1863 > > ActivityThread$H(Handler).dispatchMessage(Message) line: 99 > > Looper.loop() line: 123 > > ActivityThread.main(String[]) line: 4363 > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

