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

PatternSyntaxException: Unclosed group near index 24 #114

Open
Zomis opened this issue Nov 30, 2015 · 8 comments
Open

PatternSyntaxException: Unclosed group near index 24 #114

Zomis opened this issue Nov 30, 2015 · 8 comments

Comments

@Zomis
Copy link
Owner

Zomis commented Nov 30, 2015

No idea what this is or why this happens.

http://chat.stackexchange.com/transcript/message/25792461#25792461

@retailcoder
Copy link

retailcoder commented Nov 30, 2015 via email

@Zomis
Copy link
Owner Author

Zomis commented Nov 30, 2015

But why would it appear now? It has never appeared before that I know of, and nothing in the code has changed.

Sent from my 418 - I'm a teapot

@Zomis
Copy link
Owner Author

Zomis commented Nov 30, 2015

Correction, first occurance at september 10: http://chat.stackexchange.com/transcript/20298?m=23994936#23994936

Also sent from my teapot

@skiwi2
Copy link
Contributor

skiwi2 commented Nov 30, 2015

Has the Java version been updated recently?

To me it looks like internally in the regex matcher something crashed, the error message in any case does not seem to be intended for end-users.

@Zomis
Copy link
Owner Author

Zomis commented Apr 3, 2016

This is a really important issue as it might be a reason for why Duga stops working. After two of these errors recently, she went dead for 4 days. See http://chat.stackexchange.com/transcript/message/28613081#28613081

@Zomis
Copy link
Owner Author

Zomis commented Jul 24, 2018

This happened again recently and made @DugaBot be silent for several hours until I restarted her. https://chat.stackexchange.com/transcript/20298?m=45791996#45791996

@Vogel612
Copy link
Contributor

In the repo there's only a few places where Pattern or replace are used. For one that is the CommentClassification groovy task, the ChatMessageHelper as well as the ProgrammersClassification.java.

All usages of replace have regex specifiers that are shorter than 24 characters or no braces / parens at all. Accordingly something should be problematic in one of the Pattern usages...

@Zomis
Copy link
Owner Author

Zomis commented Jul 28, 2019

This is really strange, but I'm kinda wondering if it might be related to not having any internet. I noticed that between 23:16 on Friday evening and until today (Sunday) at 17, I have been getting this error seemingly once every minute.

On Friday at 21:00 I had a power failure causing @DugaBot to shutdown.
I started @DugaBot again at 23:14:33 on Friday
I had no internet between Friday at 21:00 until today at 17:00. I restarted @DugaBot at 17:02:33 today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants