Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fjåge shell keeps giving MultipleCompilationErrorsException if an incorrect import command is sent #243

Open
notthetup opened this issue May 4, 2022 · 0 comments
Assignees

Comments

@notthetup
Copy link
Collaborator

If I accidentally type an incorrect import command on the fjåge Groovy shell then I can't run any commands after that. This makes the shell totally unusable.

> import java.nio.Paths
> Paths.get("/tmp/profiles.groovy")
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script174.groovy: -1: unable to resolve class java.nio.Paths
 @ line -1, column -1.
1 error
> import java.nio.file.Paths
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script176.groovy: -1: unable to resolve class java.nio.Paths
 @ line -1, column -1.
1 error
> java.nio.file.Paths
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script178.groovy: -1: unable to resolve class java.nio.Paths
 @ line -1, column -1.
1 error
> import java.nio.file.Paths
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script180.groovy: -1: unable to resolve class java.nio.Paths
 @ line -1, column -1.
1 error
> reboot
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script182.groovy: -1: unable to resolve class java.nio.Paths
 @ line -1, column -1.
1 error
> reboot
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script184.groovy: -1: unable to resolve class java.nio.Paths
 @ line -1, column -1.
1 error
> ;
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script187.groovy: -1: unable to resolve class java.nio.Paths
 @ line -1, column -1.
1 error
> ps
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script189.groovy: -1: unable to resolve class java.nio.Paths
 @ line -1, column -1.
1 error
> import java.nio.file.Paths
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script191.groovy: -1: unable to resolve class java.nio.Paths
 @ line -1, column -1.
1 error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants