]
Alex Ferguson updated FORGE-2788:
---------------------------------
Summary: Forge batch run on large script randomly breaks down (was: Forge batch )
Forge batch run on large script randomly breaks down
----------------------------------------------------
Key: FORGE-2788
URL:
https://issues.jboss.org/browse/FORGE-2788
Project: Forge
Issue Type: Bug
Components: Forge Scripting Language
Affects Versions: 3.9.1.Final
Environment: * Windows 10
* JDK1.8.0
* Forge 3.9.1
Reporter: Alex Ferguson
Priority: Blocker
Attachments: all.forge.init.fsh, all.forge.update.fsh, error.txt
During a large batch run forge randomly crashes and throws an exception. Have noticed
this happening at random points in the script. See error.txt for full log :
{{[ss-rest-services-generated]$ ***ERROR*** Error while executing 'run'
java.util.concurrent.TimeoutException: Timeout expired waiting for command
[java-new-field --named HGAYZDUWSBMKERNITPOQJXCLF --target-class
com.soprasteria.api.model.OIJCFPNHDGLMZAUYTEVWKQRBS --type String --access-type private
--generate-getter --generate-setter --update-to-string
] to execute.
at
org.jboss.forge.addon.script.impl.ForgeScriptEngine.execute(ForgeScriptEngine.java:225)
at org.jboss.forge.addon.script.impl.ForgeScriptEngine.eval(ForgeScriptEngine.java:131)
at org.jboss.forge.addon.script.impl.ForgeScriptEngine.eval(ForgeScriptEngine.java:71)
at org.jboss.forge.addon.script.ui.RunCommand.execute(RunCommand.java:146)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at
org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
at
org.jboss.forge.addon.script.ui.RunCommand_$$_jvst260_113.execute(RunCommand_$$_jvst260_113.java)
at
org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:94)
at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:97)
at
org.jboss.forge.addon.shell.aesh.ForgeCommandContainer.executeCommand(ForgeCommandContainer.java:88)
at
org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:311)
at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:53)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
***ERROR*** Execution timed out.
exit
DONE
Process finished with exit code 0}}