-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Mark,

On 3/31/14, 11:33 AM, Mark Eggers wrote:
> Please do not top-post. On 3/31/2014 2:14 AM, Randhir Singh wrote:
>> Hi,
>> 
>> Thanks for your answer. There are 2 applications hosted on this 
>> Tomcat. 1 is working fine and the other only is giving problems
>> which we are accessing on port 10080.
>> 
>> Request inputs on this so that the resolution is found.
> 
> I'll quote from the original stack trace (thanks for providing
> this, by the way).
> 
> ------
> 
> *exception*
> 
> java.lang.NullPointerException
> 
> com.elitecore.reports.manager.server.GetCompanyInfoServlet.doAction(Ge
>
> 
tCompanyInfoServlet.java:93)
> 
> ------
> 
> The line above points to exactly where the problem exists. This
> method is throwing a null pointer exception, which means it's
> trying to access a variable without that variable being
> initialized. Either a null is being passed into this method, or
> you're using a variable that has been declared but not
> initialized.
> 
> Modern IDEs will warn you if you've declared a non-primitive
> variable and attempt to use it without initialization.

Actually, the compiler will throw an error for uninitialized local
variable references, primitives included. Class members silently
default to whatever "zero" means for that type (false for booleans,
null for references).

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTOdtVAAoJEBzwKT+lPKRYeVMP/Rh1iAg4Cwe703sUDJdaM6iL
V09xU2S1xEcPZCgR15n2VgUdPvvSZAZoDNI0XX8ThTILi3DM/ELQjhcVqGsM732R
s3SNm6LG9bJEoevZXZE9IXQf+f9GEx2nLaB71DdYo9dnV7GN0eBK3UP+Us2GK+m1
allzN2qIgVb9iymuK89PX4a4HaG6t5Lu48QP9cJKAAgV866kml5SRKW2YayOXA5p
LB0sXMG++9l5Tg1qnEABO3+a3RmWJ3H3TId87KvoPqCjxwoF2Tzry/bl1eJY1y5K
AGVN7QlaE0u8T5MQoZSPj5ZlKwJJLqVbgQAxJNp9i6PBiT1r66tTK2bANM5axZsk
Wvs94DuaQ8jZQRkaLyQlcV5NT0WnQO1LES2z0ny7qG4NH0grqFjjbBJWvZ7DLayt
FxqzIetVkiZdf6mj838dOnjq5UlpStyPIFwhKJWDhvi7D1IsJeKJ9D6E/YcwILmK
dU9hAnczDJrky/pLApMe7ZydYK4pojlMzx/tMESB2tOIH1yf4a797xOEWnrJaeOk
RUKo7KWuAkMO9xCJDthJ272jQ5mxX7t/9g3qzZ24kAFBVW4+uoLKLOXTopNJuF2E
U0KWsFMoasFo3/jfxacDlIxp83PAWfhZWcttRWVgtQwG329gralzuqJ4EIigsPXy
/orZGaprbBO+s4t2xm0F
=WmaS
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to