https://bz.apache.org/bugzilla/show_bug.cgi?id=61236

--- Comment #2 from [email protected] ---
(In reply to PJ Fanning from comment #1)
> Isn't abstractNum the param you pass in?
> 
> public BigInteger addAbstractNum(XWPFAbstractNum abstractNum)
> 
> Can't you ensure that your abstractNum has a non-null value for
> abstractNum.getAbstractNum()?
> 
> Eg by using
> public XWPFAbstractNum(CTAbstractNum abstractNum)
> 
> Could you provide a full sample of what you are trying to do?

abstractNum.getAbstractNum() is really null,i just want to addAbstractNum。 
Java Code allow abstractNum.getAbstractNum() has a null value,but in else
block, throw exception,So the else block is dead.

Thank you.
finally, i found this method to addAbstractNum, it's OK,
https://stackoverflow.com/questions/44433347/apache-poi-numbered-list

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to