<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/jmdns/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/jmdns/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/jmdns/bugs/</id><updated>2013-01-22T19:25:43Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Bug when DNSRecord.Service is evaluated before DNSRecord.TXT</title><link href="https://sourceforge.net/p/jmdns/bugs/146/" rel="alternate"/><published>2013-01-22T19:25:43Z</published><updated>2013-01-22T19:25:43Z</updated><author><name>Talksinmath</name><uri>https://sourceforge.net/u/talksinmath/</uri></author><id>https://sourceforge.netbfde9d04405f644b96f8c17ea73f8479d01d6e57</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;after a couple of hours I found a bug that's been haunting me.&lt;br /&gt;
Under certain cirumstances, I would get a callback for a resolved service, but I would not get the TXT-Record that I was announcing (on another computer).&lt;br /&gt;
A Bonjour-broweser by Apple could see the TXT-Record.&lt;/p&gt;
&lt;p&gt;I found that in this case, the DNSRecord.Text was evaluated in the JmDNS-Stack after the DNSRecord.Service answer.&lt;/p&gt;
&lt;p&gt;During the evaluation of the DNSRecord.Service, the ServiceInfoImpl object was constructed with the text-bytes being set by the service-name:&lt;/p&gt;
&lt;p&gt;DNSRecord, line 811-814&lt;br /&gt;
@Override&lt;br /&gt;
public ServiceInfo getServiceInfo(boolean persistent) {&lt;br /&gt;
return new ServiceInfoImpl(this.getQualifiedNameMap(), _port, _weight, _priority, persistent, _server);&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;This was leading to an entry in the DNS-Cache for the textByte, which then lead to unparsable properties and therefore an empty Text-Record.&lt;/p&gt;
&lt;p&gt;At least this is my reasoning.&lt;/p&gt;
&lt;p&gt;My proposed fix for this would be&lt;/p&gt;
&lt;p&gt;@Override&lt;br /&gt;
public ServiceInfo getServiceInfo(boolean persistent) {&lt;br /&gt;
return new ServiceInfoImpl(this.getQualifiedNameMap(), _port, _weight, _priority, persistent, (byte[]) null);&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;This leads to an empty text-record for the Service answer and allows the Text answer to add its info to the DNSCache.&lt;/p&gt;
&lt;p&gt;It seems to work, and all tests pass.&lt;/p&gt;
&lt;p&gt;Is my thinking correct or did we make some mistakes ?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;br /&gt;
Carsten&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>NullPointerException in getURLs method</title><link href="https://sourceforge.net/p/jmdns/bugs/145/" rel="alternate"/><published>2012-12-24T14:45:08Z</published><updated>2012-12-24T14:45:08Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net093396fbb34c35add39d52bff3d8997bac9c0cfa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I run into a NullPointerException in ServiceInfoImpl.getURLs method. The error seems to appear because of a NULL value inside the _ipv6Addresses Set in  ServiceInfoImpl. I've tracked the NULL value back and found where it is added to the Set. It is added by the following line inside the JmDNSImpl.registerService method:&lt;br /&gt;
info.addAddress(_localHost.getInet6Address());&lt;/p&gt;
&lt;p&gt;Here is the source code of my application (just the main method):&lt;br /&gt;
public static void main(String[] args) throws Exception&lt;br /&gt;
    {&lt;br /&gt;
            // Create JmDNS service&lt;br /&gt;
            InetAddress localhost = InetAddress.getLocalHost();&lt;br /&gt;
            dnsServer = JmDNS.create(localhost);&lt;br /&gt;
            // Register a test service.&lt;br /&gt;
            ServiceInfo testService = ServiceInfo.create("TEST", "Test description", 8080,"Test description");&lt;br /&gt;
            dnsServer.registerService(testService);&lt;br /&gt;
            serviceUrls = testService.getURLs();&lt;br /&gt;
    }&lt;/p&gt;
&lt;p&gt;Here is my stacktrace:&lt;br /&gt;
Exception in thread "main" java.lang.NullPointerException&lt;br /&gt;
    at javax.jmdns.impl.ServiceInfoImpl.getURLs(ServiceInfoImpl.java:653)&lt;br /&gt;
    at javax.jmdns.impl.ServiceInfoImpl.getURLs(ServiceInfoImpl.java:630)&lt;br /&gt;
    at com.roksoft.lopocoso.App.main(App.java:69)&lt;/p&gt;
&lt;p&gt;I'm using jmdns-3.4.1.jar on Windows 7 64 Bit. I've also attached a screenshot of the status screen of my Wifi adapter.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Problems when System Time changes</title><link href="https://sourceforge.net/p/jmdns/bugs/143/" rel="alternate"/><published>2012-11-04T05:27:35Z</published><updated>2012-11-04T05:27:35Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netf0a7e258b8beeef10290e3687e192d1fb0c6a1e7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Because JmDNS uses TimerTask, problems are caused when the system time is changed. For example, if the system goes back in time, I get:&lt;/p&gt;
&lt;p&gt;Wait for announced timed out: DNS: *** state: probing 1 task: Prober(***) state: probing 1&lt;/p&gt;
&lt;p&gt;Which then causes discovery of my services to fail&lt;/p&gt;
&lt;p&gt;Also See:&lt;br /&gt;
&lt;a href="http://bugs.sun.com/view" rel="nofollow"&gt;http://bugs.sun.com/view&lt;/a&gt;_bug.do?bug_id=4290274&lt;br /&gt;
&lt;a href="http://code.google.com/p/android/issues/detail?id=9923" rel="nofollow"&gt;http://code.google.com/p/android/issues/detail?id=9923&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>hum9fY  &lt;a href="http://mhosqywxzmlv.com/"&gt;mhosqywxzmlv&lt;/a&gt;,</title><link href="https://sourceforge.net/p/jmdns/bugs/142/" rel="alternate"/><published>2012-10-28T05:39:22Z</published><updated>2012-10-28T05:39:22Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net4c19237c95d4d83b44979ba2f8b63f97177b787f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hum9fY  &amp;lt;a href="&lt;a href="http://mhosqywxzmlv.com/" rel="nofollow"&gt;http://mhosqywxzmlv.com/&lt;/a&gt;"&amp;gt;mhosqywxzmlv&amp;lt;/a&amp;gt;, [url=&lt;a href="http://xuteqbxqqcsd.com/" rel="nofollow"&gt;http://xuteqbxqqcsd.com/&lt;/a&gt;]xuteqbxqqcsd[/url], [link=&lt;a href="http://rvardivgkprf.com/" rel="nofollow"&gt;http://rvardivgkprf.com/&lt;/a&gt;]rvardivgkprf[/link], &lt;a href="http://lbmrcbntnllx.com/" rel="nofollow"&gt;http://lbmrcbntnllx.com/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>dn6D1i  &lt;a href="http://yiaeqmeawsib.com/"&gt;yiaeqmeawsib&lt;/a&gt;,</title><link href="https://sourceforge.net/p/jmdns/bugs/141/" rel="alternate"/><published>2012-10-27T10:52:05Z</published><updated>2012-10-27T10:52:05Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.neta79a240aaf25f7251e4bad5831776935136367d9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;dn6D1i  &amp;lt;a href="&lt;a href="http://yiaeqmeawsib.com/" rel="nofollow"&gt;http://yiaeqmeawsib.com/&lt;/a&gt;"&amp;gt;yiaeqmeawsib&amp;lt;/a&amp;gt;, [url=&lt;a href="http://qhivsbsewyoh.com/" rel="nofollow"&gt;http://qhivsbsewyoh.com/&lt;/a&gt;]qhivsbsewyoh[/url], [link=&lt;a href="http://qbpxmcebfvkb.com/" rel="nofollow"&gt;http://qbpxmcebfvkb.com/&lt;/a&gt;]qbpxmcebfvkb[/link], &lt;a href="http://rzuoshveaekn.com/" rel="nofollow"&gt;http://rzuoshveaekn.com/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Unable to resolve services with spaces at end/beginning</title><link href="https://sourceforge.net/p/jmdns/bugs/140/" rel="alternate"/><published>2012-10-09T11:05:57Z</published><updated>2012-10-09T11:05:57Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net71c0331edbe2a3eb0821d1b761e1d6ecde969b76</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;jmdns3.4.1 is unable to resolve services with spaces at end or beginning of the name. It discovers them but coudn't resolve. It is due to removeSeparators() method in ServiceInfoImpl.java class. Other bonjour browsers except jmdns detect such services. Please fix this and issue a new release.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>caWXKoEQBVwbLIASkiN</title><link href="https://sourceforge.net/p/jmdns/bugs/138/" rel="alternate"/><published>2012-08-16T12:49:57Z</published><updated>2012-08-16T12:49:57Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netbca2f8659c60d706acc545c320ab9c5ff80344d7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;AcODU1  &amp;lt;a href="&lt;a href="http://kgprbomdyyda.com/" rel="nofollow"&gt;http://kgprbomdyyda.com/&lt;/a&gt;"&amp;gt;kgprbomdyyda&amp;lt;/a&amp;gt;, [url=&lt;a href="http://wpvqwfnkxzts.com/" rel="nofollow"&gt;http://wpvqwfnkxzts.com/&lt;/a&gt;]wpvqwfnkxzts[/url], [link=&lt;a href="http://gjeyvtvtrgws.com/" rel="nofollow"&gt;http://gjeyvtvtrgws.com/&lt;/a&gt;]gjeyvtvtrgws[/link], &lt;a href="http://xegntjittoky.com/" rel="nofollow"&gt;http://xegntjittoky.com/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>ServiceRemoved</title><link href="https://sourceforge.net/p/jmdns/bugs/137/" rel="alternate"/><published>2012-08-08T09:51:29Z</published><updated>2012-08-08T09:51:29Z</updated><author><name>Dibyanshu Jaiswal</name><uri>https://sourceforge.net/u/djthequest/</uri></author><id>https://sourceforge.net7a24358e3f27c40e292d7bf4975ffab9dcb93a47</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;We aim to have a distributed java application, and we keep track of the nodes in the networks using a jmDNS. our application being cross platform, we work using netbeans, for the application development.&lt;br /&gt;
We are faceing problem in the Overridden method of jmDNS.&lt;br /&gt;
serviceRemoved(event) method does not works in Linux (Ubuntu). &lt;br /&gt;
On stopping the Run of our application in netbeans from a Ubuntu OS, the nodes running on windows 7 platform  get notified, i.e. we can say the serviceRemoved() method works fine in Windows 7, but when a Node on running on the Windows7, or Windows XP OS, is stooped, no information is received by the node running on the Linux platform, i.e. we can say that the serviceRemoved() does not works in my ubuntu system.&lt;br /&gt;
This creates a big Bottleneck for my apllication.&lt;br /&gt;
Please help.&lt;br /&gt;
thanks in advance&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fails to detect Service starting with special character </title><link href="https://sourceforge.net/p/jmdns/bugs/136/" rel="alternate"/><published>2012-07-27T06:17:45Z</published><updated>2012-07-27T06:17:45Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.nete5782fb1160c8834b3705daab36a7a14ebfd04ce</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;JmDNS fails to detect services whose name begin with special character like &amp;amp;. However it detects them if &amp;amp; is not starting character but in middle.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>jqG60D  &lt;a href="http://cenqwcyrtsux.com/"&gt;cenqwcyrtsux&lt;/a&gt;,</title><link href="https://sourceforge.net/p/jmdns/bugs/135/" rel="alternate"/><published>2012-07-22T20:42:44Z</published><updated>2012-07-22T20:42:44Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net9eef620f23065ada22ff788bc2db3cba1f1f270d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;jqG60D  &amp;lt;a href="&lt;a href="http://cenqwcyrtsux.com/" rel="nofollow"&gt;http://cenqwcyrtsux.com/&lt;/a&gt;"&amp;gt;cenqwcyrtsux&amp;lt;/a&amp;gt;, [url=&lt;a href="http://zeoymdietdop.com/" rel="nofollow"&gt;http://zeoymdietdop.com/&lt;/a&gt;]zeoymdietdop[/url], [link=&lt;a href="http://rxbvfjeqqlfn.com/" rel="nofollow"&gt;http://rxbvfjeqqlfn.com/&lt;/a&gt;]rxbvfjeqqlfn[/link], &lt;a href="http://efqwgojbsjbc.com/" rel="nofollow"&gt;http://efqwgojbsjbc.com/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>