AnsweredAssumed Answered

Unable to Run Designer source code as an Eclipse Application

Question asked by raj1 on Apr 7, 2011
Latest reply on Apr 13, 2011 by raj1
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

Outcomes