Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No signature of method: static org.artifactory.search.Searches.artifactsCreatedOrModifiedInRange() is applicable for argument types: (java.util.GregorianCalendar, java.util.GregorianCalendar, java.lang.String) #393

Open
meghana648 opened this issue Aug 7, 2021 · 0 comments

Comments

@meghana648
Copy link

meghana648 commented Aug 7, 2021

When calling plugin execution getting this error at this line in my-plugin.groovy file.

List artifactsCreated =
Searches.artifactsCreatedOrModifiedInRange(calendarUntil,calendarUntil,'oal-shared-snapshot-local')

Can you please help to resolve this issue
Error info :-

{
"errors": [
{
"status": 500,
"message": "No signature of method: static org.artifactory.search.Searches.artifactsCreatedOrModifiedInRange() is applicable for argument types: (java.util.GregorianCalendar, java.util.GregorianCalendar, java.lang.String) values: [java.util.GregorianCalendar[time=1628317816767,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="GMT",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2021,MONTH=7,WEEK_OF_YEAR=32,WEEK_OF_MONTH=1,DAY_OF_MONTH=7,DAY_OF_YEAR=219,DAY_OF_WEEK=7,DAY_OF_WEEK_IN_MONTH=1,AM_PM=0,HOUR=6,HOUR_OF_DAY=6,MINUTE=30,SECOND=16,MILLISECOND=767,ZONE_OFFSET=0,DST_OFFSET=0], ...]"
}
]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant