Thanks Nick. Bug report has been submitted as Bug 56812.

This is my first bug report so please let me know if there is something I could 
have done better.

Cheers.


On Aug 4, 2014, at 11:15 AM, Nick Burch <[email protected]> wrote:

> On Mon, 4 Aug 2014, Geoff Wright wrote:
>> XSLFPictureData data = ((XSLFPictureShape) shape).getPictureData();
>> System.out.println(data.getFileName());
>> 
>> However, when the picture is not embedded but inserted only as a "link to 
>> file", there is no data available and the above code produces a null pointer 
>> exception.
> 
> Any chance you could open a new bug in bugzilla, upload a very small sample 
> file that shows the problem, the stacktrace, and a trivial junit unit test 
> based on your code above?
> 
> Someone'll need to update the code to check if it's an external link or not, 
> and fetch it the other way if so. The above should help make that quick to 
> check how.
> 
> Nick
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

Reply via email to