Error on token(jsp error)

Hi i am writing a code in which i have to call one jsp page from another but as soon as the control gets transferred i get the error msg as:
Syntax error on token(s), misplaced construct(s)
16: if(rs.next()==false)
17: {
18:
19: <jsp:forward page="success.jsp"/>
20:
21: }
22: %>
An error occurred at line: 19 in the jsp file: /second/process.jsp
Syntax error, insert "AssignmentOperator Expression" to complete Assignment
16: if(rs.next()==false)
17: {
18:
19: <jsp:forward page="success.jsp"/>
20:
21: }
22: %>
An error occurred at line: 19 in the jsp file: /second/process.jsp
Syntax error, insert ";" to complete Statement
16: if(rs.next()==false)
17: {
18:
19: <jsp:forward page="success.jsp"/>
20:
21: }
22: %>
An error occurred at line: 19 in the jsp file: /second/process.jsp
forward cannot be resolved
16: if(rs.next()==false)
17: {
18:
19: <jsp:forward page="success.jsp"/>
20:
21: }
22: %>
An error occurred at line: 19 in the jsp file: /second/process.jsp
The operator / is undefined for the argument type(s) String, void
16: if(rs.next()==false)
17: {
18:
19: <jsp:forward page="success.jsp"/>
20:
21: }
22: %>
An error occurred at line: 19 in the jsp file: /second/process.jsp
Syntax error on tokens, delete these tokens
16: if(rs.next()==false)
17: {
18:
19: <jsp:forward page="success.jsp"/>
20:
21: }
22: %>
An error occurred at line: 22 in the jsp file: /second/process.jsp
Syntax error, insert "}" to complete Statement
19: <jsp:forward page="success.jsp"/>
20:
21: }
22: %>
23:
24: <%
25: else
An error occurred at line: 31 in the jsp file: /second/process.jsp
Syntax error, insert "Finally" to complete TryStatement
28: <jsp:forward page="fail.jsp"/>
29: <%
30: }
31: }
32: %>
33: <%catch(Exception e)
34: {
An error occurred at line: 32 in the jsp file: /second/process.jsp
Syntax error, insert "}" to complete Block
29: <%
30: }
31: }
32: %>
33: <%catch(Exception e)
34: {
35:
I am using MS-ACCESS AS DATABASE.
the jsp code is:
{color:#ff0000}<%@ page contentType="text/html; charset=UTF-8"%>
<%@ page import="java.io.{color}{color:#ff0000}*"%>*
*<%@ page import = "java.sql.*"%>
<%
String account=request.getParameter("ac");
String password=request.getParameter("pass");
String url="Jdbc:Odbc:Namrata";
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con=DriverManager.getConnection(url);
Statement stmt=con.createStatement();
ResultSet rs=stmt.executeQuery("select from database1 where Account="+account+"and Password="+password);
if(rs.next()==false)
<jsp:forward page="success.jsp"/>
%>
<%
else
%>
<jsp:forward page="fail.jsp"/>
<%
%>
<%catch(Exception e)
out.println("the exception is:"+e);
%>{color}

Namrata.Kakkar wrote:
but i have google searched and came to know that in jsp whatever java code we have to write we will write in tagsThat was not very good advice. Like I said, get Sun's Java EE tutorial (it's free) and learn how to do it the correct way.

Similar Messages

  • JSP Error Related Oracle Apps

    Once I logon with the correct userid and
    password,I have been interrupted to move any further
    and following error msg showing:
    JSP Error
    Request URI:/OA_HTML/fndvald.jsp
    Exception:
    java.lang.NoClassDefFoundError
    Please help me out of the problem at the earliest.

    You ought to ask this question in one of the E-Business Suite forums. It probably requires domain specific knowledge. Besides, most of the people here are back-end (i.e. database) developers, not web programmers.
    Cheers, APC
    Blog : http://radiofreetooting.blogspot.com/

  • Error shown on JSP page

    I have an error showing up for my JSP page, where no error should be.
    The page looks like:
    <%@ page import="atg.servlet.ServletUtil" %>
    <%@ taglib uri="dsp" prefix="dsp" %>
    <%@ taglib uri="c" prefix="c" %>
    <dsp:page>
      <dsp:importbean bean="/rh/configurator/service/ProductService"/>
      <dsp:importbean bean="/atg/dynamo/droplet/ForEach"/>
      <dsp:importbean bean="/rh/configurator/Configuration"/>
      <dsp:importbean bean="/rh/configurator/formhandler/ConfiguratorFormHandler"/>
      <dsp:importbean bean="/rh/configurator/droplet/PossibleOptionsDroplet"/>
      <p>
        <dsp:valueof bean="Configuration.question[bean:ProductService.currentSize]"/>
        <!-- Current index = <dsp:valueof bean="ProductService.currentIndex"/> -->
      </p>
      <dsp:form method="post" action="<%= ServletUtil.getDynamoRequest(request).getRequestURI() %>" name="myform" synchronized="/rh/configurator/service/ProductService">
        <%-- Use a list box rather than a combo box. --%>
        <dsp:select bean="ConfiguratorFormHandler.propertyValue" onchange="document.myform.addPropertyValue.click();" size="20" style="width: 200px">
          <dsp:droplet name="PossibleOptionsDroplet">
            <dsp:param name="productService" bean="ProductService"/>
            <dsp:oparam name="output">
              <dsp:droplet name="ForEach">
                <dsp:param name="array" param="options"/>
                <dsp:param name="sortProperties" value="+value"/>
                <dsp:oparam name="outputStart">
                  <dsp:option value="" selected="<%= true %>">Select...</dsp:option>
                </dsp:oparam>
                <dsp:oparam name="output">
                  <dsp:param name="item" param="element"/>
                  <dsp:option paramvalue="item.id">
                    <dsp:valueof param="item.value"/>
                  </dsp:option>
                </dsp:oparam>
              </dsp:droplet>
            </dsp:oparam>
          </dsp:droplet>
        </dsp:select>
        <dsp:input type="submit" name="addPropertyValue" bean="ConfiguratorFormHandler.addPropertyValue" value="Go">
      </dsp:form>
    </dsp:page>[/code:1:92ab377bb2]
    And the error is on the first <dsp:option> tag, where the "Select..." text is.
    The error has a tooltip description, but there is no corresponding description in the Problems tab.  I copied down the description as the following:
    Syntax error on token "}", try expected on this token.
    Syntax error, insert "}" to complete MethodBody.
    Syntax error, insert "}" to complete Block.
    Syntax error,  insert "Finally" to complete try statement.
    But... well, there's barely any java in this page.  I don't know where this error is coming from, or how to find the compiled class associated with it.
    Any ideas on how to fix this?
    Will ([email protected]).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Okay, fixed.
    <dsp:input type="submit" name="addPropertyValue" bean="ConfiguratorFormHandler.addPropertyValue" value="Go">[/code:1:703fdcee35]
    should have been:
    [code:1:703fdcee35]<dsp:input type="submit" name="addPropertyValue" bean="ConfiguratorFormHandler.addPropertyValue" value="Go"/>[/code:1:703fdcee35]
    Still a strange error, though.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Syntax error on token "class", invalid Expression

    Hai,
    i am new to java beans and i have written the following code which gives an error
    Code jsp:
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>beancode</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body>
    <!--<form name="form1" action="beancode" method="POST"> -->
    Name: <input type="text" name ="nname"> <br><br><br>
    Address: <input type="text" name ="naddress"> <br><br><br>
         <input type = "submit" value="Submit">
    <% useBean id="sampl"; class="beancode.class"; scope="page"; %>
    <% setProperty name="sampl"; property="*"; %>
    <%--</jsp:useBean> --%>
    <table border="1">
              <tr><td>S.NO</td><td>NAME</td><td width="95">ADDRESS</td></tr>
    <%
              int count =1;
              while (rs.next())
         String name = rs.getString("Name");
              String address = rs.getString("ADDRESS");
    %>
              <tr>
                   <td>
    <%
                        out.print(count);
    %>               </td>
                   <td>
    <%                     out.println(name);
    %>                </td>
                   <td>
    <%                     out.print(address);
                        count++;
    %>               </td>
              </tr>
    <%          }
    %>
         </table>
    <!--</form> -->
    </body>
    </html>
    JAVA Class code:
    import java.sql.*;
    * @author
    public class beancode
    private String employid;
    private Connection con = null;
    // private ResultSet rs = null;
    private PreparedStatement st = null;
    String name, address;
    /** Creates a new instance of beancode */
    public beancode()
    {ok
    try
              Class.forName("com.mysql.jdbc.Driver");
              String url = "jdbc:mysql://localhost:3306/test";
              Connection con =DriverManager.getConnection(url,"root","shasi");
              Statement s = con.createStatement();
              ResultSet rs = s.executeQuery ("Select * FROM Test");
    catch(Exception e)
              System.out.println(e.getMessage());
    public void setemployid(String nname,String naddress)
              name = nname;
              address = naddress;
         public String getemployid()
              return(name);
         public String getemployadd()
              return(address);
    public void insert()
    try
    String s1="insert into samp values('"+name+"','"+address+"')";
    st = con.prepareStatement(s1);
    st.executeUpdate();
    st.clearParameters();
    st.close();
    catch(Exception m)
         public static void main(String args[])
                   beancode b = new beancode();
                   b.insert();
    The error
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 18 in the jsp file: /bean.jsp
    Generated servlet error:
    Syntax error on token "class", invalid Expression
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    PLEASE HELP ME OUT
    I AM WAITING PLEASE
    Thanks,
    Shasi

    You can try to use the xml form of tag use bean and not <% like this:
    <jsp:useBean id="sampl" class="beancode" scope="page" />
    <jsp:setProperty name="sampl"; property="*" />
    and in the class attribute specify the fully qualified class name without the extension

  • JSP error page does not displayed on its own, includes in the original JSP

    Problem Description: - Exceptions in a Condition cause pages to fail to render.
    The actual issue is, the JSP error page does not displayed on its own, included in the original JSP Page when exception occurs.
    Problem Cause: As per the JSP specification when jsp content reached the buffer size (default 8KB) the page being flushed (Part of condent displays). The default �autoFlush� value is true.
    When the page buffer value is default size (8KB), and if any exception occurs after flushing the part of the content, instead of redirecting into error page, the error page content included in the original page.
    If i specify autoFlush="false" and with default buffer size, at the runtime if the buffer size is reached, i am getting stackoverflow error.
    To solve the above problem we can make it autoFlush=�false� and buffer=�100KB�. But we can�t predict the actual size of the page.
    I found in one of the weblogic forum as no solution for this issue. Ref.
    http://support.bea.com/application?namespace=askbea&origin=ask_bea_answer.jsp&event=link.view_answer_page_clfydoc&answerpage=solution&page=wls/S-10309.htm
    Please provide me any solution to resolve the problem.

    Error-Page tags work best with an error.html pages. If you have an error.jsp page what I would do, and I have, is wrap my classes and jsp pages in a try catch block where you forward to the error jsp page and display anything you want. YOu can also do this with if else statements. I have used the tomcat error pages before but when I've implemented them I used java.lang.Exception as the error to catch not Throwable. I don't know if this would make a difference or have anything to do with your problem.

  • How to display a stack trace in a jsp error mage

    What is the best way to display a stack trace in a JSP error page?
    I use "${pageContext.exception.message}" for the exception message. Is there a comparable JSTL expression for the stack?

    Cool! it totally works.
    Thanks for pointing me to this post.

  • Error While running JSP-

    while running JSP which is deployed in JAvaWebserver2.0 Trial version, it is giving this error
    javawebserver: Loading from CLASSPATH POLCATMA001_ItemMasterModule.properties
    javawebserver: Diagnostics: Silencing all diagnostic output (use -Djbo.debugoutp
    ut=console to see it)
    javawebserver: A nonfatal internal JIT (3.00.072b(x)) error 'ResolveItem64' has
    occurred in :
    javawebserver: 'oracle/sql/NUMBER.toBytes (Ljava/math/BigDecimal;)[B': Interpr
    eting method.
    This is happening while inserting a record to any master-detail jsp. In some Jsps while displaying(viewRecord) itself it is giving this error. After this error comes we are not able to do any insert, update or even navigation is not coming properly. Some vague errors like Error Message:null is coming. Why is it so? anybody got any idea abt this? Sometimes The same Jsp is working fine.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    Is your JSP functioning correctly when you run it from within JDeveloper, or are you experiencing the same problems there?
    If you are having the same problems from your JSP within JDeveloper, try the same from the Application Module tester.
    This will help determine where the source of the error is.
    Laura

  • "No tag library could be found with this URI" error while compiling jsp

    I am using WebLogic Server 9.2 MP1, JDK 1.5.0_09, Struts 1.3.5
              I am pre-compiling jsp pages with wlappc ant task. However, I got following errors when a jsp page contains ant taglib:
              No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
              The jsp page looks like:
              <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
              wlappc complains taglib could not be retrieved from this uri. Actually, since Struts 1.3.5, those ".tld" files are contained in strust-taglib-1.3.5.jar, folder META-INF/tld/. And I don't need to set anything in web.xml <tag-lib> tab anymore.
              All the jsp pages can be successfully compiled while being deployed to Server. So what am I missing? My build.xml file looks like:
                   <target name="compile-jsp">
                        <wlappc source="${src.dir}" output="${out.dir}"
                             keepgenerated="true" optimize="true" classpathref="wl_classpath"/>
                   </target>
              where "wl_classpath" contains all the struts related jar files, e.g. struts-core-1.3.5.jar, struts-taglib-1.3.5.jar, ...., and weblogic related jars, e.g. weblogic.jar.....
              I checked "beehive" samples coming with weblogic92, and found it pretty much did the same thing regarding build script and jsp files. So I am totally lost!
              Please help me out. Many thanks.
              Edited by jqian at 02/02/2007 10:24 AM

    Yes sorry, you're correct. The uri I mentioned is just 1.0.
    Do you have the "Oracle WebLogic Web App Extension" Facet for your web project? If not, try adding that and making sure that there is a weblogic.xml file created in the WEB-INF dir. The weblogic.xml file allows you to deploy usig a shared lib for JSTL. It should contain a library-ref element something like the following, with a version of 1.1.
    <wls:library-ref>
    <wls:library-name>jstl</wls:library-name>
    <wls:specification-version>1.1</wls:specification-version>
    <wls:exact-match>true</wls:exact-match>
    </wls:library-ref>

  • Error while accessing JSP deployed on Oracle AS

    Hi,
    I have developed an application and deployed in on the oracle AS 10.1.2
    In my application i have a Jsp on which i have the following code
    <?xml version="1.0" encoding="iso-8859-1"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <%@ page import="javax.servlet.*"%>
    <%@ page import="javax.servlet.http.*"%>
    <%@ page import="java.io.*"%>
    <%@ page import="java.util.*"%>
    <%@ page import="java.net.*"%>
    <% String strFileName = request.getParameter("prmFileName");
    //String strFileName = "d:\\Report.xls";
    response.setContentType( "application/vnd.ms-excel; charset=ISO-8859-1");
    PrintWriter out1 = response.getWriter();
    //System.out.println(strFileName);
    FileReader fread = new FileReader (strFileName);
    BufferedReader bfd = new BufferedReader(fread);
    String inputLine;
    while ((inputLine = bfd.readLine()) != null)
    out1.println (inputLine);
    bfd.close();
    out1.close();
    %>
    When i access this jsp through the application i get this error..
    during developement i had tested this jsp by deploying it on jboss and it worked properly but now i am faced with this error
    500 Internal Server Error
    java.lang.IllegalStateException: OutputStream already retrieved     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindHttpServletResponse.getWriter(EvermindHttpServletResponse.java:1001)     at ReportXlsOpen.jspService(_ReportXlsOpen.java:57)     [SRC:/ReportXlsOpen.jsp:12]     at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)
    Thanks & Regards,
    Madhur

    You don't need to get the output writer "out1". you can use "out" in your scriplets the same way as "request" and "response".

  • Error on deploying JSP web module

    Hi,
    I've created a JSP web module that consumes a web service. I'm following this tutorial
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0cf9e42-ccb0-2c10-d0a4-f5aa8a79e19a?quicklink=index&overridelayout=true|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0cf9e42-ccb0-2c10-d0a4-f5aa8a79e19a?quicklink=index&overridelayout=true]
    But when I deploy my ear project, I had this error
    Application error occurred during the request procession.
    Details:   com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException:
    Error compiling [/sample.jsp] of alias [LocalDevelopmentdc_webmodulesap.com] of J2EE application [sap.com/dc_webmoduleear].
    Exception id: [001CC43ABAC00086000056FB00006CEA0004A5A7E1A64FD3]
    Here's the java code in the JSP:
    InitialContext ctx = new InitialContext();
    WS_Preview obj = (WS_Preview).ctx.lookup("java:comp/env/newproxy");
    WS_PreviewViDocument port = (WS_PreviewViDocument)obj.getLogicalPort("Config1Port_Document",WS_PreviewViDocument.class);
    GetElementXHTMLValueResponse result = new GetElementXHTMLValueResponse();
    result = port.GetElementXHTMLValue("A","A","A");
    out.print(result);
    Does anyone know how to solve this error? Thanks

    Because you do not have an infrastructure database, you will not be able to deploy your web service from OEM as one of its steps is to register the service in the UDDI registy - the Web service deployment and UDDI registration are tied tightly together in OEM right now.
    All is not lost, however. You have two routes to deploy the Web Service on Oracle9iAS:
    1. Use DCM, which is the command line interface to deploy applications/webservices/wars/ears on Oracle9iAS. It does not have the dependency on UDDI.
    To deploy a Web service using DCM, say your Web service ear file were named test.ear your deployment command would look something like:
    c:\oracle\ora903\dcm\bin\dcmctl deployApplication -file test.ear
    See the doc for much more detail to let you tailor DCM to do all the stuff that is available through EM or specific to your application:
    http://download-west.oracle.com/docs/cd/A97329_03/core.902/a92171/dcm.htm#643834
    2. In JDeveloper 9.0.3, there is a DCM Servlet that lets you do remote deployment to Oracle9iAS:
    http://otn.oracle.com/products/jdev/htdocs/readme_9031.html#viadcm
    I suspect your deployment problem from Oracle9i JDeveloper may be (this may be an incorrect assumption) due to trying to use a connection that is setup as if Oracle9iAS is a standalone OC4J.
    Mike.

  • JSP Error while accessing application

    Hi ,
    After deploying an application in OC4J 10.1.3.3 , got the following error,
    500 Internal Server Error
    OracleJSP: An error occurred. Consult your application/system administrator for support. Programmers should consider setting the init-param debug_mode to "true" to see the complete exception message.
    Any idea what this means?
    thanks,
    Murugesh

    Not sure -- try setting the init-param debug_mode to "true" to see the complete exception message. This is done in the global-web-application.xml file -- see the main_mode entry for an example of where it belongs:
    <init-param>
    <param-name>debug_mode</param-name>
    <param-value>true</param-value>
    </init-param>
    You can also set these values from ASC using the Administration > JSP Properties task on the OC4J instance in question.

  • JSP Error: While accessing the 11.5.10.2 Login Page

    Dear All,
    While trying to access the Login Page of 11.5.10.2 version for the first time, after a fresh installation, I am getting the following Error:
    JSP Error:
    Request URI:/OA_HTML/AppsLocalLogin.jsp
    Exception:
    java.lang.NoSuchMethodError: oracle.apps.fnd.sso.Utils.setRequestCharacterEncoding(Ljavax/servlet/http/HttpServletRequest;)V
    Please advice Whether anynthing wrong with the installation
    Thanks..,

    Hi,
    many thanks for the response....
    Please find the log file details as follows:
    $APACHE_TOP/Apache/Jserv/logs
    I could find a file called: mod_jserv.log and below shown is the content of the file:
    [23/03/2008 11:49:34:305] (EMERGENCY) ajp12: can not connect to host 192.168.0.33:17000
    [23/03/2008 11:49:34:328] (EMERGENCY) ajp12: function connection fail
    [23/03/2008 11:49:35:332] (EMERGENCY) ajp12: can not connect to host 192.168.0.33:16000
    [23/03/2008 11:49:35:332] (EMERGENCY) ajp12: function connection fail
    [23/03/2008 11:49:36:336] (EMERGENCY) ajp12: can not connect to host 192.168.0.33:19000
    [23/03/2008 11:49:36:336] (EMERGENCY) ajp12: function connection fail
    $APACHE_TOP/Apache/Jserv/logs/jvm
    File1: OACoreGroup.0.stdout
    ApacheJServ/1.1
    Starting Self-Service Mobile Framework v1.0.8.4 initialization
    Servlet Initialized
    ApacheJServ/1.1.2
    Starting Self-Service Mobile Framework v1.0.8.4 initialization
    0.000: [GC 34944K->1794K(126720K), 0.0622710 secs]
    3.707: [Full GC 16414K->1951K(126720K), 0.1113560 secs]
    Servlet Initialized
    1799.126: [GC 37023K->2432K(126848K), 0.0212320 secs]
    3866.431: [GC 37504K->2449K(126848K), 0.0046790 secs]
    5929.879: [GC 37521K->2449K(126848K), 0.0067740 secs]
    7997.123: [GC 37521K->2449K(126848K), 0.0057680 secs]
    9406.379: [GC 37521K->3421K(126848K), 0.0273190 secs]
    ApacheJServ/1.1.2
    Starting Self-Service Mobile Framework v1.0.8.4 initialization
    0.000: [GC 34944K->1802K(126720K), 0.0434050 secs]
    3.248: [Full GC 13181K->1934K(126720K), 0.1367460 secs]
    Servlet Initialized
    9.498: [Full GC 19627K->2914K(126848K), 0.1657290 secs]
    22.202: [GC 37986K->14162K(126848K), 0.1693410 secs]
    30.267: [Full GC 26205K->15086K(126848K), 0.2766730 secs]
    105.147: [GC 50157K->16481K(126848K), 0.0409380 secs]
    428.416: [GC 51553K->17758K(126848K), 0.0368180 secs]
    868.359: [GC 52830K->18783K(126848K), 0.0543650 secs]
    1036.996: [GC 53853K->20868K(126848K), 0.0410590 secs]
    1680.842: [GC 55940K->21729K(126848K), 0.0395180 secs]
    2225.097: [GC 56801K->22640K(126848K), 0.0286630 secs]
    2226.562: [GC 57712K->22610K(126848K), 0.0344330 secs]
    2230.827: [GC 57682K->23727K(126848K), 0.0224470 secs]
    2233.623: [GC 58799K->25684K(126848K), 0.0639170 secs]
    3002.680: [GC 60756K->29063K(126848K), 0.0522580 secs]
    3533.140: [GC 64129K->30333K(126848K), 0.0582700 secs]
    4078.031: [GC 65405K->30808K(126848K), 0.0151680 secs]
    4101.383: [Full GC[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor9]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor6]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor4]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor3]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor1]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor8]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor5]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor7]
    File2: DiscoGroup.0.stdout
    ApacheJServ/1.1
    Discoverer Model - 4.1.46.08.00
    WARNING: Attempting to use HTTP Firewall Proxy Server
    due to security restrictions: org.omg.CORBA.INTERNAL: Can not find GateKeeper: exception ReqFailure{} minor code: 0 completed: No
    Discoverer Model - 4.1.46.08.00
    WARNING: Attempting to use HTTP Firewall Proxy Server
    due to security restrictions: org.omg.CORBA.INTERNAL: Can not find GateKeeper: exception ReqFailure{} minor code: 0 completed: No
    Discoverer Model - 4.1.46.08.00
    WARNING: Attempting to use HTTP Firewall Proxy Server
    due to security restrictions: org.omg.CORBA.INTERNAL: Can not find GateKeeper: exception ReqFailure{} minor code: 0 completed: No
    Discoverer Model - 4.1.46.08.00
    WARNING: Attempting to use HTTP Firewall Proxy Server
    due to security restrictions: org.omg.CORBA.INTERNAL: Can not find GateKeeper: exception ReqFailure{} minor code: 0 completed: No
    Discoverer Model - 4.1.46.08.00
    WARNING: Attempting to use HTTP Firewall Proxy Server
    due to security restrictions: org.omg.CORBA.INTERNAL: Can not find GateKeeper: exception ReqFailure{} minor code: 0 completed: No
    Discoverer Model - 4.1.46.08.00
    WARNING: Attempting to use HTTP Firewall Proxy Server
    due to security restrictions: org.omg.CORBA.INTERNAL: Can not find GateKeeper: exception ReqFailure{} minor code: 0 completed: No
    ApacheJServ/1.1.2
    0.000: [GC 34944K->605K(126720K), 0.0160370 secs]
    3108.991: [GC 35549K->627K(126720K), 0.0076150 secs]
    6231.719: [GC 35571K->628K(126720K), 0.0097730 secs]
    ApacheJServ/1.1.2
    0.000: [GC 34944K->605K(126720K), 0.0175620 secs]
    ApacheJServ/1.1.2
    0.000: [GC 34944K->605K(126720K), 0.0114060 secs]
    ApacheJServ/1.1.2
    0.000: [GC 34944K->594K(126720K), 0.0099880 secs]
    3104.899: [GC 35538K->616K(126720K), 0.0054030 secs]
    6212.468: [GC 35560K->616K(126720K), 0.0043100 secs]
    9320.398: [GC 35560K->616K(126720K), 0.0043180 secs]
    12431.724: [GC 35560K->616K(126720K), 0.0042310 secs]
    15540.350: [GC 35560K->616K(126720K), 0.0050770 secs]
    18648.742: [GC 35560K->616K(126720K), 0.0049940 secs]
    File 3: XmlSvcsGrp.0.stdout
    ApacheJServ/1.1
    ApacheJServ/1.1.2
    0.000: [GC 34944K->992K(126720K), 0.0222780 secs]
    1331.380: [GC 35936K->1596K(126720K), 0.0252860 secs]
    2978.434: [GC 36540K->1572K(126720K), 0.0155030 secs]
    4561.042: [GC 36509K->2146K(126720K), 0.0124670 secs]
    6159.901: [GC 37090K->1568K(126720K), 0.0162710 secs]
    7801.433: [GC 36488K->1600K(126720K), 0.0096090 secs]
    9361.497: [GC 36532K->2144K(126720K), 0.0111690 secs]
    ApacheJServ/1.1.2
    0.000: [GC 34944K->1516K(126720K), 0.0335350 secs]
    1637.366: [GC 36460K->1617K(126720K), 0.0119330 secs]
    3201.033: [GC 36548K->2141K(126720K), 0.0153640 secs]
    4820.604: [GC 37085K->1567K(126720K), 0.0147900 secs]
    ApacheJServ/1.1.2
    0.000: [GC 34944K->1516K(126720K), 0.0219900 secs]
    1637.286: [GC 36460K->1617K(126720K), 0.0118590 secs]
    3202.661: [GC 36548K->2142K(126720K), 0.0135660 secs]
    ApacheJServ/1.1.2
    0.000: [GC 34944K->923K(126720K), 0.0378160 secs]
    465.724: [GC 35867K->958K(126720K), 0.0107050 secs]
    2049.456: [GC 35881K->1536K(126720K), 0.0106250 secs]
    3632.469: [GC 36480K->991K(126720K), 0.0070540 secs]
    5276.173: [GC 35935K->993K(126720K), 0.0069840 secs]
    6849.801: [GC 35912K->1567K(126720K), 0.0098510 secs]
    8450.902: [GC 36511K->990K(126720K), 0.0112260 secs]
    10089.975: [GC 35909K->990K(126720K), 0.0068660 secs]
    11650.057: [GC 35921K->1566K(126720K), 0.0084910 secs]
    13269.947: [GC 36510K->991K(126720K), 0.0068470 secs]
    14890.263: [GC 35910K->1213K(126720K), 0.0074270 secs]
    16452.170: [GC 36157K->987K(126720K), 0.0068140 secs]
    18094.799: [GC 35931K->993K(126720K), 0.0069330 secs]
    19690.498: [GC 35912K->1468K(126720K), 0.0081220 secs]
    21269.320: [GC 36412K->988K(126720K), 0.0070610 secs]
    22908.334: [GC 35932K->993K(126720K), 0.0068100 secs]
    24490.848: [GC 35910K->1567K(126720K), 0.0083790 secs]
    26082.852: [GC 36511K->989K(126720K), 0.0103980 secs]
    27721.116: [GC 35933K->993K(126720K), 0.0068200 secs]
    ApacheJServ/1.1.2
    ApacheJServ/1.1.2
    0.000: [GC 34944K->937K(126720K), 0.0231740 secs]

  • Wireld 500 Internal Server Error in my JSP page

    My JSP page (maed by ADF) works good for about one week but after that it gives error:
    500 Internal Server Error
    javax.faces.el.EvaluationException: javax.faces.FacesException: javax.faces.FacesException: Can't instantiate class: 'invoiceEntry'.. class invoiceEntry : java.lang.NullPointerException
    Would some one help tell me what the issue could be?
    Here is the whole error message:
    500 Internal Server Error
    javax.faces.el.EvaluationException: javax.faces.FacesException: javax.faces.FacesException: Can't instantiate class: 'invoiceEntry'.. class invoiceEntry : java.lang.NullPointerException     at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:206)     at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)     at oracle.adf.view.faces.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:55)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.ValueRenderer.getValue(ValueRenderer.java:63)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.ValueRenderer.getConvertedString(ValueRenderer.java:32)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.OutputTextRenderer.encodeEnd(OutputTextRenderer.java:56)     at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:163)     at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)     at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:236)     at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:255)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelLabelAndMessageRenderer.renderFieldCellContents(PanelLabelAndMessageRenderer.java:59)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.LabelAndMessageRenderer._renderFieldCell(LabelAndMessageRenderer.java:293)     at oracle.adfinternal.view.faces.renderkit.core.xhtml.LabelAndMessageRenderer.encodeAll(LabelAndMessageRenderer.java:163)     at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:159)     at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)     at oracle.adfinternal.view.faces.uinode.UIComponentUINode._renderComponent(UIComponentUINode.java:317)     at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:262)     at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:239)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)     at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)     at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:67)     at oracle.adfinternal.view.faces.uinode.UIXComponentUINode.renderInternal(UIXComponentUINode.java:177)     at oracle.adfinternal.view.faces.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:53)     at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)     at oracle.adfinternal.view.faces.uinode.UIComponentUINode._renderComponent(UIComponentUINode.java:317)     at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:262)     at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:239)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)     at oracle.adfinternal.view.faces.ui.laf.base.xhtml.RowLayoutRenderer.renderChild(RowLayoutRenderer.java:95)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)     at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)     at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:67)     at oracle.adfinternal.view.faces.uinode.UIXComponentUINode.renderInternal(UIXComponentUINode.java:177)     at oracle.adfinternal.view.faces.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:53)     at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)     at oracle.adfinternal.view.faces.uinode.UIComponentUINode._renderComponent(UIComponentUINode.java:317)     at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:262)     at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:239)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)     at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)     at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:67)     at oracle.adfinternal.view.faces.uinode.UIXComponentUINode.renderInternal(UIXComponentUINode.java:177)     at oracle.adfinternal.view.faces.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:53)     at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)     at oracle.adfinternal.view.faces.uinode.UIComponentUINode._renderComponent(UIComponentUINode.java:317)     at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:262)     at oracle.adfinternal.view.faces.uinode.UIComponentUINode.render(UIComponentUINode.java:239)     at oracle.adfinternal.view.faces.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(ContextPoppingUINode.java:224)     at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)     at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderNamedChild(BaseRenderer.java:384)     at oracle.adfinternal.view.faces.ui.laf.base.desktop.PageHeaderLayoutRenderer._renderTabBar(PageHeaderLayoutRenderer.java:570)     at oracle.adfinternal.view.faces.ui.laf.base.desktop.PageHeaderLayoutRenderer.renderContent(PageHeaderLayoutRenderer.java:429)     at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)     at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:67)     at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)     at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderChild(BaseRenderer.java:412)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:330)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderIndexedChild(BaseRenderer.java:222)     at oracle.adfinternal.view.faces.ui.BaseRenderer.renderContent(BaseRenderer.java:129)     at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:81)     at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:67)     at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:346)     at oracle.adfinternal.view.faces.ui.BaseUINode.render(BaseUINode.java:301)     at oracle.adfinternal.view.faces.ui.composite.UINodeRenderer.renderWithNode(UINodeRenderer.java:90)     at oracle.adfinternal.view.faces.ui.composite.UINodeRenderer.render(UINodeRenderer.java:36)     at oracle.adfinternal.view.faces.ui.laf.oracle.desktop.PageLayoutRenderer.render(PageLayoutRenderer.java:76)     at oracle.adfinternal.view.faces.uinode.UIXComponentUINode.renderInternal(UIXComponentUINode.java:177)     at oracle.adfinternal.view.faces.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:53)     at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)     at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:623)     at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:546)     at oracle.adf.view.faces.webapp.UIXComponentTag.doEndTag(UIXComponentTag.java:100)     at invoiceEntryNew.jspService(_invoiceEntryNew.java:3702)     [SRC:/invoiceEntryNew.jsp:669]     at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:253)     at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)     at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)     at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)     at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)     at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)     at Session.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:50)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:534)Caused by: javax.faces.FacesException: javax.faces.FacesException: Can't instantiate class: 'invoiceEntry'.. class invoiceEntry : java.lang.NullPointerException     at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:266)     at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:78)     at oracle.adfinternal.view.faces.el.AdfFacesVariableResolver.resolveVariable(AdfFacesVariableResolver.java:40)     at oracle.adfinternal.view.faces.model.VariableResolverUtils$JspResolver.resolveVariable(VariableResolverUtils.java:79)     at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125)     at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:146)     at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)     at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)     ... 114 moreCaused by: javax.faces.FacesException: Can't instantiate class: 'invoiceEntry'.. class invoiceEntry : java.lang.NullPointerException     at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:209)     at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:256)     ... 121 moreCaused by: java.lang.ClassNotFoundException: class invoiceEntry : java.lang.NullPointerException     at java.beans.Beans.instantiate(Beans.java:208)     at java.beans.Beans.instantiate(Beans.java:48)     at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:203)     ... 122 more

    Looks like a NPE in your invoiceEntry class - I cannot tell for sure is that a managed bean or a jsp tag. My guess would be that the NPE is in that class' constructor... time to get out the debugger.
    John

  • Error in precompiling JSPs using OJSPC

    Hi,
    I am precompiling JSPs in war file using ojspc as specified below.
         ojspc -output myapp.war app.war
    However I am getting following error:
    Detected archive, now processing contents of app.war...
    Setting up temp area...
    Expanding archive in temp area...
    WARNING: IGNORED file: /WEB-INF/lib/jsf-impl.jar
    WARNING: IGNORED file: /WEB-INF/lib/jsf-ri.jar
    Parse error in AddNewAttachment.jsp:
    oracle.jsp.parse.JspParseException: /AddNewAttachment.jsp: Line # 48,
    actionListener="#{addAttachmentBackingBean.cancel}"/>
    Error: A String literal value, "#{addAttachmentBackingBean.cancel}", has been pr
    ovided for attribute actionListener which has an associated deferred method with
    void signature
    Removing temp area...
    Can anbody help me to solve this problem?
    Thanks.
    Regards,
    Umesh

    Hi,
    If I create a method via the binding editor in JDev it creates a managed bean method with a void return type as default.
    eg.
        public void cmdlink_actionListener(ActionEvent actionEvent) {
            // Add event code here...
        }could it have anything to do with the two OJSPC warnings? jsf-impl.jar should be included in your war file. I haven't seen this warning when OJSPC is compiling.
    Brenden

  • How to ignore JSP errors in JDeveloper 10g IDE?

    How do I ignore errors in JSPs? I forgot it is in server.xml or some other xml configuration file.

    Thanks for your reply. there is 'deprecation warnings' under Project Properties--> Compiler. These errors are not deprecation errors.
    The below code doesn't help either.
    <jsp-config>
    <jsp-property-group>
    <url-pattern>*.jsp</url-pattern>
    <el-ignored>false</el-ignored>
    </jsp-property-group>
    </jsp-config>

Maybe you are looking for

  • Portal Performance is Very Slow..Pls Help

    Hi to all. Our machine is Sun280R - Sun Solaris 8.. Using Oracle 9iAS 9.0.2.0.1.. Our portal is 9.0.2.0.1 Release 2. All installed in one machine (infs/apps) We have difficulties with the Portal performance. It takes slow time to login, and view the

  • Where is Adobe Memory Booster available?

    Tried searching the Adobe site for this under products without any luck. My laserjet vendor (Hewlett-Packard) recommends I use technology called Adobe Memory Booster to expand memory available to older printer without adding SIMMs. Found Adobe doc on

  • Spotlight ability to "browse" folders?

    Hello, I want to ask, if there is a possibility to browse folders in Spotlight, instead of opening them in the finder. For example: I search for a music band name and get the band folder in the iTunes library as a result. Now I would like to browse i

  • Why doesn't my ipad3 IP address match with my IPAddress on Facebook?

    Why don't my ipad3 IP address match my ip adress shown on Facebook?

  • Lightning VGA Adapter with Retina iPad

    I am having trouble getting a Lightning VGA Adapter working with an iOS 7 Retina iPad, although the same adapter/cable/display combo works perfectly with an iPhone 5.   When I attach the cable the display indicates a 1024x768 60 Hz input, but it stay