• Post Reply Bookmark Topic Watch Topic
  • New Topic

custom tags

 
ham rah
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i was trying to run asample code that is using custom tag
that code is provided at
http://www.stardeveloper.com/articles/display.html?article=2001081801&page=1
after goin through steps when i executed the code i got this error

HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause

java.lang.NullPointerException
MyPackage.DataAccessTag.doAfterBody(DataAccessTag.java:73)
org.apache.jsp.DataAccessTag_jsp._jspService(org.apache.jsp.DataAccessTag_jsp:111)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 
Dan Novik
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just null pointer in this method:

>java.lang.NullPointerException
>MyPackage.DataAccessTag.doAfterBody(DataAccessTag.java:73)

check out your code
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!