Hi Susan,
     I'm not sure if the problem we were having is related to yours since 
you're dealing with .jpg files (we have all .pdfs), but we saw lots of similar 
errors prior to switching from the use of PDFBox to xpdftotext and 
xpdftothumbnail.  When we were using PDFBox, approximately 10% of the documents 
in our repository would not filter due to errors that looked suspiciously like 
the ones you're getting.  Now that we've switched to xpdf, 100% of our 
documents filter successfully.
Sue

-----Original Message-----
From: Susan Teague Rector [mailto:[email protected]] 
Sent: Wednesday, September 23, 2009 3:07 PM
To: [email protected]
Subject: Re: [Dspace-tech] media filter problem

Hi all,
Just wondering if anyone else is having this issue - I haven't seen 
other comments, which leads me to believe it's either a) a bug or b) our 
installation.

Thanks for your help!

Susan


Susan Teague Rector wrote:
> Hi all,
> I've been searching in the archives, but haven't found the specific 
> problem I'm having
>
> I'm on Dspace 1.4.1 and when I run the filter media program, I'm 
> receiving a ton of null pointer exceptions, especially on jpeg files:
>
> java.lang.NullPointerException
>         at 
> org.dspace.app.mediafilter.JPEGFilter.getDestinationStream(JPEGFilter.java:108)
>         at 
> org.dspace.app.mediafilter.MediaFilter.processBitstream(MediaFilter.java:155)
>         at 
> org.dspace.app.mediafilter.MediaFilterManager.filterBitstream(MediaFilterManager.java:327)
>         at 
> org.dspace.app.mediafilter.MediaFilterManager.filterItem(MediaFilterManager.java:296)
>         at 
> org.dspace.app.mediafilter.MediaFilterManager.applyFiltersItem(MediaFilterManager.java:266)
>         at 
> org.dspace.app.mediafilter.MediaFilterManager.applyFiltersAllItems(MediaFilterManager.java:234)
>         at 
> org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.java:185)
>
>
> I'm not sure that this is related, but what's happening is that  on the 
> item view, I can see the word 'thumbnail' but there is no image there. 
> If I log in and click on 'edit' to see all metadata, I can view the 
> generated thumbnail.
>
> See an example here: https://digarchive.library.vcu.edu/handle/10156/1349
>
> Thanks in advance
>
> Susan
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>   

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
  • [Dspac... Susan Teague Rector
    • R... Gary Browne
    • [... Susan Teague Rector
    • R... Susan Teague Rector
      • ... Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]
        • ... Susan Teague Rector
          • ... Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]

Reply via email to