Skip to main content



      Home
Home » Archived » Mylyn Intent » Loader Constraint Violation on Save
icon4.gif  Loader Constraint Violation on Save [message #1265650] Thu, 06 March 2014 06:09 Go to next message
Eclipse UserFriend
Hi there.

I've just installed Intent and when trying to save any document, chapter or section, it fails with the error:

Save Failed
loader constraint violation: when resolving method "com.google.common.base.Predicates.instanceOf(Ljava/lang/Class;)Lcom/google/common/base/Predicate;" the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current class, org/eclipse/mylyn/docs/intent/compare/scope/IntentComparisonScope, and the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved class, com/google/common/base/Predicates, have different Class objects for the type com/google/common/base/Predicate; used in the signature

What might be the problem?

Cheers

Nuno
Re: Loader Constraint Violation on Save [message #1265782 is a reply to message #1265650] Thu, 06 March 2014 09:47 Go to previous messageGo to next message
Eclipse UserFriend
Hi Nuno,

first of all, thanks for your interest in Intent !

I think this issue is due to the fact that Intent 0.9 M5 used Guava 11
contrary to other projects (like xtext or emfcompare). See
https://bugs.eclipse.org/bugs/show_bug.cgi?id=427862#c60 for further details

Could you please try with
https://hudson.eclipse.org/hudson/job/mylyn-docs-intent-master-nightly/lastSuccessfulBuild/artifact/features/org.eclipse.mylyn.docs.intent.update/target/org.eclipse.mylyn.docs.intent.update.zip
which uses Guava 12 ?

Best regards,
Alex


Le 06/03/2014 12:09, Nuno Flores a écrit :
> Hi there.
>
> I've just installed Intent and when trying to save any document, chapter
> or section, it fails with the error:
>
> Save Failed
> loader constraint violation: when resolving method
> "com.google.common.base.Predicates.instanceOf(Ljava/lang/Class;)Lcom/google/common/base/Predicate;"
> the class loader (instance of
> org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current
> class,
> org/eclipse/mylyn/docs/intent/compare/scope/IntentComparisonScope, and
> the class loader (instance of
> org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved
> class, com/google/common/base/Predicates, have different Class objects
> for the type com/google/common/base/Predicate; used in the signature
>
> What might be the problem?
> Cheers
> Nuno
Re: Loader Constraint Violation on Save [message #1266595 is a reply to message #1265782] Fri, 07 March 2014 12:50 Go to previous messageGo to next message
Eclipse UserFriend
Hi Alex,

Just tried the zip you provided, but the problem remains.

Save Failed
loader constraint violation: when resolving method "com.google.common.base.Predicates.instanceOf(Ljava/lang/Class;)Lcom/google/common/base/Predicate;" the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current class, org/eclipse/mylyn/docs/intent/compare/scope/IntentComparisonScope, and the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved class, com/google/common/base/Predicates, have different Class objects for the type com/google/common/base/Predicate; used in the signature

Cheers.

Nuno
Re: Loader Constraint Violation on Save [message #1268234 is a reply to message #1266595] Mon, 10 March 2014 04:23 Go to previous messageGo to next message
Eclipse UserFriend
Hi Nuno,

sorry to hear that :( Unfortunatelly I may not be able to fix this
during this week. I've raised the corresponding bugzilla
https://bugs.eclipse.org/bugs/show_bug.cgi?id=429972 and try to fix it ASAP.

I'll keep you in tuch

Regards,
Alex
Re: Loader Constraint Violation on Save [message #1268314 is a reply to message #1268234] Mon, 10 March 2014 06:43 Go to previous messageGo to next message
Eclipse UserFriend
Ok, Alex, thanks Smile And good luck with Intent.

Cheers

Nuno
Re: Loader Constraint Violation on Save [message #1312119 is a reply to message #1265650] Thu, 24 April 2014 01:29 Go to previous messageGo to next message
Eclipse UserFriend
Any news on this? Like a date when fixed?

Regards,
Tomas Sandkvist
Re: Loader Constraint Violation on Save [message #1371127 is a reply to message #1312119] Wed, 21 May 2014 04:22 Go to previous message
Eclipse UserFriend
Yes this issue has been fixed by commit e4f106b

We now use exactly the same guava dependencies - [11.0,15.0) - as EMF
Compare, and the same version (11.0) in Intent luna TP.
Previous Topic:More flexible document structure
Next Topic:Asciidoc support?
Goto Forum:
  


Current Time: Tue May 13 05:03:36 EDT 2025

Powered by FUDForum. Page generated in 0.03266 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top