- marked as minor
Regex crashes rather than failing gracefully
Issue #262
invalid
Exception in thread "Animation Thread" java.lang.IllegalStateException: No match found
at java.util.regex.Matcher.group(Unknown Source)
Error occurs when making regex errors for a function name input.
My instance of error was + void renderFrame())
Better result may be graceful failure.
Comments (4)
-
reporter -
Can you give ~5 more calls of the stack trace, please? The information about where the call was made from is missing :)
-
reporter Exception in thread "Animation Thread" java.lang.IllegalStateException: No match found at java.util.regex.Matcher.group(Unknown Source) at ca.mcgill.ram.ui.handler.impl.ClassViewHandler.getParameter(ClassViewHandler.java:191) at ca.mcgill.ram.ui.handler.impl.ClassViewHandler.getParameters(ClassViewHandler.java:210) at ca.mcgill.ram.ui.handler.impl.ClassViewHandler.createOperation(ClassViewHandler.java:182) at ca.mcgill.ram.ui.handler.impl.ClassViewHandler.access$1(ClassViewHandler.java:171) at ca.mcgill.ram.ui.handler.impl.ClassViewHandler$2.verifyKeyboardDismissed(ClassViewHandler.java:114) at ca.mcgill.ram.ui.components.RamKeyboard.dimissKeyboard(RamKeyboard.java:752) at ca.mcgill.ram.ui.components.RamTextComponent.appendCharByUnicode(RamTextComponent.java:229) at ca.mcgill.ram.ui.components.RamKeyboard.keyPressed(RamKeyboard.java:538) at ca.mcgill.ram.ui.components.RamKeyboard.keyPressed(RamKeyboard.java:499)
-
- changed status to invalid
This issue is already fixed (
#93).Your branch is behind. Once you update it to the current state it will work :)
- Log in to comment