Hi
*I have a problem in copying the data in array from object variable which
is also a type String.*
Please explain
**
*int* k =1;
*String[] childRoot = **null;
*
*while*(o.getName().equalsIgnoreCase(root[k])){
*for* (CmisObject d : ((Folder) o).getChildren()) {
System.*out*.println(" Name " + d.getName());
childRoot[k]=d.getName(); // line no 248
}
*output*
Name try 1
java.lang.NullPointerException
at 248
*Please explain why this is throwing nullPointer Exception though i am able
to print the same String.*
**
*Thank you*
**
**
*Regards*