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

ClassCastException in Eclipse 4.4.1

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0-RC1
    • Fix Version/s: 2.4.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Linux, Eclipse 4.4.1.M20140829-0500, Oracle JDK 1.7.0_55

      Description

      problem

      When trying to use IvyDE within Eclipse 4.4.1 the following Exception happens which renders IvyDE unusable:

      An internal error occurred during: "IvyDE resolve".
      
      java.lang.ClassCastException: org.eclipse.osgi.internal.framework.EquinoxConfiguration$1 cannot be cast to java.lang.String
      	at org.apache.ivy.core.settings.IvySettings.addAllVariables(IvySettings.java:610)
      	at org.apache.ivy.core.settings.IvySettings.addAllVariables(IvySettings.java:604)
      	at org.apache.ivy.core.settings.IvySettings.addSystemProperties(IvySettings.java:308)
      	at org.apache.ivy.core.settings.IvySettings.<init>(IvySettings.java:303)
      	at org.apache.ivy.core.settings.IvySettings.<init>(IvySettings.java:222)
      	at org.apache.ivyde.internal.eclipse.CachedIvy.createIvySettings(CachedIvy.java:235)
      	at org.apache.ivyde.internal.eclipse.CachedIvy.getIvyFromFile(CachedIvy.java:200)
      	at org.apache.ivyde.internal.eclipse.CachedIvy.doGetIvy(CachedIvy.java:163)
      	at org.apache.ivyde.internal.eclipse.CachedIvy.getIvy(CachedIvy.java:124)
      	at org.apache.ivyde.internal.eclipse.resolve.IvyResolveJob.doRun(IvyResolveJob.java:145)
      	at org.apache.ivyde.internal.eclipse.resolve.IvyResolveJob.run(IvyResolveJob.java:85)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hibou Nicolas Lalevée
                Reporter:
                chrjohn Christoph John
              • Votes:
                5 Vote for this issue
                Watchers:
                19 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: