com.thoughtworks.xstream.converters.ConversionException: For input string: ".5" ---- Debugging information ---- message : For input string: ".5" cause-exception : java.lang.NumberFormatException cause-message : For input string: ".5" class : org.sonatype.nexus.rest.model.RoleResourceRequest required-type : java.lang.Integer path : /org.sonatype.nexus.rest.model.RoleResourceRequest/data/sessionTimeout -------------------------------

Sonatype JIRA | Kristine O'Connor | 8 years ago
  1. 0

    User => Add a new role and set the Session Timeout to be .5 => After Save, the error 500 appears. From the logs: NFO | jvm 1 | 2008/09/13 00:38:44 | 2008-09-13 00:38:44,641 ERROR [org.sonatype.nexus.rest.ApplicationBridge] - Unhandled exception or error intercepted INFO | jvm 1 | 2008/09/13 00:38:44 | com.thoughtworks.xstream.converters.ConversionException: For input string: ".5" INFO | jvm 1 | 2008/09/13 00:38:44 | ---- Debugging information ---- INFO | jvm 1 | 2008/09/13 00:38:44 | message : For input string: ".5" INFO | jvm 1 | 2008/09/13 00:38:44 | cause-exception : java.lang.NumberFormatException INFO | jvm 1 | 2008/09/13 00:38:44 | cause-message : For input string: ".5" INFO | jvm 1 | 2008/09/13 00:38:44 | class : org.sonatype.nexus.rest.model.RoleResourceRequest INFO | jvm 1 | 2008/09/13 00:38:44 | required-type : java.lang.Integer INFO | jvm 1 | 2008/09/13 00:38:44 | path : /org.sonatype.nexus.rest.model.RoleResourceRequest/data/sessionTimeout INFO | jvm 1 | 2008/09/13 00:38:44 | ------------------------------- INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:63) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.annotations.AnnotationReflectionConverter.unmarshallField(AnnotationReflectionConverter.java:66) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:188) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:125) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.annotations.AnnotationReflectionConverter.unmarshallField(AnnotationReflectionConverter.java:66) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:188) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:125) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:846) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:833) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.XStream.fromXML(XStream.java:807) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.XStream.fromXML(XStream.java:798) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.sonatype.plexus.rest.representation.XStreamRepresentation.getPayload(XStreamRepresentation.java:66) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.sonatype.nexus.rest.AbstractNexusResourceHandler.deserialize(AbstractNexusResourceHandler.java:357) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.sonatype.nexus.rest.roles.RoleListResourceHandler.post(RoleListResourceHandler.java:93) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.resource.Resource.handlePost(Resource.java:484) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.sonatype.nexus.rest.AbstractNexusResourceHandler.handlePost(AbstractNexusResourceHandler.java:395) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Finder.handle(Finder.java:297) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.sonatype.nexus.rest.RetargetableRestlet.handle(RetargetableRestlet.java:33) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:98) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Application.handle(Application.java:294) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.noelios.restlet.component.ComponentHelper.handle(ComponentHelper.java:120) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Component.handle(Component.java:231) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Server.handle(Server.java:282) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:100) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:94) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:399) INFO | jvm 1 | 2008/09/13 00:38:44 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:67) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.Server.handle(Server.java:324) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) INFO | jvm 1 | 2008/09/13 00:38:44 | Caused by: java.lang.NumberFormatException: For input string: ".5" INFO | jvm 1 | 2008/09/13 00:38:44 | at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) INFO | jvm 1 | 2008/09/13 00:38:44 | at java.lang.Long.parseLong(Long.java:403) INFO | jvm 1 | 2008/09/13 00:38:44 | at java.lang.Long.valueOf(Long.java:491) INFO | jvm 1 | 2008/09/13 00:38:44 | at java.lang.Long.decode(Long.java:634) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.converters.basic.IntConverter.fromString(IntConverter.java:16) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.converters.SingleValueConverterWrapper.fromString(SingleValueConverterWrapper.java:31) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.converters.SingleValueConverterWrapper.unmarshal(SingleValueConverterWrapper.java:39) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56) INFO | jvm 1 | 2008/09/13 00:38:44 | ... 90 more

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    com.thoughtworks.xstream.converters.ConversionException: For input string: ".5" ---- Debugging information ---- message : For input string: ".5" cause-exception : java.lang.NumberFormatException cause-message : For input string: ".5" class : org.sonatype.nexus.rest.model.RoleResourceRequest required-type : java.lang.Integer path : /org.sonatype.nexus.rest.model.RoleResourceRequest/data/sessionTimeout -------------------------------
  2. 0

    User => Add a new role and set the Session Timeout to be .5 => After Save, the error 500 appears. From the logs: NFO | jvm 1 | 2008/09/13 00:38:44 | 2008-09-13 00:38:44,641 ERROR [org.sonatype.nexus.rest.ApplicationBridge] - Unhandled exception or error intercepted INFO | jvm 1 | 2008/09/13 00:38:44 | com.thoughtworks.xstream.converters.ConversionException: For input string: ".5" INFO | jvm 1 | 2008/09/13 00:38:44 | ---- Debugging information ---- INFO | jvm 1 | 2008/09/13 00:38:44 | message : For input string: ".5" INFO | jvm 1 | 2008/09/13 00:38:44 | cause-exception : java.lang.NumberFormatException INFO | jvm 1 | 2008/09/13 00:38:44 | cause-message : For input string: ".5" INFO | jvm 1 | 2008/09/13 00:38:44 | class : org.sonatype.nexus.rest.model.RoleResourceRequest INFO | jvm 1 | 2008/09/13 00:38:44 | required-type : java.lang.Integer INFO | jvm 1 | 2008/09/13 00:38:44 | path : /org.sonatype.nexus.rest.model.RoleResourceRequest/data/sessionTimeout INFO | jvm 1 | 2008/09/13 00:38:44 | ------------------------------- INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:63) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.annotations.AnnotationReflectionConverter.unmarshallField(AnnotationReflectionConverter.java:66) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:188) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:125) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.annotations.AnnotationReflectionConverter.unmarshallField(AnnotationReflectionConverter.java:66) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:188) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:125) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:846) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:833) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.XStream.fromXML(XStream.java:807) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.XStream.fromXML(XStream.java:798) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.sonatype.plexus.rest.representation.XStreamRepresentation.getPayload(XStreamRepresentation.java:66) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.sonatype.nexus.rest.AbstractNexusResourceHandler.deserialize(AbstractNexusResourceHandler.java:357) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.sonatype.nexus.rest.roles.RoleListResourceHandler.post(RoleListResourceHandler.java:93) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.resource.Resource.handlePost(Resource.java:484) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.sonatype.nexus.rest.AbstractNexusResourceHandler.handlePost(AbstractNexusResourceHandler.java:395) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Finder.handle(Finder.java:297) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.sonatype.nexus.rest.RetargetableRestlet.handle(RetargetableRestlet.java:33) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:98) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Application.handle(Application.java:294) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Router.handle(Router.java:445) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.doHandle(Filter.java:105) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Filter.handle(Filter.java:135) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.noelios.restlet.component.ComponentHelper.handle(ComponentHelper.java:120) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Component.handle(Component.java:231) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.restlet.Server.handle(Server.java:282) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:100) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:94) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:399) INFO | jvm 1 | 2008/09/13 00:38:44 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:67) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.Server.handle(Server.java:324) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) INFO | jvm 1 | 2008/09/13 00:38:44 | at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) INFO | jvm 1 | 2008/09/13 00:38:44 | Caused by: java.lang.NumberFormatException: For input string: ".5" INFO | jvm 1 | 2008/09/13 00:38:44 | at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) INFO | jvm 1 | 2008/09/13 00:38:44 | at java.lang.Long.parseLong(Long.java:403) INFO | jvm 1 | 2008/09/13 00:38:44 | at java.lang.Long.valueOf(Long.java:491) INFO | jvm 1 | 2008/09/13 00:38:44 | at java.lang.Long.decode(Long.java:634) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.converters.basic.IntConverter.fromString(IntConverter.java:16) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.converters.SingleValueConverterWrapper.fromString(SingleValueConverterWrapper.java:31) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.converters.SingleValueConverterWrapper.unmarshal(SingleValueConverterWrapper.java:39) INFO | jvm 1 | 2008/09/13 00:38:44 | at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56) INFO | jvm 1 | 2008/09/13 00:38:44 | ... 90 more

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    com.thoughtworks.xstream.converters.ConversionException: For input string: ".5" ---- Debugging information ---- message : For input string: ".5" cause-exception : java.lang.NumberFormatException cause-message : For input string: ".5" class : org.sonatype.nexus.rest.model.RoleResourceRequest required-type : java.lang.Integer path : /org.sonatype.nexus.rest.model.RoleResourceRequest/data/sessionTimeout -------------------------------
  3. 0

    Create a new role and enter in a session timeout value of .5 => Enter all other required information and save => The following error appears: For input string: ".5" : For input string: ".5" ---- Debugging information ---- message : For input string: ".5" cause-exception : java.lang.NumberFormatException cause-message : For input string: ".5" class : org.sonatype.nexus.rest.model.RoleResourceRequest required-type : java.lang.Integer path : /org.sonatype.nexus.rest.model.RoleResourceRequest/data/sessionTimeout ------------------------------- Nexus returned an error: ERROR 500: OK From the log file: 2008-11-17 23:18:37.500 ERROR [btpool0-35:] - org.sonatype.nexus.rest.NexusApplication: Unhandled exception or error intercepted com.thoughtworks.xstream.converters.ConversionException: For input string: ".5" : For input string: ".5" ---- Debugging information ---- message : For input string: ".5" cause-exception : java.lang.NumberFormatException cause-message : For input string: ".5" class : org.sonatype.nexus.rest.model.RoleResourceRequest required-type : java.lang.Integer path : /org.sonatype.nexus.rest.model.RoleResourceRequest/data/sessionTimeout ------------------------------- at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:88) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:234) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:206) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:150) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:234) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:206) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:150) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:59) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:142) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:931) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:917) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:889) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:879) at org.sonatype.plexus.rest.representation.XStreamRepresentation.getPayload(XStreamRepresentation.java:65) at org.sonatype.plexus.rest.resource.RestletResource.deserialize(RestletResource.java:196) at org.sonatype.plexus.rest.resource.RestletResource.storeRepresentation(RestletResource.java:288) at org.restlet.resource.Resource.put(Resource.java:704) at org.restlet.resource.Resource.handlePut(Resource.java:601) at org.restlet.Finder.handle(Finder.java:357) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:502) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:502) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.sonatype.plexus.rest.RetargetableRestlet.handle(RetargetableRestlet.java:33) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) at org.restlet.Application.handle(Application.java:342) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:502) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:502) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at org.restlet.Component.handle(Component.java:672) at org.restlet.Server.handle(Server.java:331) at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:877) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) at org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:63) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) Caused by: java.lang.NumberFormatException: For input string: ".5" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Long.parseLong(Unknown Source) at java.lang.Long.valueOf(Unknown Source) at java.lang.Long.decode(Unknown Source) at com.thoughtworks.xstream.converters.basic.IntConverter.fromString(IntConverter.java:27) at com.thoughtworks.xstream.converters.SingleValueConverterWrapper.fromString(SingleValueConverterWrapper.java:41) at com.thoughtworks.xstream.converters.SingleValueConverterWrapper.unmarshal(SingleValueConverterWrapper.java:49) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81) ... 96 more

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    com.thoughtworks.xstream.converters.ConversionException: For input string: ".5" : For input string: ".5" ---- Debugging information ---- message : For input string: ".5" cause-exception : java.lang.NumberFormatException cause-message : For input string: ".5" class : org.sonatype.nexus.rest.model.RoleResourceRequest required-type : java.lang.Integer path : /org.sonatype.nexus.rest.model.RoleResourceRequest/data/sessionTimeout -------------------------------
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Create a new role and enter in a session timeout value of .5 => Enter all other required information and save => The following error appears: For input string: ".5" : For input string: ".5" ---- Debugging information ---- message : For input string: ".5" cause-exception : java.lang.NumberFormatException cause-message : For input string: ".5" class : org.sonatype.nexus.rest.model.RoleResourceRequest required-type : java.lang.Integer path : /org.sonatype.nexus.rest.model.RoleResourceRequest/data/sessionTimeout ------------------------------- Nexus returned an error: ERROR 500: OK From the log file: 2008-11-17 23:18:37.500 ERROR [btpool0-35:] - org.sonatype.nexus.rest.NexusApplication: Unhandled exception or error intercepted com.thoughtworks.xstream.converters.ConversionException: For input string: ".5" : For input string: ".5" ---- Debugging information ---- message : For input string: ".5" cause-exception : java.lang.NumberFormatException cause-message : For input string: ".5" class : org.sonatype.nexus.rest.model.RoleResourceRequest required-type : java.lang.Integer path : /org.sonatype.nexus.rest.model.RoleResourceRequest/data/sessionTimeout ------------------------------- at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:88) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:234) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:206) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:150) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:234) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:206) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:150) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:55) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:75) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:59) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:142) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:931) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:917) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:889) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:879) at org.sonatype.plexus.rest.representation.XStreamRepresentation.getPayload(XStreamRepresentation.java:65) at org.sonatype.plexus.rest.resource.RestletResource.deserialize(RestletResource.java:196) at org.sonatype.plexus.rest.resource.RestletResource.storeRepresentation(RestletResource.java:288) at org.restlet.resource.Resource.put(Resource.java:704) at org.restlet.resource.Resource.handlePut(Resource.java:601) at org.restlet.Finder.handle(Finder.java:357) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:502) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:502) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.sonatype.plexus.rest.RetargetableRestlet.handle(RetargetableRestlet.java:33) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112) at org.restlet.Application.handle(Application.java:342) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:502) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at org.restlet.Router.handle(Router.java:502) at org.restlet.Filter.doHandle(Filter.java:150) at org.restlet.Filter.handle(Filter.java:195) at com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at org.restlet.Component.handle(Component.java:672) at org.restlet.Server.handle(Server.java:331) at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147) at com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:877) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105) at org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57) at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382) at org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:63) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) Caused by: java.lang.NumberFormatException: For input string: ".5" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Long.parseLong(Unknown Source) at java.lang.Long.valueOf(Unknown Source) at java.lang.Long.decode(Unknown Source) at com.thoughtworks.xstream.converters.basic.IntConverter.fromString(IntConverter.java:27) at com.thoughtworks.xstream.converters.SingleValueConverterWrapper.fromString(SingleValueConverterWrapper.java:41) at com.thoughtworks.xstream.converters.SingleValueConverterWrapper.unmarshal(SingleValueConverterWrapper.java:49) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:81) ... 96 more

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    com.thoughtworks.xstream.converters.ConversionException: For input string: ".5" : For input string: ".5" ---- Debugging information ---- message : For input string: ".5" cause-exception : java.lang.NumberFormatException cause-message : For input string: ".5" class : org.sonatype.nexus.rest.model.RoleResourceRequest required-type : java.lang.Integer path : /org.sonatype.nexus.rest.model.RoleResourceRequest/data/sessionTimeout -------------------------------
  6. 0

    关于demo测试的help?

    GitHub | 2 years ago | smalljason
    com.thoughtworks.xstream.converters.ConversionException: For input string: "可以不填写" : For input string: "可以不填写" ---- Debugging information ---- message : For input string: "可以不填写" cause-exception : java.lang.NumberFormatException cause-message : For input string: "可以不填写" class : java.lang.Long required-type : java.lang.Long converter-type : com.thoughtworks.xstream.converters.SingleValueConverterWrapper wrapped-converter : com.thoughtworks.xstream.converters.basic.LongConverter line number : 7 class[1] : me.chanjar.weixin.mp.demo.WxMpDemoInMemoryConfigStorage converter-type[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter version : 1.4.7 -------------------------------

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

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NumberFormatException

      For input string: ".5"

      at java.lang.NumberFormatException.forInputString()
    2. Java RT
      Long.decode
      1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
      2. java.lang.Long.parseLong(Long.java:403)
      3. java.lang.Long.valueOf(Long.java:491)
      4. java.lang.Long.decode(Long.java:634)
      4 frames
    3. XStream Core
      XStream.fromXML
      1. com.thoughtworks.xstream.converters.basic.IntConverter.fromString(IntConverter.java:16)
      2. com.thoughtworks.xstream.converters.SingleValueConverterWrapper.fromString(SingleValueConverterWrapper.java:31)
      3. com.thoughtworks.xstream.converters.SingleValueConverterWrapper.unmarshal(SingleValueConverterWrapper.java:39)
      4. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
      5. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
      6. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
      7. com.thoughtworks.xstream.annotations.AnnotationReflectionConverter.unmarshallField(AnnotationReflectionConverter.java:66)
      8. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:188)
      9. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:125)
      10. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
      11. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
      12. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
      13. com.thoughtworks.xstream.annotations.AnnotationReflectionConverter.unmarshallField(AnnotationReflectionConverter.java:66)
      14. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:188)
      15. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:125)
      16. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
      17. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
      18. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
      19. com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)
      20. com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)
      21. com.thoughtworks.xstream.XStream.unmarshal(XStream.java:846)
      22. com.thoughtworks.xstream.XStream.unmarshal(XStream.java:833)
      23. com.thoughtworks.xstream.XStream.fromXML(XStream.java:807)
      24. com.thoughtworks.xstream.XStream.fromXML(XStream.java:798)
      24 frames
    4. ${project.groupId}:${project.artifactId}
      XStreamRepresentation.getPayload
      1. org.sonatype.plexus.rest.representation.XStreamRepresentation.getPayload(XStreamRepresentation.java:66)
      1 frame
    5. Nexus Core
      AbstractNexusResourceHandler.deserialize
      1. org.sonatype.nexus.rest.AbstractNexusResourceHandler.deserialize(AbstractNexusResourceHandler.java:357)
      1 frame
    6. org.sonatype.nexus
      RoleListResourceHandler.post
      1. org.sonatype.nexus.rest.roles.RoleListResourceHandler.post(RoleListResourceHandler.java:93)
      1 frame
    7. org.restlet.resource
      Resource.handlePost
      1. org.restlet.resource.Resource.handlePost(Resource.java:484)
      1 frame
    8. Nexus Core
      AbstractNexusResourceHandler.handlePost
      1. org.sonatype.nexus.rest.AbstractNexusResourceHandler.handlePost(AbstractNexusResourceHandler.java:395)
      1 frame
    9. org.restlet
      Router.handle
      1. org.restlet.Finder.handle(Finder.java:297)
      2. org.restlet.Filter.doHandle(Filter.java:105)
      3. org.restlet.Filter.handle(Filter.java:135)
      4. org.restlet.Router.handle(Router.java:445)
      5. org.restlet.Filter.doHandle(Filter.java:105)
      6. org.restlet.Filter.handle(Filter.java:135)
      7. org.restlet.Filter.doHandle(Filter.java:105)
      8. org.restlet.Filter.handle(Filter.java:135)
      9. org.restlet.Router.handle(Router.java:445)
      9 frames
    10. Nexus Core
      RetargetableRestlet.handle
      1. org.sonatype.nexus.rest.RetargetableRestlet.handle(RetargetableRestlet.java:33)
      1 frame
    11. org.restlet
      Filter.doHandle
      1. org.restlet.Filter.doHandle(Filter.java:105)
      2. org.restlet.Filter.handle(Filter.java:135)
      3. org.restlet.Filter.doHandle(Filter.java:105)
      3 frames
    12. com.noelios.restlet
      StatusFilter.doHandle
      1. com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:89)
      1 frame
    13. org.restlet
      Filter.handle
      1. org.restlet.Filter.handle(Filter.java:135)
      2. org.restlet.Filter.doHandle(Filter.java:105)
      3. org.restlet.Filter.handle(Filter.java:135)
      3 frames
    14. com.noelios.restlet
      ApplicationHelper.handle
      1. com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:98)
      1 frame
    15. org.restlet
      Filter.handle
      1. org.restlet.Application.handle(Application.java:294)
      2. org.restlet.Filter.doHandle(Filter.java:105)
      3. org.restlet.Filter.handle(Filter.java:135)
      4. org.restlet.Router.handle(Router.java:445)
      5. org.restlet.Filter.doHandle(Filter.java:105)
      6. org.restlet.Filter.handle(Filter.java:135)
      7. org.restlet.Router.handle(Router.java:445)
      8. org.restlet.Filter.doHandle(Filter.java:105)
      9. org.restlet.Filter.handle(Filter.java:135)
      9 frames
    16. com.noelios.restlet
      ComponentHelper.handle
      1. com.noelios.restlet.component.ComponentHelper.handle(ComponentHelper.java:120)
      1 frame
    17. org.restlet
      Server.handle
      1. org.restlet.Component.handle(Component.java:231)
      2. org.restlet.Server.handle(Server.java:282)
      2 frames
    18. com.noelios.restlet
      ServerServlet.service
      1. com.noelios.restlet.ServerHelper.handle(ServerHelper.java:100)
      2. com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:94)
      3. com.noelios.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:399)
      3 frames
    19. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    20. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
      2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
      2 frames
    21. org.jsecurity.web
      JSecurityFilter.doFilterInternal
      1. org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:52)
      2. org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105)
      3. org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
      4. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
      5. org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
      6. org.jsecurity.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:105)
      7. org.jsecurity.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:135)
      8. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
      9. org.jsecurity.web.servlet.FilterChainWrapper.doFilter(FilterChainWrapper.java:57)
      10. org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382)
      10 frames
    22. Nexus Core
      NexusJSecurityFilter.doFilterInternal
      1. org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:67)
      1 frame
    23. org.jsecurity.web
      OncePerRequestFilter.doFilter
      1. org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
      1 frame
    24. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
      8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      10. org.mortbay.jetty.Server.handle(Server.java:324)
      11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      12. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
      13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
      14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
      15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      16 frames
    25. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
      1 frame