-
Bug
-
Resolution: Unresolved
-
Major
-
2.7.2.Final
-
None
I was using the Forge Console to create a project. I was able to create the project.
I was then able to create a jpa-new-entity
Then I created a field with jpa-new-field --named myField --type java.lang.Double.double
And that worked.
I then tried creating another field; but had a misspelling with jpa-new-field --named myField2 --type java.land.Double.double misspelling lang
This returned an error and the console locked up and I had to restart the console. This failed and I had to restart eclipse.
- is related to
-
FORGE-2014 When running a script, the first prompt causes it to lock and not allow further typing
-
- Open
-
So, the shell is locked up until the script execution times out, because the current implementation of RunCommand does not detect any failure/result on the first error. It continues to loop expecting the command execution to return a result. Although it has the ScriptCommandListener attached to the shell, this listener is not triggered, since the execution control has not returned to the controller (SingleCommandController) yet.
In an other thread, the error message is written out to the shell (via CommandAdapter). No message is sent to the other thread indicating failure in validation during command execution.