[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Thanks Michael,
Indeed, that was the problem.
At 04:50 PM 3/28/2005, you wrote:
Naci,
Those kinds of exceptions occur when you fail to
release the edit model, or in this case, dispose() the ModuleCore that
you're using.
The trace contains the location where the ModuleCore was accessed, and
never released:
at
org.eclipse.wst.common.modulecore.ModuleCore.getModuleCoreForRead(ModuleCore.java:106)
at
org.eclipse.jst.j2ee.ejb.annotations.internal.xdoclet.XDocletAntProjectBuilder$Factory.newInstance(XDocletAntProjectBuilder.java:51)
at
org.eclipse.jst.j2ee.ejb.annotations.internal.xdoclet.XDocletBuilder.build(XDocletBuilder.java:247)
Wrap your access of ModuleCore in a try ... finally :
ModuleCore moduleCore = null;
try {
moduleCore =
ModuleCore.getModuleCoreForXXX(...);
} finally {
if(moduleCore != null)
moduleCore.dispose();
}
-------------------------------------------------------------------------
Kind Regards,
Michael D. Elder
Rational Studio / J2EE Tools Development
IBM RTP Lab
Ext: (919) 543-8356
T/L: 441-8356
mdelder@xxxxxxxxxx
Monday, March 28, 2005 8:46 AM
To: wtp-dev@xxxxxxxxxxx
cc:
From: Naci Dai <naci.dai@xxxxxxxxxxxxx>
Subject: [wtp-dev] ModuleCore
This maybe a transient state I keep getting an exception everytime I try
to get module core with an Ejb Project. I am using the latest
N-Build (0328). Any ideas?
org.eclipse.wst.common.internal.emfworkbench.edit.ClientAccessRegistryException
This exception was generated to indicate an invalid usage of reference
counts. Please examine the stack trace.
Client Access Exception of type DANGLING_REFERENCE
org.eclipse.wst.common.internal.emfworkbench.edit.ClientAccessRegistryException
This exception was generated to indicate an invalid usage of reference
counts. Please examine the stack trace.
Client Access Exception of type DANGLING_REFERENCE
at
org.eclipse.wst.common.internal.emfworkbench.edit.ClientAccessRegistry.complain(ClientAccessRegistry.java:87)
at
org.eclipse.wst.common.internal.emfworkbench.edit.ClientAccessRegistry.complain(ClientAccessRegistry.java:82)
at
org.eclipse.wst.common.internal.emfworkbench.edit.ClientAccessRegistry.access(ClientAccessRegistry.java:43)
at
org.eclipse.wst.common.internal.emfworkbench.integration.EditModel.access(EditModel.java:905)
at
org.eclipse.wst.common.internal.emfworkbench.EMFWorkbenchContext.getEditModelForRead(EMFWorkbenchContext.java:124)
at
org.eclipse.wst.common.internal.emfworkbench.integration.EditModelNature.getEditModelForRead(EditModelNature.java:49)
at
org.eclipse.wst.common.internal.emfworkbench.integration.EditModelNature.getEditModelForRead(EditModelNature.java:39)
at
org.eclipse.wst.common.modulecore.ModuleCoreNature.getModuleStructuralModelForRead(ModuleCoreNature.java:241)
at
org.eclipse.wst.common.modulecore.ModuleCore.<init>(ModuleCore.java:320)
at
org.eclipse.wst.common.modulecore.ModuleCore.getModuleCoreForRead(ModuleCore.java:106)
at
org.eclipse.jst.j2ee.ejb.annotations.internal.xdoclet.XDocletAntProjectBuilder$Factory.newInstance(XDocletAntProjectBuilder.java:51)
at
org.eclipse.jst.j2ee.ejb.annotations.internal.xdoclet.XDocletBuilder.build(XDocletBuilder.java:247)
Naci Dai,
Managing Director
eteration a.s.
Inonu cad. Sumer sok. Zitas D1-15
Kozyatagi, Istanbul 81090
+90 (532) 573 7783 (cell)
+90 (216) 361 5434 (phone)
+90 (216) 361 2034 (fax)
http://www.eteration.com
mailto:nacidai@xxxxxxx
mailto:naci@xxxxxxxxxxxxx
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/wtp-dev
Naci Dai,
Managing Director
eteration a.s.
Inonu cad. Sumer sok. Zitas D1-15
Kozyatagi, Istanbul 81090
+90 (532) 573 7783 (cell)
+90 (216) 361 5434 (phone)
+90 (216) 361 2034 (fax)
http://www.eteration.com
mailto:nacidai@xxxxxxx
mailto:naci@xxxxxxxxxxxxx