private void processTimedOutSessions(Iterator<H> handles) {
long currentTime = System.currentTimeMillis();
while (handles.hasNext()) {
H handle = handles.next();
ConnectionRequest entry = connectionRequest(handle);
// ***** entry is null pointer here ! ***************
// next line will blow !!!
if (currentTime >= entry.deadline) {
entry.setException(
new ConnectException("Connection timed out."));
cancelQueue.offer(entry);
}
}
}
Chris Hurst wrote:
>
> Did anyone get any further with this issue as the exact same thing is
> happening to me.
>
> cheers.
>
>
>
> Julien Vermillard wrote:
>>
>> On Fri, 1 Aug 2008 13:18:17 +0200
>> "Mezei Zoltan" <[EMAIL PROTECTED]> wrote:
>>
>>> On Fri, Aug 1, 2008 at 4:55 AM, Mezei Zoltan <[EMAIL PROTECTED]>
>>> wrote:
>>> > What can go wrong when I use the web application? Can I make it
>>> > work somehow?
>>>
>>> Update: I tried to run the program using MINA 2.0.0-M2 when I got the
>>> exceptions. The equivalent program works perfectly from the web
>>> context using MINA 1.1.7.
>>>
>>> Should I submit a bug report about this regression?
>>>
>>> Can I help with more testing or anything else?
>>
>> Hi,
>> can you provide a small test case so we can reproduce it ?
>> If so feel free to attach to a JIRA issue, so we can look at the
>> problem.
>>
>> Cheers,
>>
>> Julien
>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/MINA-and-Glassfish-tp18767392p19041520.html
Sent from the Apache MINA User Forum mailing list archive at Nabble.com.