5 Replies Latest reply: Aug 22, 2012 9:25 PM by 956491 RSS

    JSP compile error

    956491
      the app can be conrrectly started, but we hit error when enter some UI, it seems like JSP compile error, can somebody take a look? thank a lot


      weblogic.servlet.jsp.CompilationException: Failed to compile JSP /Framework/Components/DataGridToExcelDialog.html
      Exception occurred while processing '/tels/app_server/1.0.0/tels_domain/servers/Server2/stage/YSPro/YSPro/Framework/Components/DataGridToExcelDialog.html'java.lang.NullPointerException
           at weblogic.jsp.internal.ProxySourceFile._check(ProxySourceFile.java:147)
           at weblogic.jsp.internal.SourceFile.masterCheck(SourceFile.java:762)
           at weblogic.jsp.internal.SourceFile.check(SourceFile.java:314)
           at weblogic.jsp.internal.SourceFile.check(SourceFile.java:335)
           at weblogic.jsp.internal.ProxySourceFile.codeGen(ProxySourceFile.java:224)
           at weblogic.jsp.internal.SourceFile.codeGen(SourceFile.java:327)
           at weblogic.jsp.internal.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:599)
           at weblogic.jsp.internal.client.Job.performJob(Job.java:83)
           at weblogic.jsp.internal.client.ThreadPool$WorkerThread.run(ThreadPool.java:217)

           at weblogic.servlet.jsp.JavelinxJSPStub.reportCompilationErrorIfNeccessary(JavelinxJSPStub.java:226)
           at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:162)
           at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:256)
           at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:216)
           at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:243)
           Truncated. see log file for complete stacktrace
        • 1. Re: JSP compile error
          Kalyan Pasupuleti-Oracle
          Hi,

          Clear cache and restart the server and check whether you have similar issue or not.

          Regards,
          Kal
          • 2. Re: JSP compile error
            956491
            Hi ,thank you for your advice, i try it but it useless. I created a new html and rename to DataGridToExcelDialog.html ,then I replaced the one on the server ,The new html also compiled Failed . This is killing me.

            Weblogic 10.3.3
            Jdk 1.6.0_18
            • 3. Re: JSP compile error
              in the line of fire
              Can you put the entire exception ?
              • 4. Re: JSP compile error
                René van Wijk
                What are the jars you have in the WEB-INF/lib directory (are there ones that are related to the servlet specification)?

                Also do you have any 'prefer-' elements in the weblogic.xml deployment descriptor?
                • 5. Re: JSP compile error
                  956491
                  ####<Aug 23, 2012 10:24:15 AM CST> <Info> <ServletContext-/YSPro> <iphone> <Server2> <[ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1345688655414> <BEA-000000> <Exception occurred while processing '/tels/app_server/1.0.0/tels_domain/servers/Server2/stage/YSPro/YSPro/Framework/Components/DataGridToExcelDialog.html'java.lang.NullPointerException
                       at weblogic.jsp.internal.ProxySourceFile._check(ProxySourceFile.java:147)
                       at weblogic.jsp.internal.SourceFile.masterCheck(SourceFile.java:762)
                       at weblogic.jsp.internal.SourceFile.check(SourceFile.java:314)
                       at weblogic.jsp.internal.SourceFile.check(SourceFile.java:335)
                       at weblogic.jsp.internal.ProxySourceFile.codeGen(ProxySourceFile.java:224)
                       at weblogic.jsp.internal.SourceFile.codeGen(SourceFile.java:327)
                       at weblogic.jsp.internal.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:599)
                       at weblogic.jsp.internal.client.Job.performJob(Job.java:83)
                       at weblogic.jsp.internal.client.ThreadPool$WorkerThread.run(ThreadPool.java:217)
                  >
                  ####<Aug 23, 2012 10:24:15 AM CST> <Error> <HTTP> <iphone> <Server2> <[ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1345688655416> <BEA-101017> <[ServletContext@137097945[app:YSPro module:YSPro path:/YSPro spec-version:2.5], request: weblogic.servlet.internal.ServletRequestImpl@93c1b43[
                  GET /YSPro/Framework/Components/DataGridToExcelDialog.html?DataGridID=grid HTTP/1.0
                  X-Forwarded-For: 124.127.161.254
                  X-Real-IP: 124.127.161.254
                  Connection: close
                  User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20100101 Firefox/12.0
                  Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
                  Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
                  Accept-Encoding: gzip, deflate
                  Referer: http://116.228.21.162:8088/YSPro/Application.jsp
                  Cookie: ZCMSShowNewMessage=false; CurrentSite=8; lastNavStatus=Shop-undefined; JSESSIONID=qRRGQ1KWvJGrjvm2TJTPJWGQ70HB0GsW8pNCzx6LCJ7pXHQjSQFC!1582123566

                  ]] Root cause of ServletException.
                  weblogic.servlet.jsp.CompilationException: Failed to compile JSP /Framework/Components/DataGridToExcelDialog.html
                  Exception occurred while processing '/tels/app_server/1.0.0/tels_domain/servers/Server2/stage/YSPro/YSPro/Framework/Components/DataGridToExcelDialog.html'java.lang.NullPointerException
                       at weblogic.jsp.internal.ProxySourceFile._check(ProxySourceFile.java:147)
                       at weblogic.jsp.internal.SourceFile.masterCheck(SourceFile.java:762)
                       at weblogic.jsp.internal.SourceFile.check(SourceFile.java:314)
                       at weblogic.jsp.internal.SourceFile.check(SourceFile.java:335)
                       at weblogic.jsp.internal.ProxySourceFile.codeGen(ProxySourceFile.java:224)
                       at weblogic.jsp.internal.SourceFile.codeGen(SourceFile.java:327)
                       at weblogic.jsp.internal.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:599)
                       at weblogic.jsp.internal.client.Job.performJob(Job.java:83)
                       at weblogic.jsp.internal.client.ThreadPool$WorkerThread.run(ThreadPool.java:217)

                       at weblogic.servlet.jsp.JavelinxJSPStub.reportCompilationErrorIfNeccessary(JavelinxJSPStub.java:226)
                       at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:162)
                       at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:256)
                       at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:216)
                       at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:243)
                       at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
                       at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
                       at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
                       at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3683)
                       at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
                       at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
                       at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
                       at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
                       at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
                       at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
                       at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
                       at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
                  >

                  Edited by: 953488 on 2012-8-22 下午7:25