Uploaded image for project: 'Dev - Nexus'
  1. Dev - Nexus
  2. NEXUS-3758

org.json.JSONException: Nesting too deep

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.2
    • Fix Version/s: 1.8.0.1, 1.9.0
    • Component/s: REST, Search
    • Labels:
      None
    • Environment:
      SunOS 5.10 Generic_142901-03 i86pc i386 i86pc

      Description

      I'm seeing this error in wrapper.log So far no errors reported by any of our dev teams. I'm crossing my fingers.

      jvm 1 | 2010-09-06 08:42:43 ERROR - o.s.n.r.NexusApplic~ - Unhandled exception or error intercepted
      jvm 1 | com.thoughtworks.xstream.io.StreamException: : Nesting too deep.
      jvm 1 | at org.sonatype.plexus.rest.xstream.json.JsonOrgHierarchicalStreamWriter.startNode(JsonOrgHierarchicalStreamWriter.java:138)
      jvm 1 | at com.thoughtworks.xstream.io.WriterWrapper.startNode(WriterWrapper.java:33)
      jvm 1 | at com.thoughtworks.xstream.io.path.PathTrackingWriter.startNode(PathTrackingWriter.java:44)
      jvm 1 | at com.thoughtworks.xstream.io.ExtendedHierarchicalStreamWriterHelper.startNode(ExtendedHierarchicalStreamWriterHelper.java:17)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:124)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.visit(AbstractReflectionConverter.java:118)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:129)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:100)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:58)
      jvm 1 | at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
      jvm 1 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
      jvm 1 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:55)
      jvm 1 | at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:157)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:148)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.visit(AbstractReflectionConverter.java:118)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:129)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:100)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:58)
      jvm 1 | at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
      jvm 1 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
      jvm 1 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:55)
      jvm 1 | at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:157)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:148)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.visit(AbstractReflectionConverter.java:118)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:129)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:100)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:58)
      jvm 1 | at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
      jvm 1 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
      jvm 1 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:55)
      jvm 1 | at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:157)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:148)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.visit(AbstractReflectionConverter.java:118)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:129)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:100)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:58)
      jvm 1 | at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
      jvm 1 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
      jvm 1 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:55)
      jvm 1 | at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:157)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:148)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.visit(AbstractReflectionConverter.java:118)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:129)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:100)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:58)
      jvm 1 | at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
      jvm 1 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
      jvm 1 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:55)
      jvm 1 | at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:157)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:148)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.visit(AbstractReflectionConverter.java:118)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:129)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:100)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:58)
      jvm 1 | at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
      jvm 1 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
      jvm 1 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:55)
      jvm 1 | at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:157)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:148)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.visit(AbstractReflectionConverter.java:118)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:129)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:100)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:58)
      jvm 1 | at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
      jvm 1 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
      jvm 1 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:55)
      jvm 1 | at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:157)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:148)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.visit(AbstractReflectionConverter.java:118)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:129)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:100)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:58)
      jvm 1 | at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
      jvm 1 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
      jvm 1 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:55)
      jvm 1 | at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:157)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:148)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.visit(AbstractReflectionConverter.java:118)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:129)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:100)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:58)
      jvm 1 | at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
      jvm 1 | at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64)
      jvm 1 | at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:55)
      jvm 1 | at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:157)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:148)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.visit(AbstractReflectionConverter.java:118)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:129)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:100)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:58)
      jvm 1 | at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:157)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:148)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.visit(AbstractReflectionConverter.java:118)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:129)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:100)
      jvm 1 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:58)
      jvm 1 | at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:68)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63)
      jvm 1 | at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:98)
      jvm 1 | at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:38)
      jvm 1 | at com.thoughtworks.xstream.XStream.marshal(XStream.java:837)
      jvm 1 | at com.thoughtworks.xstream.XStream.marshal(XStream.java:826)
      jvm 1 | at com.thoughtworks.xstream.XStream.toXML(XStream.java:801)
      jvm 1 | at com.thoughtworks.xstream.XStream.toXML(XStream.java:789)
      jvm 1 | at org.sonatype.plexus.rest.representation.XStreamRepresentation.setPayload(XStreamRepresentation.java:76)
      jvm 1 | at org.sonatype.plexus.rest.resource.RestletResource.serialize(RestletResource.java:189)
      jvm 1 | at org.sonatype.plexus.rest.resource.RestletResource.doRepresent(RestletResource.java:259)
      jvm 1 | at org.sonatype.plexus.rest.resource.RestletResource.represent(RestletResource.java:278)
      jvm 1 | at org.sonatype.nexus.rest.NexusRestletResource.represent(NexusRestletResource.java:34)
      jvm 1 | at org.restlet.resource.Resource.getRepresentation(Resource.java:302)
      jvm 1 | at org.restlet.resource.Resource.handleGet(Resource.java:464)
      jvm 1 | at org.restlet.Finder.handle(Finder.java:353)
      jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150)
      jvm 1 | at org.restlet.Filter.handle(Filter.java:195)
      jvm 1 | at org.restlet.Router.handle(Router.java:504)
      jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150)
      jvm 1 | at org.restlet.Filter.handle(Filter.java:195)
      jvm 1 | at org.restlet.Router.handle(Router.java:504)
      jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150)
      jvm 1 | at org.restlet.Filter.handle(Filter.java:195)
      jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150)
      jvm 1 | at org.sonatype.plexus.rest.RetargetableRestlet.doHandle(RetargetableRestlet.java:39)
      jvm 1 | at org.restlet.Filter.handle(Filter.java:195)
      jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150)
      jvm 1 | at org.restlet.Filter.handle(Filter.java:195)
      jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150)
      jvm 1 | at org.restlet.Filter.handle(Filter.java:195)
      jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150)
      jvm 1 | at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130)
      jvm 1 | at org.restlet.Filter.handle(Filter.java:195)
      jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150)
      jvm 1 | at org.restlet.Filter.handle(Filter.java:195)
      jvm 1 | at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
      jvm 1 | at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112)
      jvm 1 | at org.restlet.Application.handle(Application.java:341)
      jvm 1 | at org.restlet.ext.wadl.WadlApplication.handle(WadlApplication.java:705)
      jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150)
      jvm 1 | at org.restlet.Filter.handle(Filter.java:195)
      jvm 1 | at org.restlet.Router.handle(Router.java:504)
      jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150)
      jvm 1 | at org.restlet.Filter.handle(Filter.java:195)
      jvm 1 | at org.restlet.Router.handle(Router.java:504)
      jvm 1 | at org.restlet.Filter.doHandle(Filter.java:150)
      jvm 1 | at org.restlet.Filter.handle(Filter.java:195)
      jvm 1 | at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124)
      jvm 1 | at org.restlet.Component.handle(Component.java:673)
      jvm 1 | at org.restlet.Server.handle(Server.java:331)
      jvm 1 | at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68)
      jvm 1 | at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147)
      jvm 1 | at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:881)
      jvm 1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      jvm 1 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
      jvm 1 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      jvm 1 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52)
      jvm 1 | at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105)
      jvm 1 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
      jvm 1 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
      jvm 1 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
      jvm 1 | at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105)
      jvm 1 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
      jvm 1 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
      jvm 1 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
      jvm 1 | at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382)
      jvm 1 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
      jvm 1 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)
      jvm 1 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387)
      jvm 1 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      jvm 1 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      jvm 1 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
      jvm 1 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
      jvm 1 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
      jvm 1 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      jvm 1 | at org.mortbay.jetty.Server.handle(Server.java:326)
      jvm 1 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
      jvm 1 | at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
      jvm 1 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
      jvm 1 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
      jvm 1 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
      jvm 1 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
      jvm 1 | at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
      jvm 1 | Caused by: org.json.JSONException: Nesting too deep.
      jvm 1 | at org.json.JSONWriter.push(JSONWriter.java:272)
      jvm 1 | at org.json.JSONWriter.array(JSONWriter.java:143)
      jvm 1 | at org.sonatype.plexus.rest.xstream.json.JsonOrgHierarchicalStreamWriter.startNode(JsonOrgHierarchicalStreamWriter.java:104)
      jvm 1 | ... 218 more

        Activity

        Hide
        todd Todd Merrill added a comment -

        Hi. It wasn't clear from the JAR which version of the JSON source I should look at to patch the problem locally. This problem is happening all the time now because of our internal group names. Could someone let me know which version of source code I should use and where I could download it?

        Show
        todd Todd Merrill added a comment - Hi. It wasn't clear from the JAR which version of the JSON source I should look at to patch the problem locally. This problem is happening all the time now because of our internal group names. Could someone let me know which version of source code I should use and where I could download it?
        Hide
        cstamas Tamás Cservenák added a comment -

        Hi Todd. This "nesting limitation" is made in JSON code. We use the Restlet provided sources (and they took it from http://json.org/ AFAIK).

        SVN is here: http://restlet.tigris.org/source/browse/restlet/branches/1.1/libraries/org.json_2.0/

        And the class we talk about is in that sourcetree.

        Finally, you would need to remove the org.json-2.0.jar from your Nexus lib folder and replace it with your patched one.

        If you don't mind sharing it with the world, you could attach that jar to this issue for others having same problem. Thanks!

        Show
        cstamas Tamás Cservenák added a comment - Hi Todd. This "nesting limitation" is made in JSON code. We use the Restlet provided sources (and they took it from http://json.org/ AFAIK). SVN is here: http://restlet.tigris.org/source/browse/restlet/branches/1.1/libraries/org.json_2.0/ And the class we talk about is in that sourcetree. Finally, you would need to remove the org.json-2.0.jar from your Nexus lib folder and replace it with your patched one. If you don't mind sharing it with the world, you could attach that jar to this issue for others having same problem. Thanks!
        Hide
        todd Todd Merrill added a comment -

        I didn't do a big refactor here. I just set the fixed depth to 99 instead of 20. It solved our problem locally. I'll let you know if we run into any problems with the patch.

        Show
        todd Todd Merrill added a comment - I didn't do a big refactor here. I just set the fixed depth to 99 instead of 20. It solved our problem locally. I'll let you know if we run into any problems with the patch.
        Hide
        cstamas Tamás Cservenák added a comment - - edited

        A patched json.jar, change is almost exactly same as Todd proposed (but 100 instead of 99). Until we bump, this jar will be included in newer Nexus releases.

        Show
        cstamas Tamás Cservenák added a comment - - edited A patched json.jar, change is almost exactly same as Todd proposed (but 100 instead of 99). Until we bump, this jar will be included in newer Nexus releases.
        Hide
        cstamas Tamás Cservenák added a comment -

        Fixed in trunk, backported to 1.8.0.1

        Show
        cstamas Tamás Cservenák added a comment - Fixed in trunk, backported to 1.8.0.1

          People

          • Assignee:
            velo Marvin Herman Froeder
            Reporter:
            todd Todd Merrill
            Last Updated By:
            Rich Seddon
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Date of First Response: