JBoss 7.1、Seam 2.2.2 を使用しています。
ページをレンダリングするときに、ページのどこで発生しているかを示す行番号なしで、NullPointerException を含む Facelets デバッグ ページを取得しています。このような問題をデバッグするための標準的なトリックはありますか? この場合、ログステートメントなどを入れる方法がわかりません。
ありがとう!
This post may be helpful to you: https://stackoverflow.com/a/5458247/498531. Basically it lets you override a built-in Seam component to print a stacktrace of any exception thrown. It helped me once that I inadvertently had two toString()
methods calling each other, and all I was just getting from the logs was a StackOverflowError, with no reference to any line of my code.