nullpointerexception chanell code example Example: NullPointerException TestObject a = new TestObject();String b = a.getTestResult();b.toString();