Bug 64808

Summary: MasterPageManager.initialize() NullPointerException
Product: POI Reporter: monkeyhl <monkeyhl>
Component: XWPFAssignee: POI Developers List <dev>
Status: RESOLVED INVALID    
Severity: normal    
Priority: P2    
Version: 4.1.x-dev   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X 10.1   

Description monkeyhl 2020-10-13 08:37:22 UTC
MasterPageManager.class

private void visitHeadersFooters(IXWPFMasterPage masterPage, CTSectPr sectPr) throws Exception {
        boolean titlePage = XWPFUtils.isCTOnOff(sectPr.getTitlePg());
        xx
        xx
}
sectPr is null,so throws NullPointException,come on and fix it!
Comment 1 PJ Fanning 2020-10-13 10:46:07 UTC
http://oss.opensagres.fr/xdocreport/javadoc/1.0.3/org/apache/poi/xwpf/converter/core/MasterPageManager.html

This is not an Apache POI class despite the package name - it is from this separate project - https://github.com/opensagres/xdocreport.

You will need to raise your concerns there.

I would also appeal to you to be more friendly in your phrasing of issues. In the modern era, it is regarded as unacceptable to use language like `come on and fix it!` in public forums and to strangers who are only trying to help.
Comment 2 monkeyhl 2020-10-14 03:39:43 UTC
(In reply to PJ Fanning from comment #1)
> http://oss.opensagres.fr/xdocreport/javadoc/1.0.3/org/apache/poi/xwpf/
> converter/core/MasterPageManager.html
> 
> This is not an Apache POI class despite the package name - it is from this
> separate project - https://github.com/opensagres/xdocreport.
> 
> You will need to raise your concerns there.
> 
> I would also appeal to you to be more friendly in your phrasing of issues.
> In the modern era, it is regarded as unacceptable to use language like `come
> on and fix it!` in public forums and to strangers who are only trying to
> help.

Many thanks