昨日まで動いていたサービスが急に動かなくなり、ググっても良い感じの情報がでなかったので備忘録兼ねて記事作成しました。
発生した事象
IntelliJでGralde実行したところ以下のエラーが発生
Cause: cannot assign instance of java.util.Collections$EmptyList to field java.lang.StackTraceElement.moduleVersion of type java.lang.String in instance of java.lang.StackTraceElement
原因
裏で別のサービスが動いており、それとポートがかぶっていたため発生
解決方法
- 裏で動いてるサービスを停止する
- 動かすサービスで使うポートを変更する
参考元
IntelliJ has stopped printing stack traces when my app fails