Microsoft
Software
Hardware
Network
Question : null pointer exception issue
1. if the column folderProperties is null in the table, then below code will throw null pointer exception:
String strProperties = manager.getFolderPropertie
s();
if (strProperties.eqauls("HHH
") )....
2. Also another null pointer problem example:
list= Manager.getList(customerId
);
for (MailingStaging mailing : listStaging) {
....
So if listStaging has no record, above line will throw null pointer error too.
So my question is I have a try catch block to catch the null pointer, but this will leave the null pointer error in my log. What is the standard way to deal with this kind of common null pointer problem? Any sample code is appreciated.
Answer : null pointer exception issue
Be sure to keep [app_name].exe and [app_name].exe.config in the same directory.
Random Solutions
Modifing the configuration of a PIX 515 with Fail-over license
Exchange 2010 on Windows Server Enterprise 2008 SP2 Locking Up
prstat vs top command
Fill Combo Box Method
3d barcodes (q-codes)
WHat is the recommended size for the swapfile for my SQL Server ?
Upgrade Exchange SP2 to SP3
A non-SYN packet was dropped because it was sent by a source that does not have an established connection with the Forefront TMG computer
Does this HP ML370 G3 server support 64-bit OS?
windows 7 home password policy