Gradle

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
To raise new issues or bugs against Gradle, please use forums.gradle.org.
  • Gradle
  • GRADLE-587

NPE in DefaultIvyDependencyResolver

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Resolution: Fixed
  • Affects Version/s: 0.7
  • Fix Version/s: 0.9-rc-1

Description

We have encountered a NullPointerException on line 104 of DefaultIvyDependencyResolver. This happened with my company's main product build, which has a fairly complicated set of dependencies. I'm not sure exactly how to reproduce the problem, but I did implement a fix that worked for us.

It looks to me like this might have been introduced in Hans' last refactoring. I'll check in the fix I made, but would like Hans to review it to see if there is some other issue I don't see here.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • History
  • Activity
  • TeamCity
  • Commits
  • Source
  • Reviews
Hide
Permalink
Steve Appling added a comment - 10/Aug/09 8:01 PM

Applied my fix in revision 1736. I tried to check for the null condition and ignore it. I think this is safe, but don't know if this might indicate some other problem I am not aware of. Hans, can you please check this.

Show
Steve Appling added a comment - 10/Aug/09 8:01 PM Applied my fix in revision 1736. I tried to check for the null condition and ignore it. I think this is safe, but don't know if this might indicate some other problem I am not aware of. Hans, can you please check this.
Hide
Permalink
Hans Dockter added a comment - 31/Aug/09 2:58 AM

The fix is basically OK. What I don't understand yet is how the returned set can ever become null. I have to check this.

Show
Hans Dockter added a comment - 31/Aug/09 2:58 AM The fix is basically OK. What I don't understand yet is how the returned set can ever become null. I have to check this.

People

  • Assignee:
    Hans Dockter
    Reporter:
    Steve Appling
Vote (0)
Watch (1)

Dates

  • Created:
    10/Aug/09 1:50 PM
    Updated:
    04/Jan/13 5:10 AM
    Resolved:
    24/Nov/10 2:26 PM
  • Atlassian JIRA (v5.0.3#729-sha1:bf569e4)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Gradle. Try JIRA - bug tracking software for your team.