Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2005

Tip: Looking for answers? Try searching our database.

exception in JSP- need help!

Thread view: 
vidya - 30 Jul 2005 08:21 GMT
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
Andrew Thompson - 30 Jul 2005 08:37 GMT
> 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'?

Signature

Andrew Thompson
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
Beats A Hard Kick In The Face

vidya - 30 Jul 2005 09:22 GMT
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..
Andrew Thompson - 30 Jul 2005 10:11 GMT
> 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.

Signature

Andrew Thompson
physci.org 1point1c.org javasaver.com lensescapes.com athompson.info
A By-Product Of The TV Industry

vidya - 30 Jul 2005 11:00 GMT
Thank You once again. My problem solved.

Regards,
Vidya
Neill - 31 Jul 2005 02:06 GMT
> 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.

Signature

Neill Laney
http://www.laneyconsulting.com



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.