Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-725

Null Pointer Exception during retrieve/resolve

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.0.0-beta-1
    • 2.0.0-beta-2
    • None
    • None
    • Mac OSX

    Description

      I'm seeing the following null pointer exceptions during the retrieve/resolve of my module.

      Module mas-coredn-btm depends on mas-coredn-ondemand. In this case, I have published the artifact for mas-coredn-ondemand and mas-coredn-btm is failing to resolve it.

      [ivy:resolve] java.lang.RuntimeException: several problems occured while resolving dependency: twc#mas-coredn-ondemand;5.1 {*=[*]}:
      [ivy:resolve] java.lang.NullPointerException at org.apache.ivy.core.cache.DefaultRepositoryCacheManager.cacheModuleDescriptor(DefaultRepositoryCacheManager.java:893)
      [ivy:resolve] java.lang.NullPointerException at org.apache.ivy.core.cache.DefaultRepositoryCacheManager.cacheModuleDescriptor(DefaultRepositoryCacheManager.java:893)
      [ivy:resolve] at org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:185)
      [ivy:resolve] at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:225)
      [ivy:resolve] at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:257)
      [ivy:resolve] at org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:588)
      [ivy:resolve] at org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:671)
      [ivy:resolve] at org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:596)
      [ivy:resolve] at org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:487)
      [ivy:resolve] at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:234)
      [ivy:resolve] at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:192)
      [ivy:resolve] at org.apache.ivy.Ivy.resolve(Ivy.java:506)
      [ivy:resolve] at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:230)
      [ivy:resolve] at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:275)
      [ivy:resolve] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      [ivy:resolve] at org.apache.tools.ant.Task.perform(Task.java:364)
      [ivy:resolve] at org.apache.tools.ant.Target.execute(Target.java:341)
      [ivy:resolve] at org.apache.tools.ant.Target.performTasks(Target.java:369)
      [ivy:resolve] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
      [ivy:resolve] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
      [ivy:resolve] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
      [ivy:resolve] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
      [ivy:resolve] at org.apache.tools.ant.Main.runBuild(Main.java:668)
      [ivy:resolve] at org.apache.tools.ant.Main.startAnt(Main.java:187)
      [ivy:resolve] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
      [ivy:resolve] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

      Attachments

        1. ivy.xml
          1 kB
          Neil Lott
        2. ivy.xml
          1 kB
          Neil Lott
        3. common-ivy-settings.xml
          0.8 kB
          Neil Lott
        4. common-ivy-configurations.xml
          0.4 kB
          Neil Lott
        5. common-ivy.xml
          3 kB
          Neil Lott

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            xavier Xavier Hanin
            neillott Neil Lott
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment