This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mail

 
kushagra mittal
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


wats wrong with his code!!!
 
Paul Clapham
Sheriff
Pie
Posts: 20958
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks fine to me. (Except it wasn't posted with the code tags, but I've fixed that for you.) Why do you ask?
 
kushagra mittal
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul Clapham wrote:Looks fine to me. (Except it wasn't posted with the code tags, but I've fixed that for you.) Why do you ask?



Lines 102 and 112 raises a exception but null messege is printed in catch BY getMessage function...
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you verified that line 41 actually returns an email address?

Also, please post the full exception stack trace, that will make the error clearer (without that we will just be guessing).
 
kushagra mittal
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peter Johnson wrote:Have you verified that line 41 actually returns an email address?

Also, please post the full exception stack trace, that will make the error clearer (without that we will just be guessing).



Ya line 41 returns an Emailaddress.


[Ljava.lang.StackTraceElement;@10d9151

[Ljava.lang.StackTraceElement;@1bf68a9

[Ljava.lang.StackTraceElement;@1e16483

at line 102,112 and 119 resp...
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
StackTraceElement? Doesn't sound like an email object to me.

And where is the except stack trace???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic