NullPointerException
Dustin Sallings
dustin at spy.net
Mon Oct 15 07:06:52 UTC 2007
On Oct 14, 2007, at 19:06, Chris Lamprecht wrote:
> public void gotData(String key, int flags, byte[] data) {
> Collection<GetOperation.Callback> cbs=callbacks.get(key);
> assert cbs != null : "No callbacks for key " + key;
> for(GetOperation.Callback c : cbs) { <---- NPE here
> c.gotData(key, flags, data);
> }
> }
>
> Any ideas? I haven't dug into the code yet to try and debug it.
> Also previously I tried the 1.4 client version and got an NPE in
> OptimizeGet.java or something like that. Thanks
Are you running with assertions enabled?
Can you describe what kinds of operations you have running through
this? I've never seen that assertion fire nor had an NPE there, so
I'd be curious how much you could tell me about what may have led to
this state.
--
Dustin Sallings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/memcached/attachments/20071015/1eb71f34/attachment.htm
More information about the memcached
mailing list