Closed harrycollin closed 5 months ago
The usage stated that you can call a non-existent method on Document called listBuffers(). This exists on Root instead.
Changed: .setBuffer(doc.listBuffers()[0]);
To: .setBuffer(doc.getRoot().listBuffers()[0]);
Thank you!
The usage stated that you can call a non-existent method on Document called listBuffers(). This exists on Root instead.
Changed: .setBuffer(doc.listBuffers()[0]);
To: .setBuffer(doc.getRoot().listBuffers()[0]);