java.lang.RuntimeException

Failed to read object from stream.

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web595

  • via Unknown by Guillaume Polet,
  • via Unknown by Guillaume Polet,
  • Stack trace

    • java.lang.RuntimeException: Failed to read object from stream. at org.artifactory.jaxb.JaxbHelper.read(JaxbHelper.java:113)[artifactory-config-2.3.3.1.jar:na] at org.artifactory.jaxb.JaxbHelper.readConfig(JaxbHelper.java:56)[artifactory-config-2.3.3.1.jar:na] at org.artifactory.descriptor.reader.CentralConfigReader.read(CentralConfigReader.java:60)[artifactory-config-2.3.3.1.jar:na] at org.artifactory.config.CentralConfigServiceImpl.saveEditedDescriptorAndReload(CentralConfigServiceImpl.java:198)[artifactory-core-2.3.3.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_24] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_24] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_24] at java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_24] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)[spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)[spring-aop-3.0.5.RELEASE.jar:3.0.5.RELEASE] at $Proxy25.saveEditedDescriptorAndReload(Unknown Source)[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_24] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_24] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_24] at java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_24] at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416)[wicket-ioc-1.4.10.jar:1.4.10] at org.apache.wicket.proxy.$Proxy84.saveEditedDescriptorAndReload(Unknown Source)[na:1.4.10] at org.artifactory.webapp.wicket.page.config.repos.CachingDescriptorHelper.saveDescriptor(CachingDescriptorHelper.java:101)[artifactory-web-application-2.3.3.1.jar:na] at org.artifactory.webapp.wicket.page.config.repos.CachingDescriptorHelper.syncAndSaveVirtualRepositories(CachingDescriptorHelper.java:90)[artifactory-web-application-2.3.3.1.jar:na] at org.artifactory.webapp.wicket.page.config.repos.virtual.VirtualRepoPanel.addAndSaveDescriptor(VirtualRepoPanel.java:81)[artifactory-web-application-2.3.3.1.jar:na] at org.artifactory.webapp.wicket.page.config.repos.virtual.VirtualRepoPanel.addAndSaveDescriptor(VirtualRepoPanel.java:40)[artifactory-web-application-2.3.3.1.jar:na] at org.artifactory.webapp.wicket.page.config.repos.RepoConfigCreateUpdatePanel$2.onSubmit(RepoConfigCreateUpdatePanel.java:152)[artifactory-web-application-2.3.3.1.jar:na] at org.artifactory.common.wicket.component.links.TitledAjaxSubmitLink$1.onSubmit(TitledAjaxSubmitLink.java:60)[artifactory-web-common-2.3.3.1.jar:na] at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:143)[wicket-1.4.10.jar:1.4.10] at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)[wicket-1.4.10.jar:1.4.10] at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:286)[wicket-1.4.10.jar:1.4.10] at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119)[wicket-1.4.10.jar:1.4.10] at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)[wicket-1.4.10.jar:1.4.10] at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)[wicket-1.4.10.jar:1.4.10] at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)[wicket-1.4.10.jar:1.4.10] at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)[wicket-1.4.10.jar:1.4.10] at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)[wicket-1.4.10.jar:1.4.10] at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479)[wicket-1.4.10.jar:1.4.10] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312)[wicket-1.4.10.jar:1.4.10] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)[catalina.jar:6.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)[catalina.jar:6.0.32] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:139)[artifactory-web-application-2.3.3.1.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:82)[artifactory-web-application-2.3.3.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)[catalina.jar:6.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)[catalina.jar:6.0.32] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:245)[artifactory-web-application-2.3.3.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:154)[artifactory-web-application-2.3.3.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:116)[artifactory-web-application-2.3.3.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)[catalina.jar:6.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)[catalina.jar:6.0.32] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:54)[artifactory-web-application-2.3.3.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)[catalina.jar:6.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)[catalina.jar:6.0.32] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:66)[artifactory-web-application-2.3.3.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)[catalina.jar:6.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)[catalina.jar:6.0.32] at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)[catalina.jar:6.0.32] at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)[catalina.jar:6.0.32] at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)[catalina.jar:6.0.32] at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)[catalina.jar:6.0.32] at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)[catalina.jar:6.0.32] at org.apache.catalina.connector.CoyoteAdapter.service(Unknown Source)[catalina.jar:6.0.32] at org.apache.jk.server.JkCoyoteHandler.invoke(Unknown Source)[tomcat-coyote.jar:6.0.32] at org.apache.jk.common.HandlerRequest.invoke(Unknown Source)[tomcat-coyote.jar:6.0.32] at org.apache.jk.common.ChannelSocket.invoke(Unknown Source)[tomcat-coyote.jar:6.0.32] at org.apache.jk.common.ChannelSocket.processConnection(Unknown Source)[tomcat-coyote.jar:6.0.32] at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(Unknown Source)[tomcat-coyote.jar:6.0.32] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)[tomcat-coyote.jar:6.0.32] at java.lang.Thread.run(Thread.java:662)[na:1.6.0_24] Caused by: java.util.MissingResourceException: Can't find bundle for base name com.sun.org.apache.xerces.internal.impl.msg.XMLSchemaMessages, locale en_GB at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427)[na:1.6.0_24] at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)[na:1.6.0_24] at java.util.ResourceBundle.getBundle(ResourceBundle.java:705)[na:1.6.0_24] at com.sun.org.apache.xerces.internal.impl.xs.XSMessageFormatter.formatMessage(XSMessageFormatter.java:71)[na:1.6.0_24] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:346)[na:1.6.0_24] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:318)[na:1.6.0_24] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:417)[na:1.6.0_24] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.storeLocations(XMLSchemaValidator.java:2359)[na:1.6.0_24] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1770)[na:1.6.0_24] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:705)[na:1.6.0_24] at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl.startElement(ValidatorHandlerImpl.java:550)[na:1.6.0_24] at com.sun.xml.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.startElement(ValidatingUnmarshaller.java:96)[jaxb-impl-2.2.1.1.jar:2.2.2] at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:148)[jaxb-impl-2.2.1.1.jar:2.2.2] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)[na:1.6.0_24] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)[na:1.6.0_24] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)[na:1.6.0_24] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)[na:1.6.0_24] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)[na:1.6.0_24] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)[na:1.6.0_24] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)[na:1.6.0_24] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)[na:1.6.0_24] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)[na:1.6.0_24] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)[na:1.6.0_24] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)[na:1.6.0_24] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)[na:1.6.0_24] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)[na:1.6.0_24] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:211)[jaxb-impl-2.2.1.1.jar:2.2.2] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:184)[jaxb-impl-2.2.1.1.jar:2.2.2] at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)[na:1.6.0_24] at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:184)[na:1.6.0_24] at org.artifactory.jaxb.JaxbHelper.read(JaxbHelper.java:111)[artifactory-config-2.3.3.1.jar:na] ... 63 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    AxeloAxelo
    2 times, last one
    linxiaolonglinxiaolong
    3 times, last one
    MoYaproMoYapro
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    24 more bugmates