lppedd / idea-conventional-commit

Context and template-based completion for conventional/semantic commits.
https://plugins.jetbrains.com/plugin/13389-conventional-commit
MIT License
327 stars 19 forks source link

StackOverflowException on large project when rebasing #124

Open Floppy012 opened 1 year ago

Floppy012 commented 1 year ago

I have a pretty large triple-git-repo project (parent and two nested repositories generated from patches). I'm currently editing some of the older patches and therefore have both of the nested projects in an interactive rebase.

At first, everything worked fine until I restarted my IDE. I then could no longer save settings. Also with every Ctrl + S I received an error from the IDE that settings could not be saved.

I initially opened an issue @JetBrains where they've told me to try and disable this plugin. After I did that it worked again. I took a look at the log file myself and found a StackOverflowException that occurs every time I start the IDE:

Exception + Stacktrace ``` 2023-06-13 18:17:03,879 [ 14797] SEVERE - #c.i.o.a.i.ActionUpdater - ClearLocalMessageHistoryAction#update@ChangesView.CommitToolbar (com.github.lppedd.cc.vcs.ClearLocalMessageHistoryAction), actionId=cc.vcs.clearLocalMessageHistory, text='Clear Message History' java.lang.StackOverflowError at java.base/java.util.regex.Pattern$CharProperty.match(Pattern.java:3927) at java.base/java.util.regex.Pattern$Branch.match(Pattern.java:4734) at java.base/java.util.regex.Pattern$GroupHead.match(Pattern.java:4789) at java.base/java.util.regex.Pattern$Loop.match(Pattern.java:4898) at java.base/java.util.regex.Pattern$GroupTail.match(Pattern.java:4820) at java.base/java.util.regex.Pattern$BranchConn.match(Pattern.java:4698) at java.base/java.util.regex.Pattern$CharProperty.match(Pattern.java:3931) at java.base/java.util.regex.Pattern$Branch.match(Pattern.java:4734) at java.base/java.util.regex.Pattern$GroupHead.match(Pattern.java:4789) at java.base/java.util.regex.Pattern$Loop.match(Pattern.java:4898) at java.base/java.util.regex.Pattern$GroupTail.match(Pattern.java:4820) at java.base/java.util.regex.Pattern$BranchConn.match(Pattern.java:4698) at java.base/java.util.regex.Pattern$CharProperty.match(Pattern.java:3931) at java.base/java.util.regex.Pattern$Branch.match(Pattern.java:4734) at java.base/java.util.regex.Pattern$GroupHead.match(Pattern.java:4789) at java.base/java.util.regex.Pattern$Loop.match(Pattern.java:4898) at java.base/java.util.regex.Pattern$GroupTail.match(Pattern.java:4820) at java.base/java.util.regex.Pattern$BranchConn.match(Pattern.java:4698) at java.base/java.util.regex.Pattern$CharProperty.match(Pattern.java:3931) at java.base/java.util.regex.Pattern$Branch.match(Pattern.java:4734) at java.base/java.util.regex.Pattern$GroupHead.match(Pattern.java:4789) at java.base/java.util.regex.Pattern$Loop.match(Pattern.java:4898) at java.base/java.util.regex.Pattern$GroupTail.match(Pattern.java:4820) at java.base/java.util.regex.Pattern$BranchConn.match(Pattern.java:4698) at java.base/java.util.regex.Pattern$CharProperty.match(Pattern.java:3931) [many more of the same loop] 2023-06-13 18:17:03,897 [ 14815] SEVERE - #c.i.o.a.i.ActionUpdater - IntelliJ IDEA 2023.1.2 Build #IU-231.9011.34 2023-06-13 18:17:03,898 [ 14816] SEVERE - #c.i.o.a.i.ActionUpdater - JDK: 17.0.6; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o. 2023-06-13 18:17:03,898 [ 14816] SEVERE - #c.i.o.a.i.ActionUpdater - OS: Linux ```

If you need any more details, please let me know 😃

lppedd commented 7 months ago

Thank you! I'm using the linked repository to reproduce.