java.lang.reflect.UndeclaredThrowableException: null

JFrog JIRA | Itamar Berman-Eshel | 3 years ago
  1. 0

    After querying a very large repository, this exception is received: {code} 2013-10-07 16:34:54,742 [http-bio-8081-exec-3] [ERROR] (repo-stats :65) - Failed to execute plugin java.lang.reflect.UndeclaredThrowableException: null at com.sun.proxy.$Proxy23.getInt(Unknown Source) ~[na:na] at org.artifactory.storage.db.util.JdbcHelper.executeSelectCount(JdbcHelper.java:143) ~[artifactory-storage-db-3.0.3.jar:na] at org.artifactory.storage.db.fs.dao.NodesDao.getFilesTotalSize(NodesDao.java:278) ~[artifactory-storage-db-3.0.3.jar:na] at org.artifactory.storage.db.fs.service.FileServiceImpl.getFilesTotalCount(FileServiceImpl.java:287) ~[artifactory-storage-db-3.0.3.jar:na] at org.artifactory.addon.plugin.services.RepositoriesImpl.getArtifactsSize(RepositoriesImpl.java:229) ~[artifactory-addon-plugins-3.0.3.jar:na] at org.artifactory.repo.Repositories$getArtifactsSize.call(Unknown Source) ~[na:na] at repo-stats$_run_closure1_closure2_closure3_closure4.doCall(repo-stats.groovy:49) ~[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_21] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_21] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) [groovy-1.8.8.jar:1.8.8] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) [groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) [groovy-1.8.8.jar:1.8.8] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:901) [groovy-1.8.8.jar:1.8.8] at groovy.lang.Closure.call(Closure.java:415) [groovy-1.8.8.jar:1.8.8] at groovy.lang.Closure.call(Closure.java:428) [groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.DefaultGroovyMethods.findResults(DefaultGroovyMethods.java:2787) ~[groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.dgm$292.invoke(Unknown Source) ~[groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271) ~[groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53) ~[groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) ~[groovy-1.8.8.jar:1.8.8] at repo-stats$_run_closure1_closure2_closure3.doCall(repo-stats.groovy:42) ~[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_21] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_21] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) [groovy-1.8.8.jar:1.8.8] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) [groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) [groovy-1.8.8.jar:1.8.8] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:901) [groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) ~[groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) ~[groovy-1.8.8.jar:1.8.8] at repo-stats$_run_closure1_closure2_closure3.doCall(repo-stats.groovy) ~[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_21] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_21] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) [groovy-1.8.8.jar:1.8.8] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) [groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) [groovy-1.8.8.jar:1.8.8] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:901) [groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39) ~[groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) ~[groovy-1.8.8.jar:1.8.8] at groovy.json.JsonDelegate.cloneDelegateAndGetContent(JsonDelegate.groovy:50) ~[groovy-1.8.8.jar:1.8.8] at groovy.json.JsonDelegate$cloneDelegateAndGetContent.call(Unknown Source) ~[na:na] at groovy.json.JsonBuilder.call(JsonBuilder.groovy:148) ~[groovy-1.8.8.jar:1.8.8] at groovy.json.JsonBuilder$call.call(Unknown Source) ~[na:na] at repo-stats$_run_closure1_closure2.doCall(repo-stats.groovy:40) ~[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_21] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_21] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) [groovy-1.8.8.jar:1.8.8] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) [groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) [groovy-1.8.8.jar:1.8.8] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:901) [groovy-1.8.8.jar:1.8.8] at groovy.lang.Closure.call(Closure.java:415) [groovy-1.8.8.jar:1.8.8] at groovy.lang.Closure.call(Closure.java:428) [groovy-1.8.8.jar:1.8.8] at org.artifactory.addon.plugin.execution.ExecutePluginImpl.execute(ExecutePluginImpl.java:97) [artifactory-addon-plugins-3.0.3.jar:na] at org.artifactory.addon.plugin.ScriptDelegate.execute(ScriptDelegate.java:94) [artifactory-addon-plugins-3.0.3.jar:na] at org.artifactory.addon.plugin.GroovyRunnerImpl.execute(GroovyRunnerImpl.java:122) [artifactory-addon-plugins-3.0.3.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_21] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_21] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) [spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) [spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at com.sun.proxy.$Proxy64.execute(Unknown Source) [na:na] at org.artifactory.addon.plugin.PluginsAddonImpl.execute(PluginsAddonImpl.java:52) [artifactory-addon-plugins-3.0.3.jar:na] at org.artifactory.addon.rest.RestAddonImpl.runPluginExecution(RestAddonImpl.java:861) [artifactory-addon-rest-3.0.3.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_21] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_21] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) [spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) [spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at com.sun.proxy.$Proxy97.runPluginExecution(Unknown Source) [na:na] at org.artifactory.rest.resource.plugin.PluginsResource.execute(PluginsResource.java:91) [artifactory-rest-3.0.3.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_21] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_21] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1483) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1414) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1363) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1353) [jersey-server-1.12.jar:1.12] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:414) [jersey-servlet-1.12.jar:1.12] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537) [jersey-servlet-1.12.jar:1.12] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708) [jersey-servlet-1.12.jar:1.12] at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) [servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:166) [artifactory-web-application-3.0.3.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:85) [artifactory-web-application-3.0.3.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:272) [artifactory-web-application-3.0.3.jar:na] at org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:193) [artifactory-web-application-3.0.3.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:175) [artifactory-web-application-3.0.3.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:143) [artifactory-web-application-3.0.3.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:60) [artifactory-web-application-3.0.3.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:72) [artifactory-web-application-3.0.3.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) [catalina.jar:7.0.39] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.39] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [catalina.jar:7.0.39] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.39] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009) [tomcat-coyote.jar:7.0.39] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) [tomcat-coyote.jar:7.0.39] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) [tomcat-coyote.jar:7.0.39] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_21] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_21] at java.lang.Thread.run(Thread.java:722) [na:1.7.0_21] Caused by: java.lang.reflect.InvocationTargetException: null at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at org.artifactory.storage.db.util.ResultSetWrapper.invoke(ResultSetWrapper.java:73) ~[artifactory-storage-db-3.0.3.jar:na] ... 130 common frames omitted Caused by: java.sql.SQLDataException: The resulting value is outside the range for the data type INTEGER. at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.EmbedResultSet.noStateChangeException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.EmbedResultSet.getInt(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.commons.dbcp.DelegatingResultSet.getInt(DelegatingResultSet.java:225) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.DelegatingResultSet.getInt(DelegatingResultSet.java:225) ~[commons-dbcp-1.4.jar:1.4] ... 134 common frames omitted Caused by: org.apache.derby.impl.jdbc.EmbedSQLException: The resulting value is outside the range for the data type INTEGER. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source) ~[derby-10.9.1.0.jar:na] ... 141 common frames omitted Caused by: org.apache.derby.iapi.error.StandardException: The resulting value is outside the range for the data type INTEGER. at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.iapi.types.SQLLongint.getInt(Unknown Source) ~[derby-10.9.1.0.jar:na] ... 137 common frames omitted {code}

    JFrog JIRA | 3 years ago | Itamar Berman-Eshel
    java.lang.reflect.UndeclaredThrowableException: null
  2. 0

    After querying a very large repository, this exception is received: {code} 2013-10-07 16:34:54,742 [http-bio-8081-exec-3] [ERROR] (repo-stats :65) - Failed to execute plugin java.lang.reflect.UndeclaredThrowableException: null at com.sun.proxy.$Proxy23.getInt(Unknown Source) ~[na:na] at org.artifactory.storage.db.util.JdbcHelper.executeSelectCount(JdbcHelper.java:143) ~[artifactory-storage-db-3.0.3.jar:na] at org.artifactory.storage.db.fs.dao.NodesDao.getFilesTotalSize(NodesDao.java:278) ~[artifactory-storage-db-3.0.3.jar:na] at org.artifactory.storage.db.fs.service.FileServiceImpl.getFilesTotalCount(FileServiceImpl.java:287) ~[artifactory-storage-db-3.0.3.jar:na] at org.artifactory.addon.plugin.services.RepositoriesImpl.getArtifactsSize(RepositoriesImpl.java:229) ~[artifactory-addon-plugins-3.0.3.jar:na] at org.artifactory.repo.Repositories$getArtifactsSize.call(Unknown Source) ~[na:na] at repo-stats$_run_closure1_closure2_closure3_closure4.doCall(repo-stats.groovy:49) ~[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_21] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_21] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) [groovy-1.8.8.jar:1.8.8] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) [groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) [groovy-1.8.8.jar:1.8.8] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:901) [groovy-1.8.8.jar:1.8.8] at groovy.lang.Closure.call(Closure.java:415) [groovy-1.8.8.jar:1.8.8] at groovy.lang.Closure.call(Closure.java:428) [groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.DefaultGroovyMethods.findResults(DefaultGroovyMethods.java:2787) ~[groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.dgm$292.invoke(Unknown Source) ~[groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271) ~[groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53) ~[groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) ~[groovy-1.8.8.jar:1.8.8] at repo-stats$_run_closure1_closure2_closure3.doCall(repo-stats.groovy:42) ~[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_21] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_21] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) [groovy-1.8.8.jar:1.8.8] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) [groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) [groovy-1.8.8.jar:1.8.8] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:901) [groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) ~[groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) ~[groovy-1.8.8.jar:1.8.8] at repo-stats$_run_closure1_closure2_closure3.doCall(repo-stats.groovy) ~[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_21] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_21] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) [groovy-1.8.8.jar:1.8.8] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) [groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) [groovy-1.8.8.jar:1.8.8] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:901) [groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39) ~[groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) ~[groovy-1.8.8.jar:1.8.8] at groovy.json.JsonDelegate.cloneDelegateAndGetContent(JsonDelegate.groovy:50) ~[groovy-1.8.8.jar:1.8.8] at groovy.json.JsonDelegate$cloneDelegateAndGetContent.call(Unknown Source) ~[na:na] at groovy.json.JsonBuilder.call(JsonBuilder.groovy:148) ~[groovy-1.8.8.jar:1.8.8] at groovy.json.JsonBuilder$call.call(Unknown Source) ~[na:na] at repo-stats$_run_closure1_closure2.doCall(repo-stats.groovy:40) ~[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_21] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_21] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) [groovy-1.8.8.jar:1.8.8] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) [groovy-1.8.8.jar:1.8.8] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) [groovy-1.8.8.jar:1.8.8] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:901) [groovy-1.8.8.jar:1.8.8] at groovy.lang.Closure.call(Closure.java:415) [groovy-1.8.8.jar:1.8.8] at groovy.lang.Closure.call(Closure.java:428) [groovy-1.8.8.jar:1.8.8] at org.artifactory.addon.plugin.execution.ExecutePluginImpl.execute(ExecutePluginImpl.java:97) [artifactory-addon-plugins-3.0.3.jar:na] at org.artifactory.addon.plugin.ScriptDelegate.execute(ScriptDelegate.java:94) [artifactory-addon-plugins-3.0.3.jar:na] at org.artifactory.addon.plugin.GroovyRunnerImpl.execute(GroovyRunnerImpl.java:122) [artifactory-addon-plugins-3.0.3.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_21] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_21] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) [spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) [spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at com.sun.proxy.$Proxy64.execute(Unknown Source) [na:na] at org.artifactory.addon.plugin.PluginsAddonImpl.execute(PluginsAddonImpl.java:52) [artifactory-addon-plugins-3.0.3.jar:na] at org.artifactory.addon.rest.RestAddonImpl.runPluginExecution(RestAddonImpl.java:861) [artifactory-addon-rest-3.0.3.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_21] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_21] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) [spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) [spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at com.sun.proxy.$Proxy97.runPluginExecution(Unknown Source) [na:na] at org.artifactory.rest.resource.plugin.PluginsResource.execute(PluginsResource.java:91) [artifactory-rest-3.0.3.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_21] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_21] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1483) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1414) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1363) [jersey-server-1.12.jar:1.12] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1353) [jersey-server-1.12.jar:1.12] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:414) [jersey-servlet-1.12.jar:1.12] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537) [jersey-servlet-1.12.jar:1.12] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708) [jersey-servlet-1.12.jar:1.12] at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) [servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:166) [artifactory-web-application-3.0.3.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:85) [artifactory-web-application-3.0.3.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:272) [artifactory-web-application-3.0.3.jar:na] at org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:193) [artifactory-web-application-3.0.3.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:175) [artifactory-web-application-3.0.3.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:143) [artifactory-web-application-3.0.3.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:60) [artifactory-web-application-3.0.3.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:72) [artifactory-web-application-3.0.3.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) [catalina.jar:7.0.39] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.39] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [catalina.jar:7.0.39] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.39] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009) [tomcat-coyote.jar:7.0.39] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) [tomcat-coyote.jar:7.0.39] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) [tomcat-coyote.jar:7.0.39] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_21] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_21] at java.lang.Thread.run(Thread.java:722) [na:1.7.0_21] Caused by: java.lang.reflect.InvocationTargetException: null at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at org.artifactory.storage.db.util.ResultSetWrapper.invoke(ResultSetWrapper.java:73) ~[artifactory-storage-db-3.0.3.jar:na] ... 130 common frames omitted Caused by: java.sql.SQLDataException: The resulting value is outside the range for the data type INTEGER. at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.EmbedResultSet.noStateChangeException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.EmbedResultSet.getInt(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.commons.dbcp.DelegatingResultSet.getInt(DelegatingResultSet.java:225) ~[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.DelegatingResultSet.getInt(DelegatingResultSet.java:225) ~[commons-dbcp-1.4.jar:1.4] ... 134 common frames omitted Caused by: org.apache.derby.impl.jdbc.EmbedSQLException: The resulting value is outside the range for the data type INTEGER. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source) ~[derby-10.9.1.0.jar:na] ... 141 common frames omitted Caused by: org.apache.derby.iapi.error.StandardException: The resulting value is outside the range for the data type INTEGER. at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) ~[derby-10.9.1.0.jar:na] at org.apache.derby.iapi.types.SQLLongint.getInt(Unknown Source) ~[derby-10.9.1.0.jar:na] ... 137 common frames omitted {code}

    JFrog JIRA | 3 years ago | Itamar Berman-Eshel
    java.lang.reflect.UndeclaredThrowableException: null
  3. 0

    InstanceNotFoundException while starting memory leak detector

    Oracle Community | 9 years ago | 666705
    java.lang.reflect.UndeclaredThrowableException: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.reflect.UndeclaredThrowableException

      null

      at com.sun.proxy.$Proxy23.getInt()
    2. com.sun.proxy
      $Proxy23.getInt
      1. com.sun.proxy.$Proxy23.getInt(Unknown Source)[na:na]
      1 frame
    3. org.artifactory.storage
      FileServiceImpl.getFilesTotalCount
      1. org.artifactory.storage.db.util.JdbcHelper.executeSelectCount(JdbcHelper.java:143)[artifactory-storage-db-3.0.3.jar:na]
      2. org.artifactory.storage.db.fs.dao.NodesDao.getFilesTotalSize(NodesDao.java:278)[artifactory-storage-db-3.0.3.jar:na]
      3. org.artifactory.storage.db.fs.service.FileServiceImpl.getFilesTotalCount(FileServiceImpl.java:287)[artifactory-storage-db-3.0.3.jar:na]
      3 frames
    4. org.artifactory.addon
      RepositoriesImpl.getArtifactsSize
      1. org.artifactory.addon.plugin.services.RepositoriesImpl.getArtifactsSize(RepositoriesImpl.java:229)[artifactory-addon-plugins-3.0.3.jar:na]
      1 frame
    5. org.artifactory.repo
      Repositories$getArtifactsSize.call
      1. org.artifactory.repo.Repositories$getArtifactsSize.call(Unknown Source)[na:na]
      1 frame