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

Error when performing analysis on invalid *.wfconfig #261

Open
eneufeld opened this issue Apr 29, 2020 · 0 comments
Open

Error when performing analysis on invalid *.wfconfig #261

eneufeld opened this issue Apr 29, 2020 · 0 comments
Labels
Milestone

Comments

@eneufeld
Copy link
Contributor

Not too surprising but when I provide an invalid workflow name in the *.wfconfig file then the workflow tool fails with an exception. There is no exception when providing invalid assertions.
Probably it would be good to simply disable the 'Perform Analysis' action when the workflow file is not valid.

Apr 07, 2020 9:42:53 AM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint fallbackResponseError SEVERE: Internal error: java.lang.RuntimeException: java.lang.IllegalArgumentException: No workflow with name BrewingFlowFa in SuperBrewer3000 java.util.concurrent.CompletionException: java.lang.RuntimeException: java.lang.IllegalArgumentException: No workflow with name BrewingFlowFa in SuperBrewer3000 at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:645) at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: No workflow with name BrewingFlowFa in SuperBrewer3000 at com.eclipsesource.workflow.analyzer.application.WorkflowAnalyzerServerImpl.doRunAnalysis(WorkflowAnalyzerServerImpl.java:36) at com.eclipsesource.workflow.analyzer.application.WorkflowAnalyzerServerImpl.lambda$0(WorkflowAnalyzerServerImpl.java:26) at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ... 2 more Caused by: java.lang.IllegalArgumentException: No workflow with name BrewingFlowFa in SuperBrewer3000 at com.eclipsesource.workflow.analyzer.coffee.AnalyzeWorkflow.lambda$1(AnalyzeWorkflow.java:59) at java.base/java.util.Optional.orElseThrow(Optional.java:408) at com.eclipsesource.workflow.analyzer.coffee.AnalyzeWorkflow.(AnalyzeWorkflow.java:59) at com.eclipsesource.workflow.analyzer.coffee.AnalyzeWorkflow.(AnalyzeWorkflow.java:51) at com.eclipsesource.workflow.analyzer.application.WorkflowAnalyzerServerImpl.doRunAnalysis(WorkflowAnalyzerServerImpl.java:34) ... 4 more

@eneufeld eneufeld added this to the Backlog milestone Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant