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
EMC DPA (Data Protectiopn Advisor) Report
Citrix XenDesktop - Cannot Create or Join Farm - HELP
How can I uninstall a corrupt broadcom driver?
Problems with lotus pop3
Extract the <title> tag content of a web page?
connectComputer/nshelp.exe
page cannot be found
exchange 2003 how to find out who is sending large emails
text alignment in footer
How send an array by url with php???????
Trouble installing Panasonic Printer/Copier devices on SBS 2008