Hi,

 

Every time the filter-media script runs via the crontab, I get a lot of the following:

 

ERROR filtering, skipping bitstream:

 

      Item Handle: 10036/3175

      Bundle Name: ORIGINAL

      File Size: 180131

      Checksum: b8b5c0b847ee01c404e0623a42aae1b2 (MD5)

      Asset Store: 0

java.lang.NullPointerException

java.lang.NullPointerException

      at org.pdfbox.pdmodel.PDPageNode.getAllKids(PDPageNode.java:194)

      at org.pdfbox.pdmodel.PDPageNode.getAllKids(PDPageNode.java:182)

      at org.pdfbox.pdmodel.PDDocumentCatalog.getAllPages(PDDocumentCatalog.java:226)

      at org.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:216)

      at org.dspace.app.mediafilter.PDFFilter.getDestinationStream(PDFFilter.java:139)

      at org.dspace.app.mediafilter.MediaFilterManager.processBitstream(MediaFilterManager.java:674)

      at org.dspace.app.mediafilter.MediaFilterManager.filterBitstream(MediaFilterManager.java:575)

      at org.dspace.app.mediafilter.MediaFilterManager.filterItem(MediaFilterManager.java:525)

      at org.dspace.app.mediafilter.MediaFilterManager.applyFiltersItem(MediaFilterManager.java:493)

      at org.dspace.app.mediafilter.MediaFilterManager.applyFiltersAllItems(MediaFilterManager.java:432)

      at org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.java:363)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:212)

 

 

Any idea how I can fix this?

 

Thanks

 

Ian

 

------------

Ian Wellaway
Senior System Support & Development Officer
Academic Systems
Exeter IT

Room 909, Laver Building
University of Exeter
EX4 4QE
UK

tel +44 1392 722852