https://bz.apache.org/bugzilla/show_bug.cgi?id=63200
Bug ID: 63200 Summary: [PATCH] Fix rare NPE on getFillPaint Product: POI Version: 4.0.x-dev Hardware: PC Status: NEW Severity: normal Priority: P2 Component: XSLF Assignee: dev@poi.apache.org Reporter: bmate...@gmail.com Target Milestone: --- Created attachment 36452 --> https://bz.apache.org/bugzilla/attachment.cgi?id=36452&action=edit test-data/slideshow/gradient-fill-in-group.pptx I found an edge case where calling getFillColor on a shape which calls getFillPaint throws a NullPointerException. The fill of the shape is gradient fill, but the CTGradientStopList is null. Attached example pptx, test case, and the fix. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org