Is that the full exception? Is there a root exception?
Kevin Jones
DevelopMentor
www.develop.com
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ravi N
> Sent: 31 January 2001 10:15
> To: [EMAIL PROTECTED]
> Subject: Re: Class.forName in jrun
>
>
> Hi kevin,
>
>
> >Try this java.lang.Class.forName("classname");
>
> that woks to some extent, i mean now i am getting a new error,
> this time NullPointerException,
>
>
> the error is
>
> /dataBase.jsp:
>
> null
> java.lang.NullPointerException
> at
> jrun__dataBase2ejspd._jspService(jrun__dataBase2ejspd.java, Compiled
> Code)
> at
> allaire.jrun.jsp.HttpJSPServlet.service(HttpJSPServlet.java, Compiled
> Code)
> at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled Code)
> at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java,
> Compiled Code)
> at
> allaire.jrun.servlet.JRunNamedDispatcher.forward(JRunNamedDispatch
> er.java, Compiled
> Code)
> at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java,
> Compiled Code)
> at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled Code)
> at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java,
> Compiled Code)
> at
> allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDisp
> atcher.java,
> Compiled Code)
> at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled Code)
> at
> allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java, Compiled Code)
>
> at allaire.jrun.http.WebEndpoint.run(WebEndpoint.java,
> Compiled Code)
> at allaire.jrun.ThreadPool.run(ThreadPool.java, Compiled Code)
> at allaire.jrun.WorkerThread.run(WorkerThread.java, Compiled Code)
>
>
> regards,
> ravi
>
>
> Kevin Jones wrote:
>
> > Ravi,
> >
> > a shot in the dark. Does JRun also have a class called Class defined
> > somewhere?
> >
> > Try this java.lang.Class.forName("classname");
> >
> > i.e. fully qualify the Class class and then see what happens
> >
> > Kevin Jones
> > DevelopMentor
> > www.develop.com
> >
> > > -----Original Message-----
> > > From: A mailing list about Java Server Pages specification
> and reference
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of Ravi N
> > > Sent: 31 January 2001 06:15
> > > To: [EMAIL PROTECTED]
> > > Subject: Class.forName in jrun
> > >
> > >
> > > hi all,
> > >
> > > have any one used the function
> > >
> > > Class.forName(....)
> > >
> > > in jrun3.0
> > >
> > > when i tried this it gives me a error
> > >
> > > javax.servlet.ServletException: Compilation error occured:
> > > Found 1 errors in JSP file:
> > > D:\\JRun3.0\\servers\\default\\default-app\\test.jsp:19: Error: No
> > > method named "forName" was found in type "Class".
> > >
> > > allaire.jrun.scripting.DefaultCFE:
> > > Errors reported by
> > >
> compiler:d:/JRun3.0/servers/default/default-app/WEB-INF/jsp/jrun__test2e
> > > jsp9.java:45:17:45:57: Error: No method named "forName" was found in
> > > type "Class".
> > >
> > > at
> > >
> allaire.jrun.scripting.JavaCompilerService.compile(JavaCompilerService.j
> > > ava, Compiled Code)
> > > at java.lang.Exception.(Exception.java, Compiled Code)
> > > at
> > >
> allaire.jrun.CompilationFailedException.(CompilationFailedException.java
> > > , Compiled Code)
> > > at
> allaire.jrun.scripting.DefaultCFE.(JavaCompilerService.java,
> > > Compiled Code)
> > > at
> allaire.jrun.scripting.DefaultCFE.(JavaCompilerService.java,
> > > Compiled Code)
> > > at
> > >
> allaire.jrun.scripting.JavaCompilerService.compile(JavaCompilerService.j
> > > ava, Compiled Code)
> > > at allaire.jrun.jsp.JSPServlet.compilePage(JSPServlet.java,
> > > Compiled Code)
> > > at allaire.jrun.jsp.JSPServlet.createServlet(JSPServlet.java,
> > > Compiled Code)
> > > at allaire.jrun.jsp.JSPServlet.loadPage(JSPServlet.java,
> > > Compiled Code)
> > > at
> allaire.jrun.jsp.JSPServlet.service(JSPServlet.java, Compiled
> > > Code)
> > > at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled
> > > Code)
> > > at
> allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java, Compiled
> > > Code)
> > > at
> > >
> allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher
> > > .java, Compiled Code)
> > > at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled
> > > Code)
> > > at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java,
> > > Compiled Code)
> > > at
> allaire.jrun.http.WebEndpoint.run(WebEndpoint.java, Compiled
> > > Code)
> > > at allaire.jrun.ThreadPool.run(ThreadPool.java, Compiled Code)
> > > at allaire.jrun.WorkerThread.run(WorkerThread.java, Compiled
> > > Code)
> > >
> > >
> > >
> > >
> > >
> > >
> > > is it bug r i am missing some thing?
> > >
> > > regards,
> > > ravi
> > >
> > > ==================================================================
> > > =========
> > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> > > JSP-INTEREST".
> > > For digest: mailto [EMAIL PROTECTED] with body: "set
> > > JSP-INTEREST DIGEST".
> > > Some relevant FAQs on JSP/Servlets can be found at:
> > >
> > > http://java.sun.com/products/jsp/faq.html
> > > http://www.esperanto.org.nz/jsp/jspfaq.html
> > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> >
> ==================================================================
> =========
> > To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> ==================================================================
> =========
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets