ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willian Constâncio da Silva (JIRA) <j...@apache.org>
Subject [jira] [Commented] (IVYDE-372) ClassCastException in Eclipse 4.4.1
Date Mon, 22 Sep 2014 19:36:34 GMT

    [ https://issues.apache.org/jira/browse/IVYDE-372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14143670#comment-14143670
] 

Willian Constâncio da Silva commented on IVYDE-372:
---------------------------------------------------

This happens even in the trunk version of IvyDE and Eclipse:
{quote}
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.workspaceresolver.WorkspaceIvySettings.<init>(WorkspaceIvySettings.java:30)
	at org.apache.ivyde.internal.eclipse.CachedIvy.createIvySettings(CachedIvy.java:226)
	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.CachedIvy.getCachedIvy(CachedIvy.java:102)
	at org.apache.ivyde.internal.eclipse.ui.menu.IvyMenuContributionItem.getContributionItems(IvyMenuContributionItem.java:171)
	at org.eclipse.ui.actions.CompoundContributionItem.getContributionItemsToFill(CompoundContributionItem.java:89)
	...
{quote}

Environment: 
Windows 7 64 bits
Eclipse Mars  I20140918-0330
Apache Ivy 2.5.0.alpha_20140513011703
Apache IvyDE 2.3.0.beta1-201405042018-hudson-287
Oracle JDK 1.7.0_45

> ClassCastException in Eclipse 4.4.1
> -----------------------------------
>
>                 Key: IVYDE-372
>                 URL: https://issues.apache.org/jira/browse/IVYDE-372
>             Project: IvyDE
>          Issue Type: Bug
>    Affects Versions: 2.2.0.final
>         Environment: Linux, Eclipse 4.4.1.M20140829-0500, Oracle JDK 1.7.0_55
>            Reporter: Christoph John
>
> h3. problem
> When trying to use IvyDE within Eclipse 4.4.1 the following Exception happens which renders
IvyDE unusable:
> {code}
> 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)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message