JmDNS ClassCastException and more [message #624028] |
Wed, 27 August 2008 17:22  |
Eclipse User |
|
|
|
I am seeing the following exception occasionally on Eclipse 3.4. Since the
version shipped with ECF 2.0 does not match what is available on
SourceForge, I decided to post it here. The debugger said it was a line 70
in SocketListener though the line number does not appear in the stack trace.
Exception in thread "JmDNS.SocketListener" java.lang.ClassCastException:
javax.jmdns.impl.DNSRecord$Service
at javax.jmdns.impl.JmDNSImpl.updateRecord(JmDNSImpl.java:928)
at javax.jmdns.impl.JmDNSImpl.handleResponse(JmDNSImpl.java:102 5)
at javax.jmdns.impl.SocketListener.run(SocketListener.java:68)
at java.lang.Thread.run(Thread.java:595)
I am also seeing "No service type for event" errors with lots of associated
ECF dumps as reported by bug 202774.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=202774
Perhaps related to having Macs on the network? They seem to come
pre-configured with IPv6 enabled.
And also the following (but JmDNS does seem to usually recover successfully)
which may be related to the bug 202774 problem.
java.io.IOException: buffer full
at javax.jmdns.impl.DNSOutgoing.writeByte(DNSOutgoing.java:144)
at javax.jmdns.impl.DNSOutgoing.writeShort(DNSOutgoing.java:175 )
at javax.jmdns.impl.DNSOutgoing.writeInt(DNSOutgoing.java:181)
at javax.jmdns.impl.DNSOutgoing.writeRecord(DNSOutgoing.java:29 5)
at javax.jmdns.impl.DNSOutgoing.addAnswer(DNSOutgoing.java:115)
at javax.jmdns.impl.tasks.TypeResolver.run(TypeResolver.java:68 )
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Aug 27, 2008 1:14:54 PM javax.jmdns.impl.tasks.TypeResolver run
WARNING: run() exception
java.io.IOException: buffer full
at javax.jmdns.impl.DNSOutgoing.writeByte(DNSOutgoing.java:144)
at javax.jmdns.impl.DNSOutgoing.writeShort(DNSOutgoing.java:175 )
at javax.jmdns.impl.DNSOutgoing.writeInt(DNSOutgoing.java:181)
at javax.jmdns.impl.DNSOutgoing.writeRecord(DNSOutgoing.java:29 5)
at javax.jmdns.impl.DNSOutgoing.addAnswer(DNSOutgoing.java:115)
at javax.jmdns.impl.tasks.TypeResolver.run(TypeResolver.java:68 )
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Aug 27, 2008 1:14:54 PM javax.jmdns.impl.JmDNSImpl recover
WARNING: recover() Start services exception
java.lang.IllegalThreadStateException
at java.lang.Thread.start(Thread.java:571)
at javax.jmdns.impl.JmDNSImpl.start(JmDNSImpl.java:269)
at javax.jmdns.impl.JmDNSImpl.recover(JmDNSImpl.java:1200)
at javax.jmdns.impl.tasks.TypeResolver.run(TypeResolver.java:89 )
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Aug 27, 2008 1:14:54 PM javax.jmdns.impl.JmDNSImpl recover
WARNING: recover() We are back!
|
|
|
Re: JmDNS ClassCastException and more [message #624029 is a reply to message #624028] |
Thu, 28 August 2008 13:12  |
Eclipse User |
|
|
|
Hi Bill,
Bill Joy wrote:
> I am seeing the following exception occasionally on Eclipse 3.4. Since the
> version shipped with ECF 2.0 does not match what is available on
> SourceForge, I decided to post it here. The debugger said it was a line 70
> in SocketListener though the line number does not appear in the stack trace.
>
> Exception in thread "JmDNS.SocketListener" java.lang.ClassCastException:
> javax.jmdns.impl.DNSRecord$Service
> at javax.jmdns.impl.JmDNSImpl.updateRecord(JmDNSImpl.java:928)
> at javax.jmdns.impl.JmDNSImpl.handleResponse(JmDNSImpl.java:102 5)
> at javax.jmdns.impl.SocketListener.run(SocketListener.java:68)
> at java.lang.Thread.run(Thread.java:595)
>
> I am also seeing "No service type for event" errors with lots of associated
> ECF dumps as reported by bug 202774.
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=202774
>
> Perhaps related to having Macs on the network? They seem to come
> pre-configured with IPv6 enabled.
Yes, I believe so. I think most of these problems result from a
limitation of the current JmDNS implementation...little/no support for IPv6.
I'm not sure what to do about this, as although I'm now a committer on
JmDNS I don't really have the time to take on working on IPv6 support.
Bill could/would you please create an ECF bug report with these stack
traces so we can have it recorded/use:
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=ECF
Thanks,
Scott
>
> And also the following (but JmDNS does seem to usually recover successfully)
> which may be related to the bug 202774 problem.
>
> java.io.IOException: buffer full
> at javax.jmdns.impl.DNSOutgoing.writeByte(DNSOutgoing.java:144)
> at javax.jmdns.impl.DNSOutgoing.writeShort(DNSOutgoing.java:175 )
> at javax.jmdns.impl.DNSOutgoing.writeInt(DNSOutgoing.java:181)
> at javax.jmdns.impl.DNSOutgoing.writeRecord(DNSOutgoing.java:29 5)
> at javax.jmdns.impl.DNSOutgoing.addAnswer(DNSOutgoing.java:115)
> at javax.jmdns.impl.tasks.TypeResolver.run(TypeResolver.java:68 )
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> Aug 27, 2008 1:14:54 PM javax.jmdns.impl.tasks.TypeResolver run
> WARNING: run() exception
> java.io.IOException: buffer full
> at javax.jmdns.impl.DNSOutgoing.writeByte(DNSOutgoing.java:144)
> at javax.jmdns.impl.DNSOutgoing.writeShort(DNSOutgoing.java:175 )
> at javax.jmdns.impl.DNSOutgoing.writeInt(DNSOutgoing.java:181)
> at javax.jmdns.impl.DNSOutgoing.writeRecord(DNSOutgoing.java:29 5)
> at javax.jmdns.impl.DNSOutgoing.addAnswer(DNSOutgoing.java:115)
> at javax.jmdns.impl.tasks.TypeResolver.run(TypeResolver.java:68 )
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> Aug 27, 2008 1:14:54 PM javax.jmdns.impl.JmDNSImpl recover
> WARNING: recover() Start services exception
> java.lang.IllegalThreadStateException
> at java.lang.Thread.start(Thread.java:571)
> at javax.jmdns.impl.JmDNSImpl.start(JmDNSImpl.java:269)
> at javax.jmdns.impl.JmDNSImpl.recover(JmDNSImpl.java:1200)
> at javax.jmdns.impl.tasks.TypeResolver.run(TypeResolver.java:89 )
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> Aug 27, 2008 1:14:54 PM javax.jmdns.impl.JmDNSImpl recover
> WARNING: recover() We are back!
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03212 seconds