Closed
Description
Description
idea.log
contains quite many stack traces which state that some notification group already registered. This makes log reading more difficult.
To Reproduce
Steps to reproduce the behavior:
- Generate tests for some classes
- Open
idea.log
.Help -> Show Log in Explorer
could be used to locate it.
Expected behavior
Root cause of Notification group report is already registered
errors have been fixed.
Actual behavior
Log contains many entries similar to this one:
2022-11-22 15:25:43,022 [3930998] INFO - #c.i.n.NotificationGroup - Notification group SARIF report is already registered
java.lang.Throwable
at com.intellij.notification.NotificationGroup.<init>(NotificationGroup.kt:64)
at com.intellij.notification.NotificationGroup.<init>(NotificationGroup.kt:26)
at com.intellij.notification.NotificationGroup.<init>(NotificationGroup.kt:51)
at com.intellij.notification.NotificationGroup.<init>(NotificationGroup.kt:50)
at org.utbot.intellij.plugin.ui.Notifier.getNotificationGroup(Notifications.kt:40)
at org.utbot.intellij.plugin.ui.UrlNotifier.notify(Notifications.kt:108)
at org.utbot.intellij.plugin.ui.Notifier.notify$default(Notifications.kt:31)
at org.utbot.intellij.plugin.generator.CodeGenerationController.mergeSarifReports(CodeGenerationController.kt:571)
at org.utbot.intellij.plugin.generator.CodeGenerationController.access$mergeSarifReports(CodeGenerationController.kt:97)
at org.utbot.intellij.plugin.generator.CodeGenerationController$generateTests$2$1$1$1$1$1.run(CodeGenerationController.kt:174)
at org.utbot.intellij.plugin.util.IntelliJApiHelper$run$wrapper$1.run(IntelliJApiHelper.kt:33)
at org.utbot.intellij.plugin.util.IntelliJApiHelper$run$3.run(IntelliJApiHelper.kt:40)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
at java.base/java.lang.Thread.run(Thread.java:833)
That also could be:
#c.i.n.NotificationGroup - Notification group Generated unit tests report is already registered
#c.i.n.NotificationGroup - Notification group Test report details is already registered
Metadata
Metadata
Assignees
Type
Projects
Status
Done