harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Gustavsson <nik...@protocol7.com>
Subject Re: Problems with NIO
Date Wed, 25 Feb 2009 19:22:10 GMT
On Tue, Feb 24, 2009 at 9:35 AM, Mark Hindess
<mark.hindess@googlemail.com> wrote:
> I've checked in a quick fix (including a fix for the java code which
> might not be idea) at r747301.  Comments welcome on improving the fix.
> Niklas, many thanks for reporting this and producing a concise test
> case.  Let us know if the next snapshot doesn't show improvement and if
> you find any more issues.

I've built Harmony from sources and reran our tests. Your fix seems to
have fixed the problem we had, only for a new one to emerge :-) We now
get a NPE with the following stacktrace

	at org.apache.harmony.nio.internal.SelectorImpl.prepareChannels(SelectorImpl.java:495)
	at org.apache.harmony.nio.internal.SelectorImpl.selectInternal(SelectorImpl.java:462)
	at org.apache.harmony.nio.internal.SelectorImpl.select(SelectorImpl.java:432)
	at org.apache.mina.transport.socket.nio.NioSocketAcceptor.select(NioSocketAcceptor.java:283)
	at org.apache.mina.core.polling.AbstractPollingIoAcceptor$Acceptor.run(AbstractPollingIoAcceptor.java:395)
	at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:65)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:643)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:668)
	at java.lang.Thread.run(Thread.java:670)


View raw message