java.lang.IllegalArgumentException: Embargo lift date must be in the future, but this is in the past: 2016-09-13

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Sakai JIRA by Terry Brady, 1 year ago
Embargo lift date must be in the future, but this is in the past: 2016-09-13
via Sakai JIRA by Terry Brady, 1 year ago
Embargo lift date must be in the future, but this is in the past: 2016-09-13
java.lang.IllegalArgumentException: Embargo lift date must be in the future, but this is in the past: 2016-09-13
at org.dspace.embargo.EmbargoServiceImpl.getEmbargoTermsAsDate(EmbargoServiceImpl.java:145)
at org.dspace.embargo.EmbargoServiceImpl.setEmbargo(EmbargoServiceImpl.java:87)
at org.dspace.content.InstallItemServiceImpl.finishItem(InstallItemServiceImpl.java:236)
at org.dspace.content.InstallItemServiceImpl.restoreItem(InstallItemServiceImpl.java:142)
at org.dspace.content.packager.PackageUtils.finishCreateItem(PackageUtils.java:524)
at org.dspace.content.packager.AbstractMETSIngester.ingestObject(AbstractMETSIngester.java:525)
at org.dspace.content.packager.AbstractMETSIngester.replace(AbstractMETSIngester.java:1192)
at org.dspace.app.packager.Packager.replace(Packager.java:780)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.