Open
Description
After building the library with "ant" and trying to run the viewer from the examples, the following exception is thrown:
$ java -cp jbig2.jar org.jpedal.jbig2.examples.viewer.JBIG2Viewer
java.lang.NullPointerException
at javax.swing.ImageIcon.(ImageIcon.java:217)
at org.jpedal.jbig2.examples.viewer.JBIG2Viewer.setUpToolbar(Unknown Source)
at org.jpedal.jbig2.examples.viewer.JBIG2Viewer.(Unknown Source)
at org.jpedal.jbig2.examples.viewer.JBIG2Viewer.main(Unknown Source)
This happens because the resource files are not added to the output Jar file
Metadata
Metadata
Assignees
Labels
No labels