java.lang.reflect.InvocationTargetException: null

JFrog JIRA | Costin Caraivan | 7 years ago
  1. 0

    Hello, We upgraded an Artifactory 2.0.7 to 2.1.2 and here is how Artifactory edits the config file: <proxies> <proxy> <key></key> <host></host> <port></port> <defaultProxy>true</defaultProxy> !!! <defaultProxy>true</defaultProxy><defaultProxy>true</defaultProxy><defaultProxy>true</defaultProxy> !!!</proxy> </proxies> One thing I don't get - I even removed the proxy section from the artifactory.config.xml file, I deleted the .startup.xml, and it *still* adds it in the newly created .startup.xml (and wrongly, too). Where it the proxy configuration held? In Derby/JCR? :( This is the stacktrace: 2009-12-09 08:59:29,864 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context java.lang.reflect.InvocationTargetException: null at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.5.0_11] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.5.0_11] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.5.0_11] at java.lang.reflect.Constructor.newInstance(Constructor.java:494) [na:1.5.0_11] at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na] at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) [catalina.jar:na] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350) [catalina.jar:na] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) [catalina.jar:na] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) [catalina.jar:na] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) [catalina.jar:na] at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626) [catalina.jar:na] at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553) [catalina.jar:na] at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488) [catalina.jar:na] at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147) [catalina.jar:na] at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) [catalina.jar:na] at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) [catalina.jar:na] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) [catalina.jar:na] at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) [catalina.jar:na] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [catalina.jar:na] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) [catalina.jar:na] at org.apache.catalina.core.StandardService.start(StandardService.java:516) [catalina.jar:na] at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) [catalina.jar:na] at org.apache.catalina.startup.Catalina.start(Catalina.java:578) [catalina.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0_11] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.5.0_11] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.5.0_11] at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_11] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) [bootstrap.jar:na] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) [bootstrap.jar:na] Caused by: java.lang.RuntimeException: Failed to read object from stream. at org.artifactory.jaxb.JaxbHelper.read(JaxbHelper.java:173) [artifactory-config-2.1.2.jar:na] at org.artifactory.jaxb.JaxbHelper.readConfig(JaxbHelper.java:67) [artifactory-config-2.1.2.jar:na] at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [artifactory-core-2.1.2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0_11] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.5.0_11] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.5.0_11] at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_11] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6] at $Proxy14.init(Unknown Source) [na:na] at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na] at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na] ... 30 common frames omitted Caused by: javax.xml.bind.UnmarshalException: null at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:315) [jaxb-api-2.2.jar:na] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:514) [jaxb-impl-2.1.10.jar:2.1.10] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:215) [jaxb-impl-2.1.10.jar:2.1.10] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:184) [jaxb-impl-2.1.10.jar:2.1.10] at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137) [jaxb-api-2.2.jar:na] at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:184) [jaxb-api-2.2.jar:na] at org.artifactory.jaxb.JaxbHelper.read(JaxbHelper.java:171) [artifactory-config-2.1.2.jar:na] ... 47 common frames omitted Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.d: Invalid content was found starting with element 'defaultProxy'. No child element is expected at this point. at com.sun.org.apache.xerces.internal.jaxp.validation.Util.toSAXParseException(Util.java:109) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.jaxp.validation.ErrorHandlerAdaptor.error(ErrorHandlerAdaptor.java:104) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:429) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3185) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1835) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:705) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl.startElement(ValidatorHandlerImpl.java:335) [na:1.5.0_11] at com.sun.xml.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.startElement(ValidatingUnmarshaller.java:89) [jaxb-impl-2.1.10.jar:2.1.10] at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:148) [jaxb-impl-2.1.10.jar:2.1.10] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:330) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242) [na:1.5.0_11] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:211) [jaxb-impl-2.1.10.jar:2.1.10] ... 51 common frames omitted Dec 9, 2009 8:59:29 AM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart

    JFrog JIRA | 7 years ago | Costin Caraivan
    java.lang.reflect.InvocationTargetException: null
  2. 0

    Hello, We upgraded an Artifactory 2.0.7 to 2.1.2 and here is how Artifactory edits the config file: <proxies> <proxy> <key></key> <host></host> <port></port> <defaultProxy>true</defaultProxy> !!! <defaultProxy>true</defaultProxy><defaultProxy>true</defaultProxy><defaultProxy>true</defaultProxy> !!!</proxy> </proxies> One thing I don't get - I even removed the proxy section from the artifactory.config.xml file, I deleted the .startup.xml, and it *still* adds it in the newly created .startup.xml (and wrongly, too). Where it the proxy configuration held? In Derby/JCR? :( This is the stacktrace: 2009-12-09 08:59:29,864 [main] [ERROR] (o.a.w.s.ArtifactoryContextConfigListener:113) - Error creating spring context java.lang.reflect.InvocationTargetException: null at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.5.0_11] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [na:1.5.0_11] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.5.0_11] at java.lang.reflect.Constructor.newInstance(Constructor.java:494) [na:1.5.0_11] at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108) [artifactory-web-application-2.1.2.jar:na] at org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57) [artifactory-web-application-2.1.2.jar:na] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) [catalina.jar:na] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350) [catalina.jar:na] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) [catalina.jar:na] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) [catalina.jar:na] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) [catalina.jar:na] at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626) [catalina.jar:na] at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553) [catalina.jar:na] at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488) [catalina.jar:na] at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147) [catalina.jar:na] at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) [catalina.jar:na] at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) [catalina.jar:na] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) [catalina.jar:na] at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) [catalina.jar:na] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) [catalina.jar:na] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) [catalina.jar:na] at org.apache.catalina.core.StandardService.start(StandardService.java:516) [catalina.jar:na] at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) [catalina.jar:na] at org.apache.catalina.startup.Catalina.start(Catalina.java:578) [catalina.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0_11] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.5.0_11] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.5.0_11] at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_11] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) [bootstrap.jar:na] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) [bootstrap.jar:na] Caused by: java.lang.RuntimeException: Failed to read object from stream. at org.artifactory.jaxb.JaxbHelper.read(JaxbHelper.java:173) [artifactory-config-2.1.2.jar:na] at org.artifactory.jaxb.JaxbHelper.readConfig(JaxbHelper.java:67) [artifactory-config-2.1.2.jar:na] at org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111) [artifactory-core-2.1.2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.5.0_11] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.5.0_11] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.5.0_11] at java.lang.reflect.Method.invoke(Method.java:585) [na:1.5.0_11] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6] at $Proxy14.init(Unknown Source) [na:na] at org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217) [artifactory-core-2.1.2.jar:na] at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97) [artifactory-core-2.1.2.jar:na] ... 30 common frames omitted Caused by: javax.xml.bind.UnmarshalException: null at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:315) [jaxb-api-2.2.jar:na] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:514) [jaxb-impl-2.1.10.jar:2.1.10] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:215) [jaxb-impl-2.1.10.jar:2.1.10] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:184) [jaxb-impl-2.1.10.jar:2.1.10] at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137) [jaxb-api-2.2.jar:na] at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:184) [jaxb-api-2.2.jar:na] at org.artifactory.jaxb.JaxbHelper.read(JaxbHelper.java:171) [artifactory-config-2.1.2.jar:na] ... 47 common frames omitted Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.d: Invalid content was found starting with element 'defaultProxy'. No child element is expected at this point. at com.sun.org.apache.xerces.internal.jaxp.validation.Util.toSAXParseException(Util.java:109) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.jaxp.validation.ErrorHandlerAdaptor.error(ErrorHandlerAdaptor.java:104) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:429) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3185) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1835) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:705) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl.startElement(ValidatorHandlerImpl.java:335) [na:1.5.0_11] at com.sun.xml.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.startElement(ValidatingUnmarshaller.java:89) [jaxb-impl-2.1.10.jar:2.1.10] at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:148) [jaxb-impl-2.1.10.jar:2.1.10] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:330) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148) [na:1.5.0_11] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242) [na:1.5.0_11] at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:211) [jaxb-impl-2.1.10.jar:2.1.10] ... 51 common frames omitted Dec 9, 2009 8:59:29 AM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart

    JFrog JIRA | 7 years ago | Costin Caraivan
    java.lang.reflect.InvocationTargetException: null
  3. 0

    Spring Batch & Jaxb2Marshaller

    Stack Overflow | 6 years ago | freecouch
    org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'Account'.]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I'm unable to deplay artifactory on Glassfish v2UR2. Bug RTFACT-292 states that this has to do with a JAXB version issue and that is fix on 1.3.0-beta2 but i still get the same error. [#|2008-09-03T20:09:48.420+0100|SEVERE|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=18;_ThreadName=Thread-52;_RequestID=c3aac2d3-3cd5-42c2-aefd-f80fccfc2a1b;|WebModule[/artifactory]PWC1275: Exception sending context initialized event to listener instance of class org.artifactory.webapp.servlet.ArtifactoryContextConfigurer org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'centralConfig' defined in class path resource [META-INF/spring/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: java.lang.RuntimeException: Failed to read object from stream. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1336) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83) at org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:51) at org.artifactory.webapp.servlet.ArtifactoryContextConfigurer.contextInitialized(ArtifactoryContextConfigurer.java:44) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4523) at org.apache.catalina.core.StandardContext.start(StandardContext.java:5184) at com.sun.enterprise.web.WebModule.start(WebModule.java:326) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:973) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:957) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:688) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1584) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1222) at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:182) at com.sun.enterprise.server.WebModuleDeployEventListener.moduleDeployed(WebModuleDeployEventListener.java:278) at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeModuleDeployEventListener(AdminEventMulticaster.java:974) at com.sun.enterprise.admin.event.AdminEventMulticaster.handleModuleDeployEvent(AdminEventMulticaster.java:961) at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:464) at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:176) at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:308) at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:226) at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:298) at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:132) at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108) at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919) at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:591) at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:635) at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:744) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:375) at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:358) at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:464) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761) at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:90) at $Proxy1.invoke(Unknown Source) at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304) at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174) at com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplication(DeploymentClientUtils.java:145) at com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:537) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Failed to read object from stream. at org.artifactory.config.CentralConfigFactoryBean.afterPropertiesSet(CentralConfigFactoryBean.java:94) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1367) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1333) ... 58 more Caused by: java.lang.RuntimeException: Failed to read object from stream. at org.artifactory.config.jaxb.JaxbHelper.read(JaxbHelper.java:101) at org.artifactory.config.CentralConfigFactoryBean.afterPropertiesSet(CentralConfigFactoryBean.java:79) ... 60 more Caused by: javax.xml.bind.UnmarshalException - with linked exception: [org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'config'.] at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:315) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:506) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:215) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:184) at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137) at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:184) at org.artifactory.config.jaxb.JaxbHelper.read(JaxbHelper.java:89) ... 61 more Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'config'. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:131) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:384) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:318) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1887) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:685) at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl.startElement(ValidatorHandlerImpl.java:549) at com.sun.xml.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.startElement(ValidatingUnmarshaller.java:89) at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:137) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3084) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:912) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522) at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:211) ... 65 more |#]

    JFrog JIRA | 8 years ago | Paulo Tra??a
    org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'config'.]
  6. 0

    JDBC RA , org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'resource-adaptor-id' is not allowed to appear in element 'ra-entity'.

    Google Groups | 6 years ago | laurent
    org.xml.sax.SAXParseException: cvc-complex-type.4: Attribute 'entity-name' must appear on element 'ra-entity'.

    1 unregistered visitors
    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. org.xml.sax.SAXParseException

      cvc-complex-type.2.4.d: Invalid content was found starting with element 'defaultProxy'. No child element is expected at this point.

      at com.sun.org.apache.xerces.internal.jaxp.validation.Util.toSAXParseException()
    2. Java RT
      ValidatorHandlerImpl.startElement
      1. com.sun.org.apache.xerces.internal.jaxp.validation.Util.toSAXParseException(Util.java:109)[na:1.5.0_11]
      2. com.sun.org.apache.xerces.internal.jaxp.validation.ErrorHandlerAdaptor.error(ErrorHandlerAdaptor.java:104)[na:1.5.0_11]
      3. com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:382)[na:1.5.0_11]
      4. com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)[na:1.5.0_11]
      5. com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:429)[na:1.5.0_11]
      6. com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3185)[na:1.5.0_11]
      7. com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(XMLSchemaValidator.java:1835)[na:1.5.0_11]
      8. com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(XMLSchemaValidator.java:705)[na:1.5.0_11]
      9. com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl.startElement(ValidatorHandlerImpl.java:335)[na:1.5.0_11]
      9 frames
    3. Old JAXB Runtime
      SAXConnector.startElement
      1. com.sun.xml.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.startElement(ValidatingUnmarshaller.java:89)[jaxb-impl-2.1.10.jar:2.1.10]
      2. com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:148)[jaxb-impl-2.1.10.jar:2.1.10]
      2 frames
    4. Java RT
      AbstractSAXParser.parse
      1. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533)[na:1.5.0_11]
      2. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:330)[na:1.5.0_11]
      3. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)[na:1.5.0_11]
      4. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)[na:1.5.0_11]
      5. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)[na:1.5.0_11]
      6. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)[na:1.5.0_11]
      7. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)[na:1.5.0_11]
      8. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)[na:1.5.0_11]
      8 frames
    5. Old JAXB Runtime
      UnmarshallerImpl.unmarshal
      1. com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:211)[jaxb-impl-2.1.10.jar:2.1.10]
      2. com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:184)[jaxb-impl-2.1.10.jar:2.1.10]
      2 frames
    6. Java RT
      AbstractUnmarshallerImpl.unmarshal
      1. javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)[jaxb-api-2.2.jar:na]
      2. javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:184)[jaxb-api-2.2.jar:na]
      2 frames
    7. org.artifactory.jaxb
      JaxbHelper.readConfig
      1. org.artifactory.jaxb.JaxbHelper.read(JaxbHelper.java:171)[artifactory-config-2.1.2.jar:na]
      2. org.artifactory.jaxb.JaxbHelper.readConfig(JaxbHelper.java:67)[artifactory-config-2.1.2.jar:na]
      2 frames
    8. org.artifactory.config
      CentralConfigServiceImpl.init
      1. org.artifactory.config.CentralConfigServiceImpl.init(CentralConfigServiceImpl.java:111)[artifactory-core-2.1.2.jar:na]
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.5.0_11]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.5.0_11]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.5.0_11]
      4. java.lang.reflect.Method.invoke(Method.java:585)[na:1.5.0_11]
      4 frames
    10. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)[spring-aop-2.5.6.jar:2.5.6]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)[spring-aop-2.5.6.jar:2.5.6]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)[spring-aop-2.5.6.jar:2.5.6]
      3 frames
    11. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)[spring-tx-2.5.6.jar:2.5.6]
      1 frame
    12. org.artifactory.jcr
      LockingAdvice.invoke
      1. org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72)[artifactory-core-2.1.2.jar:na]
      2. org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45)[artifactory-core-2.1.2.jar:na]
      2 frames
    13. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)[spring-aop-2.5.6.jar:2.5.6]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)[spring-aop-2.5.6.jar:2.5.6]
      2 frames
    14. Unknown
      $Proxy14.init
      1. $Proxy14.init(Unknown Source)[na:na]
      1 frame
    15. org.artifactory.spring
      ArtifactoryApplicationContext.<init>
      1. org.artifactory.spring.ArtifactoryApplicationContext.refresh(ArtifactoryApplicationContext.java:217)[artifactory-core-2.1.2.jar:na]
      2. org.artifactory.spring.ArtifactoryApplicationContext.<init>(ArtifactoryApplicationContext.java:97)[artifactory-core-2.1.2.jar:na]
      2 frames
    16. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.5.0_11]
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)[na:1.5.0_11]
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)[na:1.5.0_11]
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:494)[na:1.5.0_11]
      4 frames
    17. org.artifactory.webapp
      ArtifactoryContextConfigListener.contextInitialized
      1. org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.configure(ArtifactoryContextConfigListener.java:108)[artifactory-web-application-2.1.2.jar:na]
      2. org.artifactory.webapp.servlet.ArtifactoryContextConfigListener.contextInitialized(ArtifactoryContextConfigListener.java:57)[artifactory-web-application-2.1.2.jar:na]
      2 frames
    18. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)[catalina.jar:na]
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)[catalina.jar:na]
      3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)[catalina.jar:na]
      4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)[catalina.jar:na]
      5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)[catalina.jar:na]
      6. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)[catalina.jar:na]
      7. org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)[catalina.jar:na]
      8. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)[catalina.jar:na]
      9. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)[catalina.jar:na]
      10. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)[catalina.jar:na]
      11. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)[catalina.jar:na]
      12. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)[catalina.jar:na]
      13. org.apache.catalina.core.StandardHost.start(StandardHost.java:719)[catalina.jar:na]
      14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)[catalina.jar:na]
      15. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)[catalina.jar:na]
      16. org.apache.catalina.core.StandardService.start(StandardService.java:516)[catalina.jar:na]
      17. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)[catalina.jar:na]
      18. org.apache.catalina.startup.Catalina.start(Catalina.java:578)[catalina.jar:na]
      18 frames
    19. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.5.0_11]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.5.0_11]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.5.0_11]
      4. java.lang.reflect.Method.invoke(Method.java:585)[na:1.5.0_11]
      4 frames
    20. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)[bootstrap.jar:na]
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)[bootstrap.jar:na]
      2 frames