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

Unhandled event loop exception, regex.PatternSyntaxException using valid regular expression #203

Closed
brita-sed opened this issue Apr 26, 2021 · 3 comments
Assignees
Labels
bug Something isn't working high priority
Milestone

Comments

@brita-sed
Copy link
Collaborator

brita-sed commented Apr 26, 2021

Precondition

  • .../eclipse.exe has launched.
  • iFL plugin has been installed.

Steps

  1. Select a project.
  2. Click iFL button.
  3. Load scores.
  4. Click Show filters button.
  5. Click Add rule button.
  6. Add a Name rule like this:
  • Enter string: create???????
  • Containment: contains
  • Matching: partial
  • Case-sensitive: no
  • Regular expression: yes

Expected results

  • There will be results to this expression like "createProgram" elements.

Received results

!MESSAGE Unhandled event loop exception
!STACK 0
java.util.regex.PatternSyntaxException: Dangling meta character '?' near index 8
create???????
        ^
	at java.util.regex.Pattern.error(Unknown Source)
	at java.util.regex.Pattern.sequence(Unknown Source)
	at java.util.regex.Pattern.expr(Unknown Source)

regular_exp_02

Related issue:

Environment:

@brita-sed brita-sed added bug Something isn't working high priority labels Apr 26, 2021
@brita-sed brita-sed added this to the 3.0.0.0 milestone Apr 26, 2021
@brita-sed
Copy link
Collaborator Author

The "create??????" is an invalid expression, but an error message would be better than an exception.

@Dhorvath1294
Copy link
Collaborator

@brita-sed
Copy link
Collaborator Author

An error popup appeared, and there wasn't any error in log, so the bug has been corrected.

invalid_expression

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority
Projects
None yet
Development

No branches or pull requests

2 participants