java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I set up a typical npm repository as in the manual and it caches a lot of the modules. However, when it comes to grunt-angular-gettext it fails with the following error, which currently prevents us to use artifactory: ronny@ka-wl-rschulz:~/workspace/sandbox$ npm install grunt-angular-gettext --save-dev --verbose npm info it worked if it ends with ok npm verb cli [ '/usr/local/bin/node', npm verb cli '/usr/local/bin/npm', npm verb cli 'install', npm verb cli 'grunt-angular-gettext', npm verb cli '--save-dev', npm verb cli '--verbose' ] npm info using npm@2.14.20 npm info using node@v4.4.1 npm verb install initial load of /home/ronny/workspace/sandbox/package.json npm verb readDependencies loading dependencies from /home/ronny/workspace/sandbox/package.json npm verb cache add spec grunt-angular-gettext npm verb addNamed "latest" is being treated as a dist-tag for grunt-angular-gettext npm info addNameTag [ 'grunt-angular-gettext', 'latest' ] npm verb addNameTag registry:http://localhost:8081/artifactory/api/npm/npm/grunt-angular-gettext not in flight; fetching npm verb request uri http://localhost:8081/artifactory/api/npm/npm/grunt-angular-gettext npm verb request always-auth set; sending authorization npm info attempt registry request try #1 at 3:19:43 PM npm verb request id 5c714ea75fd050cd npm http request GET http://localhost:8081/artifactory/api/npm/npm/grunt-angular-gettext npm http 500 http://localhost:8081/artifactory/api/npm/npm/grunt-angular-gettext npm verb headers { server: 'Artifactory/4.6.1', npm verb headers 'x-artifactory-id': 'ab4d7d52d7056d5a:-17390e40:153c2073f2c:-8000', npm verb headers 'content-type': 'application/json', npm verb headers 'transfer-encoding': 'chunked', npm verb headers date: 'Tue, 29 Mar 2016 13:19:43 GMT', npm verb headers connection: 'close' } npm info retry will retry, error on last attempt: Error: Registry returned 500 for GET on http://localhost:8081/artifactory/api/npm/npm/grunt-angular-gettext npm info attempt registry request try #2 at 3:19:53 PM npm http request GET http://localhost:8081/artifactory/api/npm/npm/grunt-angular-gettext npm http 500 http://localhost:8081/artifactory/api/npm/npm/grunt-angular-gettext npm verb headers { server: 'Artifactory/4.6.1', npm verb headers 'x-artifactory-id': 'ab4d7d52d7056d5a:-17390e40:153c2073f2c:-8000', npm verb headers 'content-type': 'application/json', npm verb headers 'transfer-encoding': 'chunked', npm verb headers date: 'Tue, 29 Mar 2016 13:19:53 GMT', npm verb headers connection: 'close' } npm info retry will retry, error on last attempt: Error: Registry returned 500 for GET on http://localhost:8081/artifactory/api/npm/npm/grunt-angular-gettext npm info attempt registry request try #3 at 3:20:53 PM npm http request GET http://localhost:8081/artifactory/api/npm/npm/grunt-angular-gettext npm http 500 http://localhost:8081/artifactory/api/npm/npm/grunt-angular-gettext npm verb headers { server: 'Artifactory/4.6.1', npm verb headers 'x-artifactory-id': 'ab4d7d52d7056d5a:-17390e40:153c2073f2c:-8000', npm verb headers 'content-type': 'application/json', npm verb headers 'transfer-encoding': 'chunked', npm verb headers date: 'Tue, 29 Mar 2016 13:20:53 GMT', npm verb headers connection: 'close' } npm verb stack Error: Registry returned 500 for GET on http://localhost:8081/artifactory/api/npm/npm/grunt-angular-gettext npm verb stack at makeError (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:264:12) npm verb stack at CachingRegistryClient.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:242:14) npm verb stack at Request._callback (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:172:14) npm verb stack at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:199:22) npm verb stack at emitTwo (events.js:87:13) npm verb stack at Request.emit (events.js:172:7) npm verb stack at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1036:10) npm verb stack at emitOne (events.js:82:20) npm verb stack at Request.emit (events.js:169:7) npm verb stack at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:963:12) npm verb statusCode 500 npm verb pkgid grunt-angular-gettext npm verb cwd /home/ronny/workspace/sandbox npm ERR! Linux 3.16.0-67-generic npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "grunt-angular-gettext" "--save-dev" "--verbose" npm ERR! node v4.4.1 npm ERR! npm v2.14.20 npm ERR! code E500 npm ERR! Registry returned 500 for GET on http://localhost:8081/artifactory/api/npm/npm/grunt-angular-gettext npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! <https://github.com/npm/npm/issues> npm verb exit [ 1, true ] npm ERR! Please include the following file with any support request: npm ERR! /home/ronny/workspace/sandbox/npm-debug.log The browser API call responds: { "errors" : [ { "status" : 500, "message" : "org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of java.util.LinkedHashMap out of START_ARRAY token\n at [Source: org.apache.commons.compress.archivers.tar.TarArchiveInputStream@1a55a2f9; line: 7, column: 89] (through reference chain: org.jfrog.repomd.npm.model.NpmMetadata[\"dependencies\"])" } ] } Console output of artifactory: 2016-03-30 08:27:57,101 [http-nio-8081-exec-242] [ERROR] (o.a.r.c.e.GlobalExceptionMapper:46) - org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of java.util.LinkedHashMap out of START_ARRAY token at [Source: org.apache.commons.compress.archivers.tar.TarArchiveInputStream@a21c2a0; line: 7, column: 89] (through reference chain: org.jfrog.repomd.npm.model.NpmMetadata["dependencies"]) java.lang.RuntimeException: org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of java.util.LinkedHashMap out of START_ARRAY token at [Source: org.apache.commons.compress.archivers.tar.TarArchiveInputStream@a21c2a0; line: 7, column: 89] (through reference chain: org.jfrog.repomd.npm.model.NpmMetadata["dependencies"]) at org.jfrog.repomd.npm.NpmMetadataExtractor.read(NpmMetadataExtractor.java:116) ~[npm-4.2.6.jar:na] at org.jfrog.repomd.npm.NpmMetadataExtractor.extractAsSystem(NpmMetadataExtractor.java:48) ~[npm-4.2.6.jar:na] at org.jfrog.repomd.npm.NpmMetadataExtractor.extract(NpmMetadataExtractor.java:35) ~[npm-4.2.6.jar:na] at org.artifactory.addon.npm.NpmServiceImpl.getNpmMetadata(NpmServiceImpl.java:83) ~[artifactory-addon-npm-4.6.1.jar:na] at sun.reflect.GeneratedMethodAccessor447.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_71] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_71] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy72.getNpmMetadata(Unknown Source) ~[na:na] at org.artifactory.addon.npm.repo.merge.NpmPackageMetadataMerger.lambda$1(NpmPackageMetadataMerger.java:156) ~[artifactory-addon-npm-4.6.1.jar:na] at java.util.LinkedHashMap$LinkedEntrySet.forEach(LinkedHashMap.java:663) ~[na:1.8.0_71] at org.artifactory.addon.npm.repo.merge.NpmPackageMetadataMerger.lambda$0(NpmPackageMetadataMerger.java:146) ~[artifactory-addon-npm-4.6.1.jar:na] at java.util.HashMap$Values.forEach(HashMap.java:972) ~[na:1.8.0_71] at org.artifactory.addon.npm.repo.merge.NpmPackageMetadataMerger.fetchAndReplaceExternalDependencies(NpmPackageMetadataMerger.java:144) ~[artifactory-addon-npm-4.6.1.jar:na] at org.artifactory.addon.npm.repo.merge.NpmPackageMetadataMerger.mergeNpmPackageMetadata(NpmPackageMetadataMerger.java:118) ~[artifactory-addon-npm-4.6.1.jar:na] at org.artifactory.addon.npm.repo.merge.NpmPackageMetadataMerger.merge(NpmPackageMetadataMerger.java:108) ~[artifactory-addon-npm-4.6.1.jar:na] at org.artifactory.addon.npm.repo.merge.NpmMetadataMerger.getMergedResult(NpmMetadataMerger.java:74) ~[artifactory-addon-npm-4.6.1.jar:na] at org.artifactory.addon.npm.repo.NpmVirtualRepoHandler.getPackageMetadata(NpmVirtualRepoHandler.java:84) ~[artifactory-addon-npm-4.6.1.jar:na] at org.jfrog.repomd.npm.rest.NpmSubResource.packageInfo(NpmSubResource.java:39) ~[npm-4.2.6.jar:na] at sun.reflect.GeneratedMethodAccessor285.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_71] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_71] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) [jersey-server-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733) [jersey-servlet-1.19.jar:1.19] at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) [servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:198) [artifactory-web-application-4.6.1.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:89) [artifactory-web-application-4.6.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.authentication.ArtifactoryAuthenticationFilterChain.lambda$0(ArtifactoryAuthenticationFilterChain.java:149) [artifactory-web-application-4.6.1.jar:na] at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:201) ~[spring-security-web-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.artifactory.webapp.servlet.authentication.ArtifactoryBasicAuthenticationFilter.doFilter(ArtifactoryBasicAuthenticationFilter.java:88) ~[artifactory-web-application-4.6.1.jar:na] at org.artifactory.webapp.servlet.authentication.ArtifactoryAuthenticationFilterChain.doFilter(ArtifactoryAuthenticationFilterChain.java:188) [artifactory-web-application-4.6.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:240) ~[artifactory-web-application-4.6.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:190) ~[artifactory-web-application-4.6.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:156) ~[artifactory-web-application-4.6.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:65) ~[artifactory-web-application-4.6.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:109) ~[artifactory-web-application-4.6.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) ~[catalina.jar:8.0.32] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) ~[catalina.jar:8.0.32] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) ~[catalina.jar:8.0.32] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) ~[catalina.jar:8.0.32] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) ~[catalina.jar:8.0.32] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522) ~[catalina.jar:8.0.32] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095) ~[tomcat-coyote.jar:8.0.32] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672) ~[tomcat-coyote.jar:8.0.32] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500) ~[tomcat-coyote.jar:8.0.32] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456) ~[tomcat-coyote.jar:8.0.32] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_71] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[na:1.8.0_71] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-util.jar:8.0.32] at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_71] Caused by: org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of java.util.LinkedHashMap out of START_ARRAY token at [Source: org.apache.commons.compress.archivers.tar.TarArchiveInputStream@a21c2a0; line: 7, column: 89] (through reference chain: org.jfrog.repomd.npm.model.NpmMetadata["dependencies"]) at org.codehaus.jackson.map.JsonMappingException.from(JsonMappingException.java:163) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.StdDeserializationContext.mappingException(StdDeserializationContext.java:219) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.StdDeserializationContext.mappingException(StdDeserializationContext.java:212) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.std.MapDeserializer.deserialize(MapDeserializer.java:246) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.std.MapDeserializer.deserialize(MapDeserializer.java:33) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:299) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.SettableBeanProperty$FieldProperty.deserializeAndSet(SettableBeanProperty.java:579) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:697) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2732) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1909) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.jfrog.repomd.npm.NpmMetadataExtractor.read(NpmMetadataExtractor.java:97) ~[npm-4.2.6.jar:na] ... 75 common frames omitted
    via by Ronny Schulz,
  • I set up a typical npm repository as in the manual and it caches a lot of the modules. However, when it comes to grunt-angular-gettext it fails with the following error, which currently prevents us to use artifactory: ronny@ka-wl-rschulz:~/workspace/sandbox$ npm install grunt-angular-gettext --save-dev --verbose npm info it worked if it ends with ok npm verb cli [ '/usr/local/bin/node', npm verb cli '/usr/local/bin/npm', npm verb cli 'install', npm verb cli 'grunt-angular-gettext', npm verb cli '--save-dev', npm verb cli '--verbose' ] npm info using npm@2.14.20 npm info using node@v4.4.1 npm verb install initial load of /home/ronny/workspace/sandbox/package.json npm verb readDependencies loading dependencies from /home/ronny/workspace/sandbox/package.json npm verb cache add spec grunt-angular-gettext npm verb addNamed "latest" is being treated as a dist-tag for grunt-angular-gettext npm info addNameTag [ 'grunt-angular-gettext', 'latest' ] npm verb addNameTag registry:http://localhost:8081/artifactory/api/npm/npm/grunt-angular-gettext not in flight; fetching npm verb request uri http://localhost:8081/artifactory/api/npm/npm/grunt-angular-gettext npm verb request always-auth set; sending authorization npm info attempt registry request try #1 at 3:19:43 PM npm verb request id 5c714ea75fd050cd npm http request GET http://localhost:8081/artifactory/api/npm/npm/grunt-angular-gettext npm http 500 http://localhost:8081/artifactory/api/npm/npm/grunt-angular-gettext npm verb headers { server: 'Artifactory/4.6.1', npm verb headers 'x-artifactory-id': 'ab4d7d52d7056d5a:-17390e40:153c2073f2c:-8000', npm verb headers 'content-type': 'application/json', npm verb headers 'transfer-encoding': 'chunked', npm verb headers date: 'Tue, 29 Mar 2016 13:19:43 GMT', npm verb headers connection: 'close' } npm info retry will retry, error on last attempt: Error: Registry returned 500 for GET on http://localhost:8081/artifactory/api/npm/npm/grunt-angular-gettext npm info attempt registry request try #2 at 3:19:53 PM npm http request GET http://localhost:8081/artifactory/api/npm/npm/grunt-angular-gettext npm http 500 http://localhost:8081/artifactory/api/npm/npm/grunt-angular-gettext npm verb headers { server: 'Artifactory/4.6.1', npm verb headers 'x-artifactory-id': 'ab4d7d52d7056d5a:-17390e40:153c2073f2c:-8000', npm verb headers 'content-type': 'application/json', npm verb headers 'transfer-encoding': 'chunked', npm verb headers date: 'Tue, 29 Mar 2016 13:19:53 GMT', npm verb headers connection: 'close' } npm info retry will retry, error on last attempt: Error: Registry returned 500 for GET on http://localhost:8081/artifactory/api/npm/npm/grunt-angular-gettext npm info attempt registry request try #3 at 3:20:53 PM npm http request GET http://localhost:8081/artifactory/api/npm/npm/grunt-angular-gettext npm http 500 http://localhost:8081/artifactory/api/npm/npm/grunt-angular-gettext npm verb headers { server: 'Artifactory/4.6.1', npm verb headers 'x-artifactory-id': 'ab4d7d52d7056d5a:-17390e40:153c2073f2c:-8000', npm verb headers 'content-type': 'application/json', npm verb headers 'transfer-encoding': 'chunked', npm verb headers date: 'Tue, 29 Mar 2016 13:20:53 GMT', npm verb headers connection: 'close' } npm verb stack Error: Registry returned 500 for GET on http://localhost:8081/artifactory/api/npm/npm/grunt-angular-gettext npm verb stack at makeError (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:264:12) npm verb stack at CachingRegistryClient.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:242:14) npm verb stack at Request._callback (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:172:14) npm verb stack at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:199:22) npm verb stack at emitTwo (events.js:87:13) npm verb stack at Request.emit (events.js:172:7) npm verb stack at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1036:10) npm verb stack at emitOne (events.js:82:20) npm verb stack at Request.emit (events.js:169:7) npm verb stack at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:963:12) npm verb statusCode 500 npm verb pkgid grunt-angular-gettext npm verb cwd /home/ronny/workspace/sandbox npm ERR! Linux 3.16.0-67-generic npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "grunt-angular-gettext" "--save-dev" "--verbose" npm ERR! node v4.4.1 npm ERR! npm v2.14.20 npm ERR! code E500 npm ERR! Registry returned 500 for GET on http://localhost:8081/artifactory/api/npm/npm/grunt-angular-gettext npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! <https://github.com/npm/npm/issues> npm verb exit [ 1, true ] npm ERR! Please include the following file with any support request: npm ERR! /home/ronny/workspace/sandbox/npm-debug.log The browser API call responds: { "errors" : [ { "status" : 500, "message" : "org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of java.util.LinkedHashMap out of START_ARRAY token\n at [Source: org.apache.commons.compress.archivers.tar.TarArchiveInputStream@1a55a2f9; line: 7, column: 89] (through reference chain: org.jfrog.repomd.npm.model.NpmMetadata[\"dependencies\"])" } ] } Console output of artifactory: 2016-03-30 08:27:57,101 [http-nio-8081-exec-242] [ERROR] (o.a.r.c.e.GlobalExceptionMapper:46) - org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of java.util.LinkedHashMap out of START_ARRAY token at [Source: org.apache.commons.compress.archivers.tar.TarArchiveInputStream@a21c2a0; line: 7, column: 89] (through reference chain: org.jfrog.repomd.npm.model.NpmMetadata["dependencies"]) java.lang.RuntimeException: org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of java.util.LinkedHashMap out of START_ARRAY token at [Source: org.apache.commons.compress.archivers.tar.TarArchiveInputStream@a21c2a0; line: 7, column: 89] (through reference chain: org.jfrog.repomd.npm.model.NpmMetadata["dependencies"]) at org.jfrog.repomd.npm.NpmMetadataExtractor.read(NpmMetadataExtractor.java:116) ~[npm-4.2.6.jar:na] at org.jfrog.repomd.npm.NpmMetadataExtractor.extractAsSystem(NpmMetadataExtractor.java:48) ~[npm-4.2.6.jar:na] at org.jfrog.repomd.npm.NpmMetadataExtractor.extract(NpmMetadataExtractor.java:35) ~[npm-4.2.6.jar:na] at org.artifactory.addon.npm.NpmServiceImpl.getNpmMetadata(NpmServiceImpl.java:83) ~[artifactory-addon-npm-4.6.1.jar:na] at sun.reflect.GeneratedMethodAccessor447.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_71] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_71] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) ~[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy72.getNpmMetadata(Unknown Source) ~[na:na] at org.artifactory.addon.npm.repo.merge.NpmPackageMetadataMerger.lambda$1(NpmPackageMetadataMerger.java:156) ~[artifactory-addon-npm-4.6.1.jar:na] at java.util.LinkedHashMap$LinkedEntrySet.forEach(LinkedHashMap.java:663) ~[na:1.8.0_71] at org.artifactory.addon.npm.repo.merge.NpmPackageMetadataMerger.lambda$0(NpmPackageMetadataMerger.java:146) ~[artifactory-addon-npm-4.6.1.jar:na] at java.util.HashMap$Values.forEach(HashMap.java:972) ~[na:1.8.0_71] at org.artifactory.addon.npm.repo.merge.NpmPackageMetadataMerger.fetchAndReplaceExternalDependencies(NpmPackageMetadataMerger.java:144) ~[artifactory-addon-npm-4.6.1.jar:na] at org.artifactory.addon.npm.repo.merge.NpmPackageMetadataMerger.mergeNpmPackageMetadata(NpmPackageMetadataMerger.java:118) ~[artifactory-addon-npm-4.6.1.jar:na] at org.artifactory.addon.npm.repo.merge.NpmPackageMetadataMerger.merge(NpmPackageMetadataMerger.java:108) ~[artifactory-addon-npm-4.6.1.jar:na] at org.artifactory.addon.npm.repo.merge.NpmMetadataMerger.getMergedResult(NpmMetadataMerger.java:74) ~[artifactory-addon-npm-4.6.1.jar:na] at org.artifactory.addon.npm.repo.NpmVirtualRepoHandler.getPackageMetadata(NpmVirtualRepoHandler.java:84) ~[artifactory-addon-npm-4.6.1.jar:na] at org.jfrog.repomd.npm.rest.NpmSubResource.packageInfo(NpmSubResource.java:39) ~[npm-4.2.6.jar:na] at sun.reflect.GeneratedMethodAccessor285.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_71] at java.lang.reflect.Method.invoke(Method.java:497) ~[na:1.8.0_71] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) ~[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) [jersey-server-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733) [jersey-servlet-1.19.jar:1.19] at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) [servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:198) [artifactory-web-application-4.6.1.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:89) [artifactory-web-application-4.6.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.authentication.ArtifactoryAuthenticationFilterChain.lambda$0(ArtifactoryAuthenticationFilterChain.java:149) [artifactory-web-application-4.6.1.jar:na] at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:201) ~[spring-security-web-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.artifactory.webapp.servlet.authentication.ArtifactoryBasicAuthenticationFilter.doFilter(ArtifactoryBasicAuthenticationFilter.java:88) ~[artifactory-web-application-4.6.1.jar:na] at org.artifactory.webapp.servlet.authentication.ArtifactoryAuthenticationFilterChain.doFilter(ArtifactoryAuthenticationFilterChain.java:188) [artifactory-web-application-4.6.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:240) ~[artifactory-web-application-4.6.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:190) ~[artifactory-web-application-4.6.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:156) ~[artifactory-web-application-4.6.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:65) ~[artifactory-web-application-4.6.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:109) ~[artifactory-web-application-4.6.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [catalina.jar:8.0.32] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) ~[catalina.jar:8.0.32] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) ~[catalina.jar:8.0.32] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) ~[catalina.jar:8.0.32] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) ~[catalina.jar:8.0.32] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) ~[catalina.jar:8.0.32] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522) ~[catalina.jar:8.0.32] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095) ~[tomcat-coyote.jar:8.0.32] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672) ~[tomcat-coyote.jar:8.0.32] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500) ~[tomcat-coyote.jar:8.0.32] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456) ~[tomcat-coyote.jar:8.0.32] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) ~[na:1.8.0_71] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ~[na:1.8.0_71] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) ~[tomcat-util.jar:8.0.32] at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_71] Caused by: org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of java.util.LinkedHashMap out of START_ARRAY token at [Source: org.apache.commons.compress.archivers.tar.TarArchiveInputStream@a21c2a0; line: 7, column: 89] (through reference chain: org.jfrog.repomd.npm.model.NpmMetadata["dependencies"]) at org.codehaus.jackson.map.JsonMappingException.from(JsonMappingException.java:163) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.StdDeserializationContext.mappingException(StdDeserializationContext.java:219) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.StdDeserializationContext.mappingException(StdDeserializationContext.java:212) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.std.MapDeserializer.deserialize(MapDeserializer.java:246) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.std.MapDeserializer.deserialize(MapDeserializer.java:33) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:299) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.SettableBeanProperty$FieldProperty.deserializeAndSet(SettableBeanProperty.java:579) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:697) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2732) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1909) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.jfrog.repomd.npm.NpmMetadataExtractor.read(NpmMetadataExtractor.java:97) ~[npm-4.2.6.jar:na] ... 75 common frames omitted
    via by Ronny Schulz,
  • nSteps to reproduce: 1. Create a package JSON file with the dependency field set to empty []: {code} { "name" : "test", "dependencies" : [], "main" : "underscore.js", "version" : "1.2.3" } {code} 2. publish the package, in the logs once it's recalculating the metadata, the following error occurs: {code} 2016-09-07 10:53:48,953 [http-nio-9090-exec-294] [ERROR] (o.j.r.n.NpmMetadataExtractor:114) Unable to find the package archive ('package.json') within the tarball content: Can not deserialize instance of java.util.LinkedHashMap out of START_ARRAY token at [Source: org.apache.commons.compress.archivers.tar.TarArchiveInputStream@6c755e1d; line: 2, column: 27] (through reference chain: org.jfrog.repomd.npm.model.NpmMetadata["dependencies"]) org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of java.util.LinkedHashMap out of START_ARRAY token at [Source: org.apache.commons.compress.archivers.tar.TarArchiveInputStream@6c755e1d; line: 2, column: 27] (through reference chain: org.jfrog.repomd.npm.model.NpmMetadata["dependencies"]) at org.codehaus.jackson.map.JsonMappingException.from(JsonMappingException.java:163) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.StdDeserializationContext.mappingException(StdDeserializationContext.java:219) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.StdDeserializationContext.mappingException(StdDeserializationContext.java:212) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.std.MapDeserializer.deserialize(MapDeserializer.java:246) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.std.MapDeserializer.deserialize(MapDeserializer.java:33) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:299) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.SettableBeanProperty$FieldProperty.deserializeAndSet(SettableBeanProperty.java:579) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:697) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2732) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1909) ~[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.jfrog.repomd.npm.NpmMetadataExtractor.read(NpmMetadataExtractor.java:97) [npm-4.3.0.jar:na] at org.jfrog.repomd.npm.NpmMetadataExtractor.extractAsSystem(NpmMetadataExtractor.java:48) [npm-4.3.0.jar:na] at org.jfrog.repomd.npm.NpmMetadataExtractor.extract(NpmMetadataExtractor.java:35) [npm-4.3.0.jar:na] at org.artifactory.addon.npm.NpmServiceImpl.getNpmMetadata(NpmServiceImpl.java:78) [classes/:na] at org.artifactory.addon.npm.NpmServiceImpl.addNpmPackage(NpmServiceImpl.java:87) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_77] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_77] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_77] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_77] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) [spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) [spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy132.addNpmPackage(Unknown Source) [na:na] at org.artifactory.addon.npm.NpmAddonImpl.addNpmPackage(NpmAddonImpl.java:33) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_77] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_77] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_77] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_77] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) [spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) [spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy145.addNpmPackage(Unknown Source) [na:na] at org.artifactory.repo.interceptor.NpmMetadataInterceptor.afterCreate(NpmMetadataInterceptor.java:52) [classes/:na] at org.artifactory.repo.interceptor.storage.StorageInterceptorsImpl.afterCreate(StorageInterceptorsImpl.java:65) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_77] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_77] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_77] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_77] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) [spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) [spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy59.afterCreate(Unknown Source) [na:na] at org.artifactory.repo.db.DbStoringRepoMixin.invokeAfterCreateInterceptors(DbStoringRepoMixin.java:391) [classes/:na] at org.artifactory.repo.db.DbStoringRepoMixin.saveResource(DbStoringRepoMixin.java:226) [classes/:na] at org.artifactory.repo.db.DbLocalRepo.saveResource(DbLocalRepo.java:137) [classes/:na] at org.artifactory.repo.service.RepositoryServiceImpl.saveResourceInTransaction(RepositoryServiceImpl.java:1865) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_77] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_77] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_77] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_77] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) [spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) [spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) [spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) [spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) [spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) [spring-tx-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) [spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy43.saveResourceInTransaction(Unknown Source) [na:na] at org.artifactory.repo.service.RepositoryServiceImpl.saveResource(RepositoryServiceImpl.java:1833) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_77] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_77] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_77] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_77] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) [spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) [spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy43.saveResource(Unknown Source) [na:na] at org.artifactory.engine.UploadServiceImpl.uploadItemWithContent(UploadServiceImpl.java:621) [classes/:na] at org.artifactory.engine.UploadServiceImpl.uploadItemWithProvidedContent(UploadServiceImpl.java:587) [classes/:na] at org.artifactory.engine.UploadServiceImpl.uploadItem(UploadServiceImpl.java:506) [classes/:na] at org.artifactory.engine.UploadServiceImpl.uploadFile(UploadServiceImpl.java:479) [classes/:na] at org.artifactory.engine.UploadServiceImpl.uploadArtifact(UploadServiceImpl.java:458) [classes/:na] at org.artifactory.engine.UploadServiceImpl.adjustResponseAndUpload(UploadServiceImpl.java:233) [classes/:na] at org.artifactory.engine.UploadServiceImpl.validateRequestAndUpload(UploadServiceImpl.java:173) [classes/:na] at org.artifactory.engine.UploadServiceImpl.upload(UploadServiceImpl.java:137) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_77] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_77] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_77] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_77] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) [spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) [spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) [spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:67) [classes/:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) [spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy56.upload(Unknown Source) [na:na] at org.artifactory.addon.common.repomd.ArtifactoryService.upload(ArtifactoryService.java:260) [classes/:na] at org.jfrog.repomd.npm.rest.handler.NpmLocalRepoHandler.handleNpmUpload(NpmLocalRepoHandler.java:314) [npm-4.3.0.jar:na] at org.jfrog.repomd.npm.rest.handler.NpmLocalRepoHandler.putOrUpdatePackage(NpmLocalRepoHandler.java:121) [npm-4.3.0.jar:na] at org.jfrog.repomd.npm.rest.NpmSubResource.putOrUpdatePackage(NpmSubResource.java:101) [npm-4.3.0.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_77] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_77] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_77] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_77] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) [jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) [jersey-server-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558) [jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733) [jersey-servlet-1.19.jar:1.19] at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar:3.1.0] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) [tomcat-embed-core-8.0.32.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [tomcat-embed-core-8.0.32.jar:8.0.32] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:200) [classes/:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:91) [classes/:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [tomcat-embed-core-8.0.32.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [tomcat-embed-core-8.0.32.jar:8.0.32] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:388) [classes/:na] at org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:269) [classes/:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:199) [classes/:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:159) [classes/:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [tomcat-embed-core-8.0.32.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [tomcat-embed-core-8.0.32.jar:8.0.32] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:61) [classes/:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [tomcat-embed-core-8.0.32.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [tomcat-embed-core-8.0.32.jar:8.0.32] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:111) [classes/:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) [tomcat-embed-core-8.0.32.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) [tomcat-embed-core-8.0.32.jar:8.0.32] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) [tomcat-embed-core-8.0.32.jar:8.0.32] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [tomcat-embed-core-8.0.32.jar:8.0.32] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) [tomcat-embed-core-8.0.32.jar:8.0.32] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [tomcat-embed-core-8.0.32.jar:8.0.32] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [tomcat-embed-core-8.0.32.jar:8.0.32] at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:676) [tomcat-embed-core-8.0.32.jar:8.0.32] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522) [tomcat-embed-core-8.0.32.jar:8.0.32] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095) [tomcat-embed-core-8.0.32.jar:8.0.32] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672) [tomcat-embed-core-8.0.32.jar:8.0.32] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500) [tomcat-embed-core-8.0.32.jar:8.0.32] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456) [tomcat-embed-core-8.0.32.jar:8.0.32] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_77] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_77] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-8.0.32.jar:8.0.32] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77] {code}
    via by Alexei Vainshtein,
  • GitHub comment 16#11576300
    via GitHub by luisfmp
    ,
    • java.lang.RuntimeException: org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of java.util.LinkedHashMap out of START_ARRAY token at [Source: org.apache.commons.compress.archivers.tar.TarArchiveInputStream@a21c2a0; line: 7, column: 89] (through reference chain: org.jfrog.repomd.npm.model.NpmMetadata["dependencies"]) at org.jfrog.repomd.npm.NpmMetadataExtractor.read(NpmMetadataExtractor.java:116)[npm-4.2.6.jar:na] at org.jfrog.repomd.npm.NpmMetadataExtractor.extractAsSystem(NpmMetadataExtractor.java:48)[npm-4.2.6.jar:na] at org.jfrog.repomd.npm.NpmMetadataExtractor.extract(NpmMetadataExtractor.java:35)[npm-4.2.6.jar:na] at org.artifactory.addon.npm.NpmServiceImpl.getNpmMetadata(NpmServiceImpl.java:83)[artifactory-addon-npm-4.6.1.jar:na] at sun.reflect.GeneratedMethodAccessor447.invoke(Unknown Source)[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_71] at java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_71] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)[spring-aop-4.1.5.RELEASE.jar:4.1.5.RELEASE] at com.sun.proxy.$Proxy72.getNpmMetadata(Unknown Source)[na:na] at org.artifactory.addon.npm.repo.merge.NpmPackageMetadataMerger.lambda$1(NpmPackageMetadataMerger.java:156)[artifactory-addon-npm-4.6.1.jar:na] at java.util.LinkedHashMap$LinkedEntrySet.forEach(LinkedHashMap.java:663)[na:1.8.0_71] at org.artifactory.addon.npm.repo.merge.NpmPackageMetadataMerger.lambda$0(NpmPackageMetadataMerger.java:146)[artifactory-addon-npm-4.6.1.jar:na] at java.util.HashMap$Values.forEach(HashMap.java:972)[na:1.8.0_71] at org.artifactory.addon.npm.repo.merge.NpmPackageMetadataMerger.fetchAndReplaceExternalDependencies(NpmPackageMetadataMerger.java:144)[artifactory-addon-npm-4.6.1.jar:na] at org.artifactory.addon.npm.repo.merge.NpmPackageMetadataMerger.mergeNpmPackageMetadata(NpmPackageMetadataMerger.java:118)[artifactory-addon-npm-4.6.1.jar:na] at org.artifactory.addon.npm.repo.merge.NpmPackageMetadataMerger.merge(NpmPackageMetadataMerger.java:108)[artifactory-addon-npm-4.6.1.jar:na] at org.artifactory.addon.npm.repo.merge.NpmMetadataMerger.getMergedResult(NpmMetadataMerger.java:74)[artifactory-addon-npm-4.6.1.jar:na] at org.artifactory.addon.npm.repo.NpmVirtualRepoHandler.getPackageMetadata(NpmVirtualRepoHandler.java:84)[artifactory-addon-npm-4.6.1.jar:na] at org.jfrog.repomd.npm.rest.NpmSubResource.packageInfo(NpmSubResource.java:39)[npm-4.2.6.jar:na] at sun.reflect.GeneratedMethodAccessor285.invoke(Unknown Source)[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_71] at java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_71] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)[jersey-server-1.19.jar:1.19] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)[jersey-server-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)[jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)[jersey-servlet-1.19.jar:1.19] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)[jersey-servlet-1.19.jar:1.19] at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)[servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)[catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.32] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:198)[artifactory-web-application-4.6.1.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:89)[artifactory-web-application-4.6.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.32] at org.artifactory.webapp.servlet.authentication.ArtifactoryAuthenticationFilterChain.lambda$0(ArtifactoryAuthenticationFilterChain.java:149)[artifactory-web-application-4.6.1.jar:na] at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:201)[spring-security-web-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.artifactory.webapp.servlet.authentication.ArtifactoryBasicAuthenticationFilter.doFilter(ArtifactoryBasicAuthenticationFilter.java:88)[artifactory-web-application-4.6.1.jar:na] at org.artifactory.webapp.servlet.authentication.ArtifactoryAuthenticationFilterChain.doFilter(ArtifactoryAuthenticationFilterChain.java:188)[artifactory-web-application-4.6.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:240)[artifactory-web-application-4.6.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:190)[artifactory-web-application-4.6.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:156)[artifactory-web-application-4.6.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.32] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:65)[artifactory-web-application-4.6.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.32] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:109)[artifactory-web-application-4.6.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)[catalina.jar:8.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)[catalina.jar:8.0.32] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)[catalina.jar:8.0.32] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)[catalina.jar:8.0.32] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)[catalina.jar:8.0.32] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)[catalina.jar:8.0.32] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)[catalina.jar:8.0.32] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)[catalina.jar:8.0.32] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)[tomcat-coyote.jar:8.0.32] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)[tomcat-coyote.jar:8.0.32] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)[tomcat-coyote.jar:8.0.32] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)[tomcat-coyote.jar:8.0.32] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_71] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_71] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)[tomcat-util.jar:8.0.32] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_71] Caused by: org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of java.util.LinkedHashMap out of START_ARRAY token at [Source: org.apache.commons.compress.archivers.tar.TarArchiveInputStream@a21c2a0; line: 7, column: 89] (through reference chain: org.jfrog.repomd.npm.model.NpmMetadata["dependencies"]) at org.codehaus.jackson.map.JsonMappingException.from(JsonMappingException.java:163)[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.StdDeserializationContext.mappingException(StdDeserializationContext.java:219)[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.StdDeserializationContext.mappingException(StdDeserializationContext.java:212)[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.std.MapDeserializer.deserialize(MapDeserializer.java:246)[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.std.MapDeserializer.deserialize(MapDeserializer.java:33)[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:299)[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.SettableBeanProperty$FieldProperty.deserializeAndSet(SettableBeanProperty.java:579)[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:697)[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580)[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2732)[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1909)[jackson-mapper-asl-1.9.5.jar:1.9.5] at org.jfrog.repomd.npm.NpmMetadataExtractor.read(NpmMetadataExtractor.java:97)[npm-4.2.6.jar:na] ... 75 more

    Users with the same issue

    jstrayer
    10 times, last one,
    Andreas Häber
    177 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    23 more bugmates