Thank you! That did it.
-----Original Message-----
From: Tim Donohue [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2008 1:15 PM
To: Blanco, Jose
Cc: [email protected]
Subject: Re: [Dspace-tech] Filter-media in 15
Jose,
Actually that MEDIA_FILTER_PLUGINS_KEY is a constant that is set to
"filter.plugins" in the MediaFilterManager.java class.
So, you should have a "filter.plugins" entry in your 1.5 dspace.cfg
file. The structure of the settings in dspace.cfg have changed somewhat
in the 1.5 dspace.cfg file. So, you may want to review them closely.
In fact, if you haven't modified your filter-media settings for 1.4, you
may just want to copy them over from a fresh 1.5 dspace.cfg file.
I hope that helps...
- Tim
Blanco, Jose wrote:
> I see that it blows up on:
>
> String enabledPlugins =
> ConfigurationManager.getProperty(MEDIA_FILTER_PLUGINS_KEY);
> filterNames = enabledPlugins.split(",\\s*");
>
> But when I check the dspace.cfg file I don't see a
> MEDIA_FILTER_PLUGINS_KEY
>
> Filter-media will need to be run as a cron job in 1.5, right?
>
> Thanks!
> Jose
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Blanco, Jose
> Sent: Friday, July 11, 2008 11:14 AM
> To: [email protected]
> Subject: [Dspace-tech] Filter-media in 15
>
> When I run filter-media in 1.5, I'm getting:
>
> -bash-3.2$ ./filter-media
> Applying Media Filters
> Exception in thread "main" java.lang.NullPointerException
> at
> org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.
> ja
> va:240)
>
> ----------------------------------------------------------------------
> --
> -
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
> ----------------------------------------------------------------------
> --- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
--
Tim Donohue
Research Programmer, Illinois Digital Environment for Access to Learning
and Scholarship (IDEALS) University of Illinois at Urbana-Champaign
[EMAIL PROTECTED] | (217) 333-4648
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech