cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Run Designer source code as an Eclipse Application

raj1
Champ in-the-making
Champ in-the-making
Hi,

The Eclipse designer source code compiles without errors.Next -> right click the org.activiti.designer.eclipse project and choose Run as > Eclipse application.

Now I am able to create a Activiti Project, but when I add a new activiti diagram, on clicking Finish in the Wizard I get the following error:

!ENTRY org.eclipse.ui 4 0 2011-04-07 16:40:29.740
!MESSAGE Unhandled event loop exception
Error while logging event loop exception:
java.lang.OutOfMemoryError: PermGen space
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
   at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)
   at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:580)
   at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:550)
   at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:481)
   at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:469)
   at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
   at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
   at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
   at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
   at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
   at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
   at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
   at org.eclipse.bpmn2.Bpmn2Package.<clinit>(Bpmn2Package.java:69)
   at org.eclipse.bpmn2.Bpmn2Package$Literals.<clinit>(Bpmn2Package.java:25409)
   at org.eclipse.bpmn2.impl.ProcessImpl.eStaticClass(ProcessImpl.java:283)
   at org.eclipse.emf.ecore.impl.EObjectImpl.eClass(EObjectImpl.java:269)
   at org.eclipse.emf.ecore.util.EContentsEList.createEContentsEList(EContentsEList.java:55)
   at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eContents(BasicEObjectImpl.java:821)
   at org.eclipse.emf.ecore.util.EcoreUtil$ProperContentIterator.<init>(EcoreUtil.java:1246)
   at org.eclipse.emf.ecore.util.EcoreUtil$4.getChildren(EcoreUtil.java:1157)
   at org.eclipse.emf.ecore.util.EcoreUtil$ContentTreeIterator.hasNext(EcoreUtil.java:1408)
   at null
   at null
   at null
   at null
   at null
   at null
   at null

!ENTRY org.eclipse.ui 4 0 2011-04-07 16:40:32.285
!MESSAGE Unhandled event loop exception
Error while logging event loop exception:
java.lang.OutOfMemoryError: PermGen space
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
   at null
java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space

Kindly help me in the issue!!!!!

Best Regards,
Raj
4 REPLIES 4

tiesebarrell
Champ in-the-making
Champ in-the-making
Can you provide the exact version of your Eclipse installation and more specifically, your EMF related plugins? I've seen this kind of problem before between minor versions of EMF generated classes, which is where this is occurring.

raj1
Champ in-the-making
Champ in-the-making
Hi,

I am using the following Eclipse version:

Eclipse for RCP and RAP Developers

Version: Helios Service Release 2
Build id: 20110218-0911

EMF - Eclipse Modeling Framework SDK 2.6.1.v20100914-1218 org.eclipse.emf.sdk.feature.group
EMF - Eclipse Modeling Framework Runtime and Tools 2.6.1.v20100914-1218 org.eclipse.emf.feature.group

What version of EMF SDK plugin is to be used?

Kindly help me resolve this issue!!!!!

trademak
Star Contributor
Star Contributor
Hi,

Please use the RCP 3.6.1 Eclipse version. Then it should all work.

Best regards,

raj1
Champ in-the-making
Champ in-the-making
Hi,

Thanks!!
With RCP 3.6.1 Eclipse version it works fine!!

Best Regards,
Raj