Skip to main content



      Home
Home » Modeling » EMF » Problem during loading the created model(Problem during loading the created model)
icon5.gif  Problem during loading the created model [message #1734622] Fri, 10 June 2016 00:59 Go to next message
Eclipse UserFriend
Hi,
Problem when creating the model object.I have the ecore model BasicFamily.ecore and the genmodel BasicFamily.genmodel.Now for the BasicFamily.genmodel the model,edit and editor code is generated.Once the code is generated i run the eclipse application for the generated editor code and in that application i started creating the modelling project and for that project when i try to create family model defined in the BasicFamily.ecore it used to throw the exception as mentioned below

java.lang.StackOverflowError
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.defineClass(ModuleClassLoader.java:272)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:632)



So after research in the internet it is mentioned that for recursive call the stack size mentioned is not enough for the eclipse.So how can i increase the size of the stack.

Thanks in advance

Re: Problem during loading the created model [message #1734631 is a reply to message #1734622] Fri, 10 June 2016 02:39 Go to previous message
Eclipse UserFriend
You can edit the eclipse.ini to add the appropriate VM option:

http://stackoverflow.com/questions/3700459/how-to-increase-the-java-stack-size

On 10.06.2016 06:59, naveen ramesh wrote:
> Hi,
> Problem when creating the model object.I have the ecore model
> BasicFamily.ecore and the genmodel BasicFamily.genmodel.Now for the
> BasicFamily.genmodel the model,edit and editor code is generated.Once
> the code is generated i run the eclipse application for the generated
> editor code and in that application i started creating the modelling
> project and for that project when i try to create family model defined
> in the BasicFamily.ecore it used to throw the exception as mentioned
> below
>
> java.lang.StackOverflowError
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at
> org.eclipse.osgi.internal.loader.ModuleClassLoader.defineClass(ModuleClassLoader.java:272)
> at
> org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:632)
>
>
> So after research in the internet it is mentioned that for
> recursive call the stack size mentioned is not enough for the
> eclipse.So how can i increase the size of the stack.
>
> Thanks in advance
>
>
Previous Topic:adding new action to submenu
Next Topic:[xcore] Error: Cannot find compatible feature in sealed EClass
Goto Forum:
  


Current Time: Sun Jul 27 04:54:27 EDT 2025

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

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

Back to the top