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


Reply via email to