Uploaded image for project: 'IvyDE (Retired)'
  1. IvyDE (Retired)
  2. IVYDE-246

Spurious error handling

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • 2.0.0.final
    • None
    • workspace resolver
    • None

    Description

      We get the following when we are referencing an Ivy properties file in our settings but it is not available

      java.lang.NullPointerException
      at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.doGetIvy(IvyClasspathContainerConfiguration.java:494)
      at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.getIvy(IvyClasspathContainerConfiguration.java:453)
      at org.apache.ivyde.eclipse.cpcontainer.IvyResolveJob.run(IvyResolveJob.java:200)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

      Although to be fair we are using the Eclipse special notation:

      project:///../build/ivyde-settings.xml

      to pull in our settings from our build eclipse project - and this happens when that project is closed.

      -------------

      Another issue we have is when we try to resolve dependancies but are in a debug/run session in Eclipse.

      Because the files are locked Ivy cannot replace them , but the way IvyDE reports this is very strange. We get a popup - see attached.

      Impossible to resolve dependencies of com.rbsfm.hft#backtest-scripts;working@lonmw85560
      unresolved dependency: com.rbsfm.hft#Filter;TRUNK: not found
      unresolved dependency: com.rbsfm.hft#backtest-api;TRUNK: not found
      unresolved dependency: com.rbsfm.hft#Filter;TRUNK: not found
      unresolved dependency: com.rbsfm.hft#backtest-api;TRUNK: not found
      unresolved dependency: com.rbsfm.hft#Filter;TRUNK: not found
      unresolved dependency: com.rbsfm.hft#backtest-api;TRUNK: not found

      Looking in the Ivy Console we can see :

      :::: ERRORS
      Couldn't delete outdated artifact from cache: C:\ivyrepo\cache\com.rbsfm.hft\Filter\TRUNK\Filter-TRUNK.jar

      Couldn't delete outdated artifact from cache: C:\ivyrepo\cache\com.rbsfm.hft\backtest-api\TRUNK\backtest-api-TRUNK.jar

      .. but would be nice to get the error handling on this improved

      Attachments

        Activity

          People

            Unassigned Unassigned
            gamhead gamhead
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: