exception in JSP- need help!

Discussion in 'Java' started by vidya, Jul 30, 2005.

  1. vidya

    vidya Guest

    hi,


    While running my JSP page, I am getting an exception.Im giving the full

    stack trace here..

    org.apache.jasper.JasperException: CST-Without C Form
    at
    org.apache.jasper.runtime.JspRuntimeLibrary.internalIntrospecthelper(JspRuntimeLibrary.java:274)
    at
    org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(JspRuntimeLibrary.java:220)
    at
    org.apache.jasper.runtime.JspRuntimeLibrary.introspect(JspRuntimeLibrary.java:198)
    at
    org.apache.jsp.ord_0005fassign_0005finv_0005fno_0005fadd$jsp._jspService(ord_0005fassign_0005finv_0005fno_0005fadd$jsp.java:138)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
    at
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at
    org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at
    org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at
    org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at
    org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at
    org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at
    org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    at
    org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:536)


    root cause

    org.apache.jasper.JasperException: CST-Without C Form
    at
    org.apache.jasper.runtime.JspRuntimeLibrary.convert(JspRuntimeLibrary.java:185)
    at
    org.apache.jasper.runtime.JspRuntimeLibrary.internalIntrospecthelper(JspRuntimeLibrary.java:268)
    at
    org.apache.jasper.runtime.JspRuntimeLibrary.introspecthelper(JspRuntimeLibrary.java:220)
    at
    org.apache.jasper.runtime.JspRuntimeLibrary.introspect(JspRuntimeLibrary.java:198)
    at
    org.apache.jsp.ord_0005fassign_0005finv_0005fno_0005fadd$jsp._jspService(ord_0005fassign_0005finv_0005fno_0005fadd$jsp.java:138)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
    at
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at
    org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at
    org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at
    org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at
    org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at
    org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at
    org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    at
    org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:536)




    >From this exception, can anybody tell me what kind of error im getting?




    it just says in which page the error is.. but can i know about the line

    number from which the excpetion comes.. and also.. the type of error...


    I am really unable to make out what the problem is..


    please help..


    Thanks in advance..


    vidya
    vidya, Jul 30, 2005
    #1
    1. Advertising

  2. On 30 Jul 2005 00:21:30 -0700, vidya wrote:

    > it just says in which page the error is.. but can i know about the line
    > number from which the excpetion comes..


    There are some basic bugging techniques that might help here.
    The one that springs to mind is as follows.

    Keep trimming Java code out of the page (as 10 statements
    at a time) until the problem stops. Then put the last ten
    lines you removed back in, and take out 5 of those to narrow
    it down further.

    While your posting 197 lines of stacktrace was very ..complete,
    I doubt it will be of much use unless people here can see
    - The original .JSP
    - The URL at which it is failing, so they can see it in a browser

    As an aside vidya, you are posting from groups-beta and
    your posts are not 'threading properly' in my news client.

    Are you doing *anything* at all to the subject lines of
    replies to your original posts that might be causing that?
    Are you 'replying' to your first post or simply making a
    separate post with the same 'subject'?

    --
    Andrew Thompson
    physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
    Beats A Hard Kick In The Face
    Andrew Thompson, Jul 30, 2005
    #2
    1. Advertising

  3. vidya

    vidya Guest

    here, the subject is different, know? its about exceptions..

    and my earlier qns was about javascript and all....

    this one is completely different..

    thatz y i post this as a seperate one.

    its true that im working on the same project when i post these topics.
    but i can have different kinda doubts even if i work on same project.
    rt?

    :)

    and about ur replies, im thanking u once again for ur valuable
    guidance. im reading the replies carefully and doing as its given..
    vidya, Jul 30, 2005
    #3
  4. On 30 Jul 2005 01:22:09 -0700, vidya wrote:

    > its true that im working on the same project when i post these topics.
    > but i can have different kinda doubts even if i work on same project.
    > rt?


    Please drop the cutesy 'im', 'kinda' 'tr' references in general,
    also use Capital Letters where appropriate.

    From sentences you wrote, such as this..

    "While running my JSP page, I am getting an exception."

    ...it is obvious that your choice to use abbreviations and
    lower case is exactly that, a choice (rather than lack of
    knowledge, or experience). Such use loose of language can
    be difficult to understand and is generally frowned upon
    (around these comp.lang.java.* groups).

    [ I was about to add 40-50 more lines of explanation,
    about what I asked, and other aspects of debugging/posting,
    but.. ]

    In fact, now that I look into your posts more carefully,
    my advice is to read the entire PhyScy Java FAQ - from
    start to finish, since it mentions so many debugging and
    posting techniques that might be of use to you.

    --
    Andrew Thompson
    physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
    A By-Product Of The TV Industry
    Andrew Thompson, Jul 30, 2005
    #4
  5. vidya

    vidya Guest

    Thank You once again. My problem solved.

    Regards,
    Vidya
    vidya, Jul 30, 2005
    #5
  6. vidya

    Neill Guest

    "vidya" <> wrote in message
    news:...
    > Thank You once again. My problem solved.
    >
    > Regards,
    > Vidya
    >


    Posts by Vidya in this thread - 4
    contribution to group - 0

    must be cultural, or human; either way, it stinks.

    --

    Neill Laney
    http://www.laneyconsulting.com
    Neill, Jul 31, 2005
    #6
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matthias Nietz
    Replies:
    1
    Views:
    3,431
    VisionSet
    Nov 12, 2003
  2. Raymond DeCampo

    Custom tags and <jsp:plugin> / <jsp:param>

    Raymond DeCampo, Feb 18, 2004, in forum: Java
    Replies:
    0
    Views:
    611
    Raymond DeCampo
    Feb 18, 2004
  3. vidya
    Replies:
    0
    Views:
    305
    vidya
    Jul 30, 2005
  4. Replies:
    0
    Views:
    4,326
  5. Daku
    Replies:
    2
    Views:
    461
Loading...

Share This Page