Dear

I also had this issue once. I solved it deleting all the directories in
my local repository (Normally this a hidden directory, called .m2,
directly under you user-home dir).

If you run 'mvn package' now, It will reisntall all needed packages,
again, in this directory.

This is strange because I still believe the problem is situated on the
remote repository.

This was also reported in:
http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg05570.html


Yours Sincerely




Christof

Στις 06-05-2010, ημέρα Πεμ, και ώρα 06:03 +0000, ο/η
dspace-tech-requ...@lists.sourceforge.net έγραψε:
> Send DSpace-tech mailing list submissions to
>       dspace-tech@lists.sourceforge.net
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>       https://lists.sourceforge.net/lists/listinfo/dspace-tech
> or, via email, send a message with subject or body 'help' to
>       dspace-tech-requ...@lists.sourceforge.net
> 
> You can reach the person managing the list at
>       dspace-tech-ow...@lists.sourceforge.net
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of DSpace-tech digest..."
> 
> 
> Today's Topics:
> 
>    1. Embargo error on Approval (Jizba, Richard)
>    2. More re: Embargo error on Approval (Jizba, Richard)
>    3. Re: More re: Embargo error on Approval (Hilton Gibson)
>    4. Re: Email Setup Difficulties (Mark H. Wood)
>    5. Problems with Maven (Eija Airio)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 5 May 2010 16:04:46 -0500
> From: "Jizba, Richard" <richardji...@creighton.edu>
> Subject: [Dspace-tech] Embargo error on Approval
> To: dspace-tech@lists.sourceforge.net
> Message-ID:
>       
> <21ce15cd4586f94bb6c11c996aa122a90789c...@exbe02.blue.jays.creighton.edu>
>       
> Content-Type: text/plain; charset="us-ascii"
> 
> Hello,
> 
> We we try to approve an item that has been submitted with an embargo
> date (in dc.embargo.liftdate) we receive the following error:
> 
> java.lang.NullPointerException
>       at
> org.dspace.embargo.EmbargoManager.getEmbargoDate(EmbargoManager.java:166
> )
> 
> Can anyone suggest how to resolve this?
> 
> We are running 1.6.
> 
> Richard Jizba
> Creighton University
> Omaha, NE
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> 
> ------------------------------
> 
> Message: 2
> Date: Wed, 5 May 2010 17:02:27 -0500
> From: "Jizba, Richard" <richardji...@creighton.edu>
> Subject: [Dspace-tech] More re: Embargo error on Approval
> To: dspace-tech@lists.sourceforge.net
> Message-ID:
>       
> <21ce15cd4586f94bb6c11c996aa122a90789c...@exbe02.blue.jays.creighton.edu>
>       
> Content-Type: text/plain; charset="us-ascii"
> 
> I finally realized that the Embargo Setter is reading dc.embargo.terms
> for the date rather than dc.embargo.liftdate.
> 
> I've check our dspace.cfg file and there does not seem to be a mix-up.
> Nor is there a mix-up on the submission form.
> 
> Perhaps I don't understand what these fields are for? What is
> dc.embargo.terms supposed to do?
> 
> Richard
> 
> _____________________________________________
> From: Jizba, Richard 
> Sent: Wednesday, May 05, 2010 4:05 PM
> To: 'dspace-tech@lists.sourceforge.net'
> Subject: Embargo error on Approval
> 
> 
> Hello,
> 
> We we try to approve an item that has been submitted with an embargo
> date (in dc.embargo.liftdate) we receive the following error:
> 
> java.lang.NullPointerException
>       at
> org.dspace.embargo.EmbargoManager.getEmbargoDate(EmbargoManager.java:166
> )
> 
> Can anyone suggest how to resolve this?
> 
> We are running 1.6.
> 
> Richard Jizba
> Creighton University
> Omaha, NE
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> 
> ------------------------------
> 
> Message: 3
> Date: Thu, 6 May 2010 00:27:58 +0200
> From: Hilton Gibson <hilton.gib...@gmail.com>
> Subject: Re: [Dspace-tech] More re: Embargo error on Approval
> To: "Jizba, Richard" <richardji...@creighton.edu>
> Cc: dspace-tech@lists.sourceforge.net
> Message-ID:
>       <g2zfae618891005051527k9462b857y8e50bbe468188...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> On 6 May 2010 00:02, Jizba, Richard <richardji...@creighton.edu> wrote:
> 
> >  I finally realized that the Embargo Setter is reading dc.embargo.terms
> > for the date rather than dc.embargo.liftdate.
> >
> > I?ve check our dspace.cfg file and there does not seem to be a mix-up. Nor
> > is there a mix-up on the submission form.
> >
> > Perhaps I don?t understand what these fields are for? What is
> > dc.embargo.terms supposed to do?
> >
> > Richard
> >
> This is my take on it: http://ir.sun.ac.za/wiki/index.php/Asset_Embargo
>  <http://ir.sun.ac.za/wiki/index.php/Asset_Embargo>
> 
> >  _____________________________________________
> > *****From:* Jizba, Richard
> > *****Sent:* Wednesday, May 05, 2010 4:05 PM
> > *****To:* 'dspace-tech@lists.sourceforge.net'
> > *****Subject:* Embargo error on Approval
> >
> > Hello,
> >
> > We we try to approve an item that has been submitted with an embargo date
> > (in dc.embargo.liftdate) we receive the following error:
> >
> > java.lang.NullPointerException
> >
> >         at
> > org.dspace.embargo.EmbargoManager.getEmbargoDate(EmbargoManager.java:166)
> >
> > Can anyone suggest how to resolve this?
> >
> > We are running 1.6.
> >
> > Richard Jizba
> >
> > Creighton University
> >
> > Omaha, NE
> >
> >
> >
> > ------------------------------------------------------------------------------
> >
> > _______________________________________________
> > DSpace-tech mailing list
> > DSpace-tech@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >
> >
> 
> 
> -- 
> Hilton Gibson
> Systems Administrator
> JSG Library Room 1025D
> Stellenbosch University
> Private Bag X5036
> Stellenbosch
> 7599
> South Africa
> 
> Cell: +27 846 464 758
> Email: hgibson__AT__sun.ac.za
> -------------- next part --------------
> An HTML attachment was scrubbed...
> 
> ------------------------------
> 
> Message: 4
> Date: Wed, 5 May 2010 21:32:16 -0400
> From: "Mark H. Wood" <mw...@iupui.edu>
> Subject: Re: [Dspace-tech] Email Setup Difficulties
> To: dspace-tech@lists.sourceforge.net
> Message-ID: <20100506013216.gb10...@iupui.edu>
> Content-Type: text/plain; charset="us-ascii"
> 
> Do you also have a copy of the certificate used by your cert. vendor
> to sign your server's certificate, and so on up to the selfsigned root
> CA certificate?  It looks like it is unable to build the complete trust
> path.
> 
> Browsers and suchlike may come packed with big bundles of CA
> certificates that most users just blindly trust, but a JKS truststore
> is created empty -- annoying, but it's for a good reason.  Common
> practice is for a program asserting identity via certificate to
> provide the entire chain up to the root.  To do that, you need to
> install those higher-level certificates.
> 
> Your CA probably has a page that provides its signing cert., as well
> as their root cert. if they use the common practice of separating the
> two functions.  (Notice I didn't say the page will be easy to find.)-:
> 
> -- 
> Mark H. Wood, Lead System Programmer   mw...@iupui.edu
> Balance your desire for bells and whistles with the reality that only a 
> little more than 2 percent of world population has broadband.
>       -- Ledford and Tyler, _Google Analytics 2.0_
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 198 bytes
> Desc: not available
> 
> ------------------------------
> 
> Message: 5
> Date: Thu, 6 May 2010 09:02:59 +0300
> From: Eija Airio <airio.e...@gmail.com>
> Subject: [Dspace-tech] Problems with Maven
> To: DSpace-tech@lists.sourceforge.net
> Message-ID:
>       <v2lf52e76ca1005052302lcecba0f1w89f4dfc7d727f...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hi,
> 
> has anyone had this kind of problems: suddenly "mvn package" does not
> succeed anymore, but ends with the following messages:
> 
> --------------------------------------
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] artifact org.dspace:dspace-api-lang: checking for updates from
> java.net
> [INFO] artifact org.dspace:dspace-api-lang: checking for updates from
> central
> [WARNING] repository metadata for: 'artifact org.dspace:dspace-api-lang'
> could not be retrieved from repository: central due to an error: Error
> transferring file
> [INFO] Repository 'central' will be blacklisted
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> No versions are present in the repository for the artifact with a range
> [1.6.0.0,1.7.0.0)
>   org.dspace:dspace-api-lang:jar:null
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   java.net (http://download.java.net/maven/2),
>   maven.dspace.org-snapshot (http://maven.dspace.org/snapshot)
> 
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 4 minutes 13 seconds
> [INFO] Finished at: Thu May 06 08:36:20 EEST 2010
> [INFO] Final Memory: 28M/51M
> [INFO]
> ------------------------------------------------------------------------
> -----------------------------------------
> 
> The same happens with DSpace 1.5.2, with dspace-api-lang [1.5.0.0,1.6.0.0).
> And yes, I am giving the command in the right directory,
> "[dspace-source]/dspace/". Is the problem in the repositories or on our
> server?
> 
> - Eija
> -------------- next part --------------
> An HTML attachment was scrubbed...
> 
> ------------------------------
> 
> ------------------------------------------------------------------------------
> 
> 
> ------------------------------
> 
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> 
> 
> End of DSpace-tech Digest, Vol 49, Issue 15
> *******************************************



------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to