-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Sometimes when building the web portal running it causes the following error:
2025-08-21 14:46:34 Exception in thread "main" org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: -cf
2025-08-21 14:46:34 at org.apache.commons.cli.DefaultParser.handleUnknownToken(DefaultParser.java:561)
2025-08-21 14:46:34 at org.apache.commons.cli.DefaultParser.handleShortAndLongOption(DefaultParser.java:469)
2025-08-21 14:46:34 at org.apache.commons.cli.DefaultParser.handleToken(DefaultParser.java:542)
2025-08-21 14:46:34 at org.apache.commons.cli.DefaultParser.parse(DefaultParser.java:712)
2025-08-21 14:46:34 at org.apache.commons.cli.DefaultParser.parse(DefaultParser.java:679)
2025-08-21 14:46:34 at org.apache.commons.cli.DefaultParser.parse(DefaultParser.java:660)
2025-08-21 14:46:34 at org.texttechnologylab.App.main(App.java:55)This occurs even though the -cf parameter is clearly defined.
Rebuilding the image sometimes fixes this.
One oddity that I've noticed is that I believe the stacktrace is incomplete.
Shouldn't we also have a line with the parseCommandLine method? E.g:
at org.texttechnologylab.App.parseCommandLine(App.Java:215)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working