You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are facing issues while loading archiveOldArtifacts.groovy plugin in Artifactory enterprise 6.19.0. Below is the error.
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:76)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy270.init(Unknown Source)
at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:274)
at org.artifactory.spring.ArtifactoryApplicationContext.(ArtifactoryApplicationContext.java:154)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:211)
at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.access$200(ArtifactoryContextConfigListener.java:67)
at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener$1.run(ArtifactoryContextConfigListener.java:92)
2020-08-11 14:30:35,843 [art-init] [INFO ] (o.a.a.p.GroovyRunnerImpl:301) - Loading script from 'archiveOldArtifacts.groovy'.
2020-08-11 14:30:35,849 [art-init] [ERROR] (o.a.a.p.GroovyRunnerImpl:349) - Error loading script from '/opt/jfrog/artifactory/etc/plugins/archiveOldArtifacts.groovy'.
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
file:/opt/jfrog/artifactory/etc/plugins/archiveOldArtifacts.groovy: 6: unexpected token: < @ line 6, column 1.
^
1 error
The text was updated successfully, but these errors were encountered:
I appreciate you bringing this to our attention but I am unable to reproduce this issue in the given artifactory version still I recommend updating to the most recent Artifactory version. For the time being, we'll close this, but please feel free to revive it if you have any further queries!
We are facing issues while loading archiveOldArtifacts.groovy plugin in Artifactory enterprise 6.19.0. Below is the error.
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.artifactory.storage.fs.lock.aop.LockingAdvice.invoke(LockingAdvice.java:76)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy270.init(Unknown Source)
at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:274)
at org.artifactory.spring.ArtifactoryApplicationContext.(ArtifactoryApplicationContext.java:154)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:211)
at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.access$200(ArtifactoryContextConfigListener.java:67)
at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener$1.run(ArtifactoryContextConfigListener.java:92)
2020-08-11 14:30:35,843 [art-init] [INFO ] (o.a.a.p.GroovyRunnerImpl:301) - Loading script from 'archiveOldArtifacts.groovy'.
2020-08-11 14:30:35,849 [art-init] [ERROR] (o.a.a.p.GroovyRunnerImpl:349) - Error loading script from '/opt/jfrog/artifactory/etc/plugins/archiveOldArtifacts.groovy'.
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
file:/opt/jfrog/artifactory/etc/plugins/archiveOldArtifacts.groovy: 6: unexpected token: < @ line 6, column 1.
^
1 error
The text was updated successfully, but these errors were encountered: