First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 116226
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Josh Nichols (RETIRED) <nichoj@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 116226 depends on: Show dependency tree
Bug 116226 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-12-20 19:02 0000
We are currently at 1.3.0... and 1.4.1 was relased a week or so ago.

------- Comment #1 From Josh Nichols (RETIRED) 2005-12-20 21:29:16 0000 -------
A simple bump doesn'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 

------- Comment #2 From Josh Nichols (RETIRED) 2005-12-21 08:59:41 0000 -------
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's hostname. If the host doens't have a fully qualified domain
name and doesn't have an entry in /etc/hosts for the hostname, then the test
will fail. 

------- Comment #3 From Josh Nichols (RETIRED) 2005-12-21 20:26:46 0000 -------
So I looked into it a little more, and apparently you don't get the null
pointers in the first place if you have your hostname in your /etc/hosts file.

------- Comment #4 From Josh Nichols (RETIRED) 2005-12-21 20:32:06 0000 -------
Fixed in CVS. I've disabled unit tests for now, until we it can get fixed
upstream...

First Last Prev Next    No search results available      Search page      Enter new bug