• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Professional JSP Example Error

 
Buck Turgidson
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSP has finally clicked for me, and I am hitting the new year with a new zeal for studying.
But it have hit an error in Chapter 10 of the Wrox book, and I am wondering if anyone else can duplicate the error.
In CallTrace.java, the doEndTag() method is throwing a null pointer exception. It is because the body is empty, and it is trying to getting back null from getBodyContent, then trying to write null to the output stream. The TLD says the body-content should be empty, and it is indeed in the JSP. When I allow body content, it works fine.
Does anyone else get this error?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic