<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>116226</bug_id>
          
          <creation_ts>2005-12-20 19:02 0000</creation_ts>
          <short_desc>version bump: dev-java/commons-net-1.4.1</short_desc>
          <delta_ts>2005-12-21 20:32:06 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://jakarta.apache.org/commons/net/</bug_file_loc>
          
          <keywords>InSVN</keywords>
          <priority>P3</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>nichoj@gentoo.org</reporter>
          <assigned_to>java@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>nichoj@gentoo.org</who>
            <bug_when>2005-12-20 19:02:08 0000</bug_when>
            <thetext>We are currently at 1.3.0... and 1.4.1 was relased a week or so ago.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nichoj@gentoo.org</who>
            <bug_when>2005-12-20 21:29:16 0000</bug_when>
            <thetext>A simple bump doesn&apos;t seem to entire cut it. With USE=junit, I found the tests fail:

    [junit] Running org.apache.commons.net.time.TimeTCPClientTest
    [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 1.093 sec
    [junit] Testsuite: org.apache.commons.net.time.TimeTCPClientTest
    [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 1.093 sec

    [junit] Testcase: testInitial took 0.009 sec
    [junit] Testcase: testCompareTimes took 1.074 sec
    [junit]     Caused an ERROR
    [junit] null
    [junit] java.lang.NullPointerException
    [junit]     at org.apache.commons.net.SocketClient.disconnect(SocketClient.java:266)
    [junit]     at org.apache.commons.net.time.TimeTCPClientTest.testCompareTimes(TimeTCPClientTest.java:133)



I put an ebuild up on experimental at http://gentooexperimental.org/svn/java/gentoo-java-experimental/dev-java/commons-net 
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nichoj@gentoo.org</who>
            <bug_when>2005-12-21 08:59:41 0000</bug_when>
            <thetext>I managed to fix the null pointers, and filed a bug upstream: http://issues.apache.org/bugzilla/show_bug.cgi?id=37985

The next issue is that another test in the same TestCase attempts to lookup the local machine&apos;s hostname. If the host doens&apos;t have a fully qualified domain name and doesn&apos;t have an entry in /etc/hosts for the hostname, then the test will fail. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nichoj@gentoo.org</who>
            <bug_when>2005-12-21 20:26:46 0000</bug_when>
            <thetext>So I looked into it a little more, and apparently you don&apos;t get the null pointers in the first place if you have your hostname in your /etc/hosts file.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nichoj@gentoo.org</who>
            <bug_when>2005-12-21 20:32:06 0000</bug_when>
            <thetext>Fixed in CVS. I&apos;ve disabled unit tests for now, until we it can get fixed upstream...</thetext>
          </long_desc>
      
    </bug>

</bugzilla>