473,394 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

java.lang.NullPointerException

Hi,

I have jsp with servlet page,after run my servlet I
got blank page with the following tomcat error while run my servlet page,
java.lang.NullPointerException
at com.signup.BaseServlet.doGet
at javax.servlet.http.HttpServlet.service
at org.apache.catalina.servlets.InvokerServlet.doGet
at filters.ExampleFilter.doFilter
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext

Any one help me,

thanks in advance.
Sep 17 '07 #1
2 1482
r035198x
13,262 8TB
Hi,

I have jsp with servlet page,after run my servlet I
got blank page with the following tomcat error while run my servlet page,
java.lang.NullPointerException
at com.signup.BaseServlet.doGet
at javax.servlet.http.HttpServlet.service
at org.apache.catalina.servlets.InvokerServlet.doGet
at filters.ExampleFilter.doFilter
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext

Any one help me,

thanks in advance.
Check the line number reprted for your exception to see if the exception is thrown in the servlet or on the JSP. Debug the code or use some simple println statements to pinopoint the exact line and variable that is causing the null pointer.
Sep 17 '07 #2
Nepomuk
3,112 Expert 2GB
Hi,

I have jsp with servlet page,after run my servlet I
got blank page with the following tomcat error while run my servlet page,
java.lang.NullPointerException
at com.signup.BaseServlet.doGet
at javax.servlet.http.HttpServlet.service
at org.apache.catalina.servlets.InvokerServlet.doGet
at filters.ExampleFilter.doFilter
at org.apache.catalina.core.StandardPipeline$Standard PipelineValveContext.invokeNext

Any one help me,

thanks in advance.
Probably at some point you try to use some Object, which you have declared but not yet defined, however without seeing the code, we won't be able to help you any further.

Greetings,
Nepomuk
Sep 17 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Jens Mueller | last post by:
Hi there, this is a Java-XML Question, so I am not sure whether this is the right place, haven't found anything better .... I try to convert a Java object to XML via SAX and let the FOP...
2
by: Tim Murray | last post by:
First of all, I don't know much about Java, even its naming and version numbering nomenclature, and second, if there is a better group to ask this in, please let me know. System is Mac with...
3
sammyboy78
by: sammyboy78 | last post by:
Hello again, This time I'm creating a program that creates an array of CD objects and then displays the information. I've created a CD class, a CDInventory class and then a CDInventoryDisplay to...
0
by: gezkk | last post by:
hi, i m using http proxy service to get proxy and host to applet, its working fine with jdk1.5 but getting java.lang.NullPointerException in jdk1.6 And the following is mseeage contains java...
18
by: pradeep84 | last post by:
hi all, i'm using the following code and i'm getting exception in thread "main" java.lang.nullpointerexception at the line which is in bold. help me to solve this problem import...
0
by: ycinar | last post by:
hey all, i am working on a Java project using JBuilder.. when i build my code its fine, but when comes to run, it doesnt run and displays the following logs.. i think there is JDK conflict.. ...
1
by: ketand1 | last post by:
import java.awt.*; import java.awt.event.*; import java.io.*; import java.util.*; import java.sql.*; import java.lang.*; class DbAwt extends Frame implements ActionListener { private...
1
by: ksrashmi | last post by:
HI I am getting following exception when i use mxml tags in jsp <%@ taglib uri="FlexTagLib" prefix="mm" %> can any one tell why i am getting this exception type Exception report message...
3
by: ohadr | last post by:
hi, i get Exception in thread "main" java.lang.NullPointerException when i run my application. the exact error is: "Exception in thread "main" java.lang.NullPointerException at...
1
by: onlinegear | last post by:
HI i am writing this for college i know i have loads of combo boxes with nothing in the i havent got that far yet. but every time i run this is comes up with this erro run: Exception in thread...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.