Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » java.lang.ClassCircularityError: myPackage/ValidationDelegateClientSelector
java.lang.ClassCircularityError: myPackage/ValidationDelegateClientSelector [message #46239] Mon, 10 December 2007 11:55 Go to next message
LoÃ?¯c QuÃ?©ran is currently offline LoÃ?¯c QuÃ?©ran
Messages: 45
Registered: July 2009
Member
When EMF Validation examples are not loaded, the exception occurs. When
EMF Validation examples are loaded, the exception does not occur.

Any idea on the reason for this would be appreciated.

Eclipse Version: 3.3.0 Build id: I20070621-1340
Sun JRE 1.6.02

EMF Validation 1.1.1 200708161445

What I have read so far on ClassCircularityError seems irrelevant (given
the previously mentionned version numbers).


Loïc






java.lang.ClassCircularityError:
mypackage/validation/constraints/ValidationDelegateClientSel ector
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.def ineClass(DefaultClassLoader.java:161)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineC lass(ClasspathManager.java:501)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findCla ssImpl(ClasspathManager.java:471)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClassImpl(ClasspathManager.java:430)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:413)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:408)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:289)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1269)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:788)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at
org.eclipse.emf.validation.internal.service.ClientContext.in itializeCustomSelector(ClientContext.java:186)
at
org.eclipse.emf.validation.internal.service.ClientContext.in itializeSelector(ClientContext.java:122)
at
org.eclipse.emf.validation.internal.service.ClientContext.<init >(ClientContext.java:72)
at
org.eclipse.emf.validation.internal.service.ClientContextMan ager.configureClientContexts(ClientContextManager.java:321)
at
org.eclipse.emf.validation.internal.service.ClientContextMan ager.configureConstraintBindings(ClientContextManager.java:3 04)
at
org.eclipse.emf.validation.internal.EMFModelValidationPlugin $Implementation.configureConstraintBindings(EMFModelValidati onPlugin.java:256)
at
org.eclipse.emf.validation.internal.EMFModelValidationPlugin $Implementation.start(EMFModelValidationPlugin.java:229)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:260)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:417)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
at
org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:37)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:405)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.def ineClass(DefaultClassLoader.java:161)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineC lass(ClasspathManager.java:501)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findCla ssImpl(ClasspathManager.java:471)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClassImpl(ClasspathManager.java:430)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:413)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:408)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
....
[Validation] Re: java.lang.ClassCircularityError: myPackage/ValidationDelegateClientSelector [message #46297 is a reply to message #46239] Mon, 10 December 2007 13:16 Go to previous message
Eclipse User
Originally posted by: cdamus.ca.ibm.com

Hi, Loïc,

This is an EMF Validation Framework question, so I have replied to that
newsgroup.

Are you trying to re-use the client-context defined by the example?

This problem has come up a few times before in the EMF newsgroup, so you
might search for possible solutions (or is that what you meant by "what
[you] have read so far?")

One work-around that I recall having some success is to exclude the package
in which the client-context selector is defined from the lazy-start header
in the bundle manifest.

HTH,

Christian


Loïc Quéran wrote:

> When EMF Validation examples are not loaded, the exception occurs. When
> EMF Validation examples are loaded, the exception does not occur.
>
> Any idea on the reason for this would be appreciated.
>
> Eclipse Version: 3.3.0 Build id: I20070621-1340
> Sun JRE 1.6.02
>
> EMF Validation 1.1.1 200708161445
>
> What I have read so far on ClassCircularityError seems irrelevant (given
> the previously mentionned version numbers).
>
>
> Loïc

-----8<-----
Previous Topic:null as value in OCL?
Next Topic:OCL Invariants on Ecore /EMF
Goto Forum:
  


Current Time: Sat Oct 25 05:38:54 GMT 2014

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

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