Re: Null pointer exception for "Normal" style using sample c
Posted: Mon Feb 18, 2013 7:43 am
Paragraphs which aren't styled use the default paragraph style (ie Normal).
Just check getPPr()!=null before doing getPStyle()
Just check getPPr()!=null before doing getPStyle()