Question : Error <BEA-101020>  Servlet failed with Exception

I published application in weblogic 10.3 ,the server gets started,but i my home page through browser it gives me this error in the console.
<[weblogic.servlet.internal.WebAppServletContext@38230 - appName: '_auto_generated_ear_', name: 'Adverwhole', context-path: '/Adverwhole', spec-version: '2.5'] Servlet failed with Exception
java.lang.NullPointerException
      at jsp_servlet._com._nbsl._marketmetrics._secure._systems._csc.__bchome._jspService(__bchome.java:269)
      at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
      Truncated. see log file for complete stacktrace

Plz suggest some solution
Thanks..

Answer : Error <BEA-101020>  Servlet failed with Exception

Hi,

NullPointerException is thrown when  the application try to access to java object but it is null or not present.

From the stacktrace you dump, it shows that bchome.jsp try to access to null object on the line of code 269.

If this jsp is simple, you can guess what variable is null and try to fix and test.

If it's quite complex, you should find the class after jsp complied _chome.java which will be on staging folder of weblogic when you do deployment.

Hope this help,
Sompol
Random Solutions  
 
programming4us programming4us