All public write methods in Xpp3DomWriter accept an Xpp3Dom dom parameter documented as @param dom Xpp3Dom but without null checks. Passing null for dom causes a NullPointerException at line 65 (dom.getName()).
Fix: add null check (with clear message) at the shared write(XMLWriter, Xpp3Dom, boolean) method.
All public
writemethods inXpp3DomWriteraccept anXpp3Dom domparameter documented as@param dom Xpp3Dombut without null checks. Passingnullfordomcauses aNullPointerExceptionat line 65 (dom.getName()).Fix: add null check (with clear message) at the shared
write(XMLWriter, Xpp3Dom, boolean)method.