java.lang.RuntimeException: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: org.sonatype.nexus.proxy.item.FileContentLocator$DeleteOnCloseFileInputStream@47f74098; line: 1, column: 2]

Sonatype JIRA | Joe Tom | 2 years ago
  1. 0

    Testing NEXUS-8290, I loaded the sonatype work configuration attached there (which contains a malformed proxy configuration) in 2.11.3-SNAPSHOT and hit "http://127.0.0.1:8081/nexus/content/repositories/npmjs/-/all". When I did this, I was returned with an error 500 (see attached and below error). If you perform the NEXUS-8290 test properly and block the repository first before hitting that URL, this is handled correctly so this was analyzed as a separate issue. NPM is not up in NX3 yet so did not check there. {quote} jvm 1 | 2015-03-20 11:15:56,895-0400 WARN [qtp333052202-84] admin org.sonatype.nexus.content.internal.ContentServlet - com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') jvm 1 | at [Source: org.sonatype.nexus.proxy.item.FileContentLocator$DeleteOnCloseFileInputStream@47f74098; line: 1, column: 2] [client=127.0.0.1,ua=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.89 Safari/537.36,req=GET http://127.0.0.1:8081/nexus/content/repositories/npmjs/-/all] jvm 1 | java.lang.RuntimeException: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') jvm 1 | at [Source: org.sonatype.nexus.proxy.item.FileContentLocator$DeleteOnCloseFileInputStream@47f74098; line: 1, column: 2] jvm 1 | at com.google.common.base.Throwables.propagate(Throwables.java:160) ~[guava-16.0.1.jar:na] jvm 1 | at com.bolyuba.nexus.plugin.npm.service.internal.MetadataParser$ParsingPackageRootIterator.getNext(MetadataParser.java:323) ~[na:na] jvm 1 | at com.bolyuba.nexus.plugin.npm.service.internal.MetadataParser$ParsingPackageRootIterator.<init>(MetadataParser.java:279) ~[na:na] jvm 1 | at com.bolyuba.nexus.plugin.npm.service.internal.MetadataParser$ParsingPackageRootIterator.<init>(MetadataParser.java:267) ~[na:na] jvm 1 | at com.bolyuba.nexus.plugin.npm.service.internal.MetadataParser.parseRegistryRoot(MetadataParser.java:90) ~[na:na] jvm 1 | at com.bolyuba.nexus.plugin.npm.service.internal.proxy.HttpProxyMetadataTransport.fetchRegistryRoot(HttpProxyMetadataTransport.java:104) ~[na:na] jvm 1 | at com.bolyuba.nexus.plugin.npm.service.internal.ProxyMetadataServiceImpl.doGenerateRegistryRoot(ProxyMetadataServiceImpl.java:170) ~[na:na] jvm 1 | at com.bolyuba.nexus.plugin.npm.service.internal.GeneratorSupport.generateRegistryRoot(GeneratorSupport.java:98) ~[na:na] jvm 1 | at com.bolyuba.nexus.plugin.npm.service.internal.GeneratorSupport.produceRegistryRoot(GeneratorSupport.java:71) ~[na:na] jvm 1 | at com.bolyuba.nexus.plugin.npm.proxy.DefaultNpmProxyRepository.doRetrieveLocalItem(DefaultNpmProxyRepository.java:216) ~[na:na] jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.doRetrieveItem(AbstractRepository.java:1244) ~[nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT] jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:992) ~[nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT] jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:760) ~[nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT] jvm 1 | at org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:592) ~[nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT] jvm 1 | at org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.retrieveItem(DefaultRepositoryRouter.java:155) ~[nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT] jvm 1 | at org.sonatype.nexus.content.internal.ContentServlet.doGet(ContentServlet.java:376) [nexus-content-plugin-2.11.3-SNAPSHOT/:na] jvm 1 | at org.sonatype.nexus.content.internal.ContentServlet.service(ContentServlet.java:342) [nexus-content-plugin-2.11.3-SNAPSHOT/:na] jvm 1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) [javax.servlet-3.0.0.v201112011016.jar:na] jvm 1 | at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:288) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:278) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:93) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.sonatype.nexus.web.internal.SecurityFilter.executeChain(SecurityFilter.java:90) [nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT] jvm 1 | at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [shiro-core-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [shiro-core-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) [shiro-core-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.3.jar:1.2.3] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.sonatype.nexus.licensing.internal.LicensingRedirectFilter.doFilter(LicensingRedirectFilter.java:135) [nexus-licensing-plugin-2.11.3-SNAPSHOT/:na] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.yammer.metrics.web.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:76) [metrics-web-2.2.0.jar:na] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.CommonHeadersFilter.doFilter(CommonHeadersFilter.java:69) [nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.ErrorPageFilter.doFilter(ErrorPageFilter.java:71) [nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.BaseUrlHolderFilter.doFilter(BaseUrlHolderFilter.java:66) [nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT] jvm 1 | at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82) [nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT] jvm 1 | at org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterPipeline.dispatch(NexusGuiceFilter.java:56) [nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT] jvm 1 | at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:132) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:129) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:206) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:129) [guice-servlet-3.1.10.jar:3.1.10] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1476) [jetty-servlet-8.1.16.v20140903.jar:8.1.16.v20140903] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501) [jetty-servlet-8.1.16.v20140903.jar:8.1.16.v20140903] jvm 1 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) [jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903] jvm 1 | at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) [jetty-security-8.1.16.v20140903.jar:8.1.16.v20140903] jvm 1 | at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) [jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) [jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903] jvm 1 | at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429) [jetty-servlet-8.1.16.v20140903.jar:8.1.16.v20140903] jvm 1 | at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) [jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903] jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) [jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903] jvm 1 | at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) [jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903] jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903] jvm 1 | at com.yammer.metrics.jetty.InstrumentedHandler.handle(InstrumentedHandler.java:200) [metrics-jetty-2.2.0.jar:na] jvm 1 | at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) [jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903] jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903] jvm 1 | at org.eclipse.jetty.server.Server.handle(Server.java:370) [jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903] jvm 1 | at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) [jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903] jvm 1 | at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971) [jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903] jvm 1 | at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033) [jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903] jvm 1 | at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644) [jetty-http-8.1.16.v20140903.jar:8.1.16.v20140903] jvm 1 | at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [jetty-http-8.1.16.v20140903.jar:8.1.16.v20140903] jvm 1 | at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) [jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903] jvm 1 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696) [jetty-io-8.1.16.v20140903.jar:8.1.16.v20140903] jvm 1 | at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53) [jetty-io-8.1.16.v20140903.jar:8.1.16.v20140903] jvm 1 | at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) [jetty-util-8.1.16.v20140903.jar:8.1.16.v20140903] jvm 1 | at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) [jetty-util-8.1.16.v20140903.jar:8.1.16.v20140903] jvm 1 | at java.lang.Thread.run(Thread.java:745) [na:1.8.0_40] jvm 1 | Caused by: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') jvm 1 | at [Source: org.sonatype.nexus.proxy.item.FileContentLocator$DeleteOnCloseFileInputStream@47f74098; line: 1, column: 2] jvm 1 | at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1524) ~[jackson-core-2.3.1.jar:2.3.1] jvm 1 | at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:557) ~[jackson-core-2.3.1.jar:2.3.1] jvm 1 | at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:475) ~[jackson-core-2.3.1.jar:2.3.1] jvm 1 | at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._handleUnexpectedValue(UTF8StreamJsonParser.java:2343) ~[jackson-core-2.3.1.jar:2.3.1] jvm 1 | at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._nextTokenNotInObject(UTF8StreamJsonParser.java:818) ~[jackson-core-2.3.1.jar:2.3.1] jvm 1 | at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextToken(UTF8StreamJsonParser.java:698) ~[jackson-core-2.3.1.jar:2.3.1] jvm 1 | at com.bolyuba.nexus.plugin.npm.service.internal.MetadataParser$ParsingPackageRootIterator.getNext(MetadataParser.java:310) ~[na:na] jvm 1 | ... 103 common frames omitted {quote}

    Sonatype JIRA | 2 years ago | Joe Tom
    java.lang.RuntimeException: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: org.sonatype.nexus.proxy.item.FileContentLocator$DeleteOnCloseFileInputStream@47f74098; line: 1, column: 2]
  2. 0

    [NEXUS-8334] Error 500 when attempting to hit badly configured npm proxy - Sonatype JIRA

    sonatype.org | 11 months ago
    java.lang.RuntimeException: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at
  3. 0

    Swagger does not recognize .yml files as YAML

    GitHub | 2 years ago | bklang
    com.fasterxml.jackson.core.JsonParseException: Unexpected character ('-' (code 45)) in numeric value: expected digit (0-9) to follow minus sign, for valid numeric value at [Source: call_recorder/docs/call_recorder_swagger.yml; line: 1, column: 3]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception thrown when trying to retrieve list of containers

    GitHub | 2 years ago | symcssn
    com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'Detector_Id': was expecting ('true', 'false' or 'null') at [Source: org.apache.http.conn.EofSensorInputStream@47095fd3; line: 1, column: 13]
  6. 0

    Reactor test failed

    Stack Overflow | 3 years ago | Reza Kasyauqi
    com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'test': was expecting 'null', 'true', 'false' or NaN at [Source: reactor.io.Buffer$BufferInputStream@136ec72; line: 1, column: 6]
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. com.fasterxml.jackson.core.JsonParseException

    Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: org.sonatype.nexus.proxy.item.FileContentLocator$DeleteOnCloseFileInputStream@47f74098; line: 1, column: 2]

    at com.fasterxml.jackson.core.JsonParser._constructError()
  2. Jackson-core
    UTF8StreamJsonParser.nextToken
    1. com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1524)[jackson-core-2.3.1.jar:2.3.1]
    2. com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:557)[jackson-core-2.3.1.jar:2.3.1]
    3. com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:475)[jackson-core-2.3.1.jar:2.3.1]
    4. com.fasterxml.jackson.core.json.UTF8StreamJsonParser._handleUnexpectedValue(UTF8StreamJsonParser.java:2343)[jackson-core-2.3.1.jar:2.3.1]
    5. com.fasterxml.jackson.core.json.UTF8StreamJsonParser._nextTokenNotInObject(UTF8StreamJsonParser.java:818)[jackson-core-2.3.1.jar:2.3.1]
    6. com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextToken(UTF8StreamJsonParser.java:698)[jackson-core-2.3.1.jar:2.3.1]
    6 frames
  3. com.bolyuba.nexus
    DefaultNpmProxyRepository.doRetrieveLocalItem
    1. com.bolyuba.nexus.plugin.npm.service.internal.MetadataParser$ParsingPackageRootIterator.getNext(MetadataParser.java:310)[na:na]
    2. com.bolyuba.nexus.plugin.npm.service.internal.MetadataParser$ParsingPackageRootIterator.<init>(MetadataParser.java:279)[na:na]
    3. com.bolyuba.nexus.plugin.npm.service.internal.MetadataParser$ParsingPackageRootIterator.<init>(MetadataParser.java:267)[na:na]
    4. com.bolyuba.nexus.plugin.npm.service.internal.MetadataParser.parseRegistryRoot(MetadataParser.java:90)[na:na]
    5. com.bolyuba.nexus.plugin.npm.service.internal.proxy.HttpProxyMetadataTransport.fetchRegistryRoot(HttpProxyMetadataTransport.java:104)[na:na]
    6. com.bolyuba.nexus.plugin.npm.service.internal.ProxyMetadataServiceImpl.doGenerateRegistryRoot(ProxyMetadataServiceImpl.java:170)[na:na]
    7. com.bolyuba.nexus.plugin.npm.service.internal.GeneratorSupport.generateRegistryRoot(GeneratorSupport.java:98)[na:na]
    8. com.bolyuba.nexus.plugin.npm.service.internal.GeneratorSupport.produceRegistryRoot(GeneratorSupport.java:71)[na:na]
    9. com.bolyuba.nexus.plugin.npm.proxy.DefaultNpmProxyRepository.doRetrieveLocalItem(DefaultNpmProxyRepository.java:216)[na:na]
    9 frames
  4. ${project.groupId}:${project.artifactId}
    DefaultRepositoryRouter.retrieveItem
    1. org.sonatype.nexus.proxy.repository.AbstractRepository.doRetrieveItem(AbstractRepository.java:1244)[nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT]
    2. org.sonatype.nexus.proxy.repository.AbstractProxyRepository.doRetrieveItem(AbstractProxyRepository.java:992)[nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT]
    3. org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:760)[nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT]
    4. org.sonatype.nexus.proxy.repository.AbstractRepository.retrieveItem(AbstractRepository.java:592)[nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT]
    5. org.sonatype.nexus.proxy.router.DefaultRepositoryRouter.retrieveItem(DefaultRepositoryRouter.java:155)[nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT]
    5 frames
  5. org.sonatype.nexus
    ContentServlet.service
    1. org.sonatype.nexus.content.internal.ContentServlet.doGet(ContentServlet.java:376)[nexus-content-plugin-2.11.3-SNAPSHOT/:na]
    2. org.sonatype.nexus.content.internal.ContentServlet.service(ContentServlet.java:342)[nexus-content-plugin-2.11.3-SNAPSHOT/:na]
    2 frames
  6. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:848)[javax.servlet-3.0.0.v201112011016.jar:na]
    1 frame
  7. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:288)[guice-servlet-3.1.10.jar:3.1.10]
    2. com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:278)[guice-servlet-3.1.10.jar:3.1.10]
    3. com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182)[guice-servlet-3.1.10.jar:3.1.10]
    4. com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:93)[guice-servlet-3.1.10.jar:3.1.10]
    5. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85)[guice-servlet-3.1.10.jar:3.1.10]
    5 frames
  8. Shiro
    OncePerRequestFilter.doFilter
    1. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:112)[shiro-web-1.2.3.jar:1.2.3]
    1 frame
  9. Guice - Servlet
    ManagedFilterPipeline.dispatch
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[guice-servlet-3.1.10.jar:3.1.10]
    2. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)[guice-servlet-3.1.10.jar:3.1.10]
    2 frames
  10. ${project.groupId}:${project.artifactId}
    NexusGuiceFilter$MultiFilterChain.doFilter
    1. org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82)[nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT]
    1 frame
  11. Guice - Servlet
    ManagedFilterPipeline.dispatch
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)[guice-servlet-3.1.10.jar:3.1.10]
    2. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)[guice-servlet-3.1.10.jar:3.1.10]
    2 frames
  12. ${project.groupId}:${project.artifactId}
    NexusGuiceFilter$MultiFilterChain.doFilter
    1. org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82)[nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT]
    1 frame
  13. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)[guice-servlet-3.1.10.jar:3.1.10]
    1 frame
  14. Shiro
    AbstractShiroFilter.executeChain
    1. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)[shiro-web-1.2.3.jar:1.2.3]
    2. org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)[shiro-web-1.2.3.jar:1.2.3]
    3. org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)[shiro-web-1.2.3.jar:1.2.3]
    4. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[shiro-web-1.2.3.jar:1.2.3]
    5. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)[shiro-web-1.2.3.jar:1.2.3]
    6. org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)[shiro-web-1.2.3.jar:1.2.3]
    7. org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)[shiro-web-1.2.3.jar:1.2.3]
    8. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[shiro-web-1.2.3.jar:1.2.3]
    9. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)[shiro-web-1.2.3.jar:1.2.3]
    10. org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)[shiro-web-1.2.3.jar:1.2.3]
    11. org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)[shiro-web-1.2.3.jar:1.2.3]
    12. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[shiro-web-1.2.3.jar:1.2.3]
    13. org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)[shiro-web-1.2.3.jar:1.2.3]
    14. org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)[shiro-web-1.2.3.jar:1.2.3]
    14 frames
  15. ${project.groupId}:${project.artifactId}
    SecurityFilter.executeChain
    1. org.sonatype.nexus.web.internal.SecurityFilter.executeChain(SecurityFilter.java:90)[nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT]
    1 frame
  16. Shiro
    OncePerRequestFilter.doFilter
    1. org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)[shiro-web-1.2.3.jar:1.2.3]
    2. org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[shiro-core-1.2.3.jar:1.2.3]
    3. org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)[shiro-core-1.2.3.jar:1.2.3]
    4. org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)[shiro-core-1.2.3.jar:1.2.3]
    5. org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)[shiro-web-1.2.3.jar:1.2.3]
    6. org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[shiro-web-1.2.3.jar:1.2.3]
    6 frames
  17. Guice - Servlet
    ManagedFilterPipeline.dispatch
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[guice-servlet-3.1.10.jar:3.1.10]
    2. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)[guice-servlet-3.1.10.jar:3.1.10]
    2 frames
  18. ${project.groupId}:${project.artifactId}
    NexusGuiceFilter$MultiFilterChain.doFilter
    1. org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82)[nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT]
    1 frame
  19. Guice - Servlet
    ManagedFilterPipeline.dispatch
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)[guice-servlet-3.1.10.jar:3.1.10]
    2. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)[guice-servlet-3.1.10.jar:3.1.10]
    2 frames
  20. ${project.groupId}:${project.artifactId}
    NexusGuiceFilter$MultiFilterChain.doFilter
    1. org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82)[nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT]
    1 frame
  21. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)[guice-servlet-3.1.10.jar:3.1.10]
    1 frame
  22. com.sonatype.nexus
    LicensingRedirectFilter.doFilter
    1. com.sonatype.nexus.licensing.internal.LicensingRedirectFilter.doFilter(LicensingRedirectFilter.java:135)[nexus-licensing-plugin-2.11.3-SNAPSHOT/:na]
    1 frame
  23. Guice - Servlet
    ManagedFilterPipeline.dispatch
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[guice-servlet-3.1.10.jar:3.1.10]
    2. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)[guice-servlet-3.1.10.jar:3.1.10]
    2 frames
  24. ${project.groupId}:${project.artifactId}
    NexusGuiceFilter$MultiFilterChain.doFilter
    1. org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82)[nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT]
    1 frame
  25. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)[guice-servlet-3.1.10.jar:3.1.10]
    1 frame
  26. com.yammer.metrics
    WebappMetricsFilter.doFilter
    1. com.yammer.metrics.web.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:76)[metrics-web-2.2.0.jar:na]
    1 frame
  27. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[guice-servlet-3.1.10.jar:3.1.10]
    1 frame
  28. ${project.groupId}:${project.artifactId}
    CommonHeadersFilter.doFilter
    1. org.sonatype.nexus.web.internal.CommonHeadersFilter.doFilter(CommonHeadersFilter.java:69)[nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT]
    1 frame
  29. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[guice-servlet-3.1.10.jar:3.1.10]
    1 frame
  30. ${project.groupId}:${project.artifactId}
    ErrorPageFilter.doFilter
    1. org.sonatype.nexus.web.internal.ErrorPageFilter.doFilter(ErrorPageFilter.java:71)[nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT]
    1 frame
  31. Guice - Servlet
    FilterChainInvocation.doFilter
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[guice-servlet-3.1.10.jar:3.1.10]
    1 frame
  32. ${project.groupId}:${project.artifactId}
    BaseUrlHolderFilter.doFilter
    1. org.sonatype.nexus.web.internal.BaseUrlHolderFilter.doFilter(BaseUrlHolderFilter.java:66)[nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT]
    1 frame
  33. Guice - Servlet
    ManagedFilterPipeline.dispatch
    1. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:82)[guice-servlet-3.1.10.jar:3.1.10]
    2. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)[guice-servlet-3.1.10.jar:3.1.10]
    2 frames
  34. ${project.groupId}:${project.artifactId}
    NexusGuiceFilter$MultiFilterPipeline.dispatch
    1. org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterChain.doFilter(NexusGuiceFilter.java:82)[nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT]
    2. org.sonatype.nexus.web.internal.NexusGuiceFilter$MultiFilterPipeline.dispatch(NexusGuiceFilter.java:56)[nexus-core-2.11.3-SNAPSHOT.jar:2.11.3-SNAPSHOT]
    2 frames
  35. Guice - Servlet
    GuiceFilter.doFilter
    1. com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:132)[guice-servlet-3.1.10.jar:3.1.10]
    2. com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:129)[guice-servlet-3.1.10.jar:3.1.10]
    3. com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:206)[guice-servlet-3.1.10.jar:3.1.10]
    4. com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:129)[guice-servlet-3.1.10.jar:3.1.10]
    4 frames
  36. Jetty
    HandlerWrapper.handle
    1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1476)[jetty-servlet-8.1.16.v20140903.jar:8.1.16.v20140903]
    2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)[jetty-servlet-8.1.16.v20140903.jar:8.1.16.v20140903]
    3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)[jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903]
    4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)[jetty-security-8.1.16.v20140903.jar:8.1.16.v20140903]
    5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)[jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903]
    6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)[jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903]
    7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)[jetty-servlet-8.1.16.v20140903.jar:8.1.16.v20140903]
    8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)[jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903]
    9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)[jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903]
    10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903]
    11. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903]
    11 frames
  37. Metrics Jetty Support
    InstrumentedHandler.handle
    1. com.yammer.metrics.jetty.InstrumentedHandler.handle(InstrumentedHandler.java:200)[metrics-jetty-2.2.0.jar:na]
    1 frame
  38. Jetty
    AsyncHttpConnection.handle
    1. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)[jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903]
    2. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903]
    3. org.eclipse.jetty.server.Server.handle(Server.java:370)[jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903]
    4. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)[jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903]
    5. org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)[jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903]
    6. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)[jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903]
    7. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)[jetty-http-8.1.16.v20140903.jar:8.1.16.v20140903]
    8. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)[jetty-http-8.1.16.v20140903.jar:8.1.16.v20140903]
    9. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[jetty-server-8.1.16.v20140903.jar:8.1.16.v20140903]
    9 frames
  39. GWT dev
    SelectChannelEndPoint$1.run
    1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)[jetty-io-8.1.16.v20140903.jar:8.1.16.v20140903]
    2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)[jetty-io-8.1.16.v20140903.jar:8.1.16.v20140903]
    2 frames
  40. Jetty
    QueuedThreadPool$3.run
    1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[jetty-util-8.1.16.v20140903.jar:8.1.16.v20140903]
    2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[jetty-util-8.1.16.v20140903.jar:8.1.16.v20140903]
    2 frames
  41. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_40]
    1 frame