0 Replies Latest reply on Mar 1, 2004 10:57 PM by rajamsis

    HTTP ERROR: 500 Internal Server Error

    rajamsis

      Hai All ,

      I am able to deploy my application properly using JBOSS. But, i facing one problem. The same application is working properly in Apcahe-Tomcat. My Problem is, i have some pages which raise Exception at the time of openeing that page and after that it will go properly. what Happeningis First time the Exception is coming in backgroiung and my page is also coming properly . Till that it is Ok. When i opened some data which ll not raise any exception, what happening is, JBOSS showing Null Pointer Exception....Plz Go through stack tarce.. and suggest me ..The Same Application is working Properly in Apache-Tomcat..

      09:51:48,650 INFO [STDOUT] the company name is : Awesome Clothings
      09:52:06,052 INFO [STDOUT] clearing is called
      09:52:06,072 INFO [STDOUT] clearing is called
      09:52:06,072 INFO [STDOUT] select a.Account_Id 'Party_Id', a.Account_Name 'Party_Name',b.Narration, b.Posted_Amount,b.Other_C
      mp_Id and a.Account_Id=b.Account_Id and Doc_Id= and b.Transaction_Type=1
      09:52:06,172 INFO [STDOUT] the company name is : Awesome Clothings
      THIS IS THE EXCEPTION WHICH IS RAISED AT THE TIME OF OPENING THE PAGE
      09:52:10,818 INFO [STDOUT] exception in table quey select a.Account_Id 'Party_Id', a.Account_Name 'Party_Name',b.Narration, b
      b where a.Comp_Id = b.Comp_Id and a.Account_Id=b.Account_Id and Doc_Id= and b.Transaction_Type=1
      09:52:21,993 INFO [STDOUT] clearing is called
      09:52:22,023 INFO [STDOUT] select a.Account_Id 'Party_Id', a.Account_Name 'Party_Name',b.Narration, b.Posted_Amount,b.Other_C
      mp_Id and a.Account_Id=b.Account_Id and Doc_Id=467 and b.Transaction_Type=1
      09:52:22,123 INFO [STDOUT] the company name is : Awesome Clothings
      09:52:23,785 WARN [jbossweb] WARNING: Exception for /Kalypsolite/Jsp/Finance/Entry/paymentRecTable.jsp?pids=467&first='first'
      java.lang.NullPointerException at am.finance.entry.FinanceBaseEntryDoc.isCostCentreEnabled(FinanceBaseEntryDoc.java:496)
      at am.finance.entry.ContraVoucher.isCostCentreEnabled(ContraVoucher.java:46)
      at org.apache.jsp.paymentRecTable$jsp._jspService(paymentRecTable$jsp.java:126)
      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.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
      at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
      at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:505)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
      at org.mortbay.http.HttpServer.service(HttpServer.java:879)
      at org.jboss.jetty.Jetty.service(Jetty.java:460)
      at org.mortbay.http.HttpConnection.service(HttpConnection.java:770)
      at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:932)
      at org.mortbay.http.HttpConnection.handle(HttpConnection.java:787)
      at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
      at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
      at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:454)

      Please Help in this....

      Thanks in advance...

      Regards
      Raja