This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cookies

 
Sonal Jogi
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Despite checking for the cookie array to be null, the below code throws a nullpointer exception at random (once in 50 times). Could anybody please tell me the reason why?


Thanks in advance,
sonal

[EDIT code tags added by Dave]
[ February 17, 2005: Message edited by: David O'Meara ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The stack trace should state which line the NPE is occuring on.
Post your stack trace.

Also, use the code button to wrap your code. This will preserve the formatting and make it much easier for us to read.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic