[Scroll Word Exporter Java API] java.lang.NullPointerException when exporting confluence page
Hello everyone, i'm having problems using the Java API to automate exports
java.lang.NullPointerException
ScrollApi.exportWithDescendantPages(ScrollApi.java:19)
At line 19 i have this
WordExportRequest exportRequest = wordExportService.createExportRequest(rootPageId);
I'm using this link to set it up https://bitbucket.org/K15t/scroll-exporter-api/src/master/
I added the dependency to my confluence plugin and finally got it working, however when the API is called java.lang.NullPointerException is thrown
Also what versions of the maven dependency are available?
What am i missing?, Thanks in advance
-
Official comment
Hi,
a NullPointerException in line 19 indicates that wordExportService is null. You should probably double check if the service is properly injected into your class.
You may browse the tags in the bitbucket repository to get an overview of available API releases.
If you can't fix it with the information above, I'd recommend to open a support ticket.
Cheers,
JensComment actions
Please sign in to leave a comment.
Comments
1 comment