Giter Site home page Giter Site logo

jpdfviewer's People

Contributors

stardust95 avatar

Watchers

 avatar  avatar

jpdfviewer's Issues

savePdf

How do you actually save PDFs with this library?

Doing this:

PDFSource pdfs = new FilePDFSource("someFile.pdf");
notesBean.loadPDF(pdfs);

// doing changes to file here...

notesBean.commitEdits();
notesBean.save();

Results to this error:

java.lang.VerifyError: Instruction type does not match stack map
Exception Details:
Location:
com/qoppa/pdf/h/i.b(Ljava/io/InputStream;Lcom/qoppa/pdf/n/k;)Ljava/io/InputStream; @39: aload_0
Reason:
Type 'com/qoppa/pdf/h/q' (current frame, locals[0]) is not assignable to 'java/io/InputStream' (stack map, locals[0])
Current Frame:
bci: @39
flags: { }
locals: { 'com/qoppa/pdf/h/q', 'com/qoppa/pdf/n/k', integer }
stack: { }
Stackmap Frame:
bci: @39
flags: { }
locals: { 'java/io/InputStream', 'com/qoppa/pdf/n/k' }
stack: { }
Bytecode:
0x0000000: bb00 1359 2ab7 0015 4b2b c600 1d2b 1218
0x0000010: b600 1a02 b800 203d 1c04 a400 0dbb 0026
0x0000020: 592a 2bb7 0028 4b2a b0
Stackmap Table:
same_frame(@39)

at com.qoppa.pdf.n.g.b(Unknown Source)
at com.qoppa.pdf.n.g.tb(Unknown Source)
at com.qoppa.pdf.n.g.sb(Unknown Source)
at com.qoppa.b.h.w(Unknown Source)
at com.qoppa.b.h.b(Unknown Source)
at com.qoppa.b.f.b(Unknown Source)
at com.qoppa.b.d.u.b(Unknown Source)
at com.qoppa.b.c.x(Unknown Source)
at com.qoppa.b.c.c(Unknown Source)
at com.qoppa.b.c.q(Unknown Source)
at com.qoppa.pdfNotes.PDFNotesBean.save(Unknown Source)
at com.qoppa.pdfNotes.PDFNotesBean.save(Unknown Source)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.