add debug information for null pointer detected
refactoring of sample project
refactoring of sample project