-
Notifications
You must be signed in to change notification settings - Fork 17
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
ami3
picocli
parsing error creates ClassCastException
#61
Comments
In the test
This correctly creates an error message
but also throws an Exception (when run in Eclipse)
When the command completes OK we (presumably) get the correct class returned. |
Hard to ReproduceI cannot reproduce this, perhaps because the test data is not committed? When I run the test I see this:
My suspicionsThe test essentially executes this command:
... but then receives the initialized command object like this: AMI.execute(AMIPixelTool.class, cmd); Looking at the So, either the command should be // no need to cast: AMIImageTool extends AbstractAMITool
AMIImageTool imageTool = AMI.execute(AMIImageTool.class, cmd); |
Thanks. |
Was this resolved and can this ticket be closed? |
Not sure it's been resolved... It tended to happen on parse errors. I'll
try to repeat the problem. If I can't we'll close it.
…On Tue, Jul 7, 2020 at 6:25 AM Remko Popma ***@***.***> wrote:
Was this resolved and can this ticket be closed?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#61 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFTCS7UEMEGPSX45FPGBL3R2KWTPANCNFSM4NYJDKMQ>
.
--
Peter Murray-Rust
Founder ContentMine.org
and
Reader Emeritus in Molecular Informatics
Dept. Of Chemistry, University of Cambridge, CB2 1EW, UK
|
No description provided.
The text was updated successfully, but these errors were encountered: