org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'linkBuilder' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 1 of type [com.atlassian.upm.PluginAccessorAndController]: : Error creating bean with name 'pluginAccessorAndController' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 2 of type [com.atlassian.upm.log.AuditLogService]: : Error creating bean with name 'auditLogService' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.log.PluginSettingsAuditLogService]: Constructor threw exception; nested exception is java.lang.RuntimeException: Failed to parse AuditLogEntry from JSON string: {"username":"Stash","date":1348131582755,"i18nKey":"upm.auditLog.upm.startup","entryType":"UPM_STARTUP","params":[]}; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditLogService' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.log.PluginSettingsAuditLogService]: Constructor threw exception; nested exception is java.lang.RuntimeException: Failed to parse AuditLogEntry from JSON string: {"username":"Stash","date":1348131582755,"i18nKey":"upm.auditLog.upm.startup","entryType":"UPM_STARTUP","params":[]}; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'pluginAccessorAndController' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 2 of type [com.atlassian.upm.log.AuditLogService]: : Error creating bean with name 'auditLogService' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.log.PluginSettingsAuditLogService]: Constructor threw exception; nested exception is java.lang.RuntimeException: Failed to parse AuditLogEntry from JSON string: {"username":"Stash","date":1348131582755,"i18nKey":"upm.auditLog.upm.startup","entryType":"UPM_STARTUP","params":[]}; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditLogService' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.log.PluginSettingsAuditLogService]: Constructor threw exception; nested exception is java.lang.RuntimeException: Failed to parse AuditLogEntry from JSON string: {"username":"Stash","date":1348131582755,"i18nKey":"upm.auditLog.upm.startup","entryType":"UPM_STARTUP","params":[]}

Atlassian JIRA | Laura Kolker | 4 years ago
  1. 0

    The plugin works fine when the stash is setup with the right UPM already, but it is not fine with a clean stash loaded after an atlas-clean has been run on the directory. Not only does the plugin fail to load, but the Stash fails to load also and I'm redirected to: !stashfatal.png! I find this problem regardless of which upm version I indicate. I've tried whichever one comes with the stash, 2.7.8, and 2.7.10. Doesn't seem to matter what the pom says. Currently, I have it setup like so: {code} <properties> <stash.version>1.2.4</stash.version> <stash.data.version>1.2.4</stash.data.version> <amps.version>4.1.2</amps.version> <plugin.testrunner.version>1.1</plugin.testrunner.version> <atlassian.templaterenderer.version>1.0.5</atlassian.templaterenderer.ve rsion> <appfusions.product.name>Stash Connector for IBM Sametime</appfusions.product.name> <upm.license.compatibility.version>2.7.10</upm.license.compatibility.ver sion> <sal.api.version>2.4.0</sal.api.version> </properties> {code} The only workaround I've found is to comment out the UPM code from the plugin, launch the stash, install the latest UPM directly, uncomment my UPM code, and update with atlas-cli 'pi'. This is _really_ a problem for plugin testing. I've had to make do with using atlas-run-standalone in some cases to do basic testing of the plugin, and is especially nasty around release time. My colleague ran into this problem as well with a different plugin, although he had good luck with just specifying the UPM version. I have not had such luck. His experiences documented here: https://answers.atlassian.com/questions/100333/stash-plugin-with-license-api-failed-to-parse-auditlogentry I'm using the latest atlas-sdk (4.1.2) and I found this problem occurred with 4.1.1 as well. Oh, and here's the stack trace from the console: {code} [INFO] [talledLocalContainer] Exception in thread "Spring executor 6" org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'linkBuilder' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 1 of type [com.atlassian.upm.PluginAccessorAndController]: : Error creating bean with name 'pluginAccessorAndController' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 2 of type [com.atlassian.upm.log.AuditLogService]: : Error creating bean with name 'auditLogService' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.log.PluginSettingsAuditLogService]: Constructor threw exception; nested exception is java.lang.RuntimeException: Failed to parse AuditLogEntry from JSON string: {"username":"Stash","date":1348131582755,"i18nKey":"upm.auditLog.upm.startup","entryType":"UPM_STARTUP","params":[]}; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditLogService' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.log.PluginSettingsAuditLogService]: Constructor threw exception; nested exception is java.lang.RuntimeException: Failed to parse AuditLogEntry from JSON string: {"username":"Stash","date":1348131582755,"i18nKey":"upm.auditLog.upm.startup","entryType":"UPM_STARTUP","params":[]}; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'pluginAccessorAndController' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 2 of type [com.atlassian.upm.log.AuditLogService]: : Error creating bean with name 'auditLogService' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.log.PluginSettingsAuditLogService]: Constructor threw exception; nested exception is java.lang.RuntimeException: Failed to parse AuditLogEntry from JSON string: {"username":"Stash","date":1348131582755,"i18nKey":"upm.auditLog.upm.startup","entryType":"UPM_STARTUP","params":[]}; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditLogService' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.log.PluginSettingsAuditLogService]: Constructor threw exception; nested exception is java.lang.RuntimeException: Failed to parse AuditLogEntry from JSON string: {"username":"Stash","date":1348131582755,"i18nKey":"upm.auditLog.upm.startup","entryType":"UPM_STARTUP","params":[]} [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:591) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:193) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [INFO] [talledLocalContainer] at java.security.AccessController.doPrivileged(Native Method) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) [INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) [INFO] [talledLocalContainer] at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69) [INFO] [talledLocalContainer] at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355) [INFO] [talledLocalContainer] at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) [INFO] [talledLocalContainer] at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320) [INFO] [talledLocalContainer] at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:680) [INFO] [talledLocalContainer] Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'pluginAccessorAndController' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 2 of type [com.atlassian.upm.log.AuditLogService]: : Error creating bean with name 'auditLogService' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.log.PluginSettingsAuditLogService]: Constructor threw exception; nested exception is java.lang.RuntimeException: Failed to parse AuditLogEntry from JSON string: {"username":"Stash","date":1348131582755,"i18nKey":"upm.auditLog.upm.startup","entryType":"UPM_STARTUP","params":[]}; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditLogService' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.log.PluginSettingsAuditLogService]: Constructor threw exception; nested exception is java.lang.RuntimeException: Failed to parse AuditLogEntry from JSON string: {"username":"Stash","date":1348131582755,"i18nKey":"upm.auditLog.upm.startup","entryType":"UPM_STARTUP","params":[]} [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:591) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:193) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [INFO] [talledLocalContainer] at java.security.AccessController.doPrivileged(Native Method) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:671) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:610) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:622) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:584) [INFO] [talledLocalContainer] ... 22 more [INFO] [talledLocalContainer] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditLogService' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.log.PluginSettingsAuditLogService]: Constructor threw exception; nested exception is java.lang.RuntimeException: Failed to parse AuditLogEntry from JSON string: {"username":"Stash","date":1348131582755,"i18nKey":"upm.auditLog.upm.startup","entryType":"UPM_STARTUP","params":[]} [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:254) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) [INFO] [talledLocalContainer] at java.security.AccessController.doPrivileged(Native Method) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:671) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:610) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:622) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:584) [INFO] [talledLocalContainer] ... 38 more [INFO] [talledLocalContainer] Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.log.PluginSettingsAuditLogService]: Constructor threw exception; nested exception is java.lang.RuntimeException: Failed to parse AuditLogEntry from JSON string: {"username":"Stash","date":1348131582755,"i18nKey":"upm.auditLog.upm.startup","entryType":"UPM_STARTUP","params":[]} [INFO] [talledLocalContainer] at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87) [INFO] [talledLocalContainer] at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248) [INFO] [talledLocalContainer] ... 53 more [INFO] [talledLocalContainer] Caused by: java.lang.RuntimeException: Failed to parse AuditLogEntry from JSON string: {"username":"Stash","date":1348131582755,"i18nKey":"upm.auditLog.upm.startup","entryType":"UPM_STARTUP","params":[]} [INFO] [talledLocalContainer] at com.atlassian.upm.log.PluginSettingsAuditLogService$4.apply(PluginSettingsAuditLogService.java:504) [INFO] [talledLocalContainer] at com.atlassian.upm.log.PluginSettingsAuditLogService$4.apply(PluginSettingsAuditLogService.java:495) [INFO] [talledLocalContainer] at com.google.common.collect.Iterators$8.next(Iterators.java:782) [INFO] [talledLocalContainer] at com.google.common.collect.Iterators$7.computeNext(Iterators.java:644) [INFO] [talledLocalContainer] at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:141) [INFO] [talledLocalContainer] at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:136) [INFO] [talledLocalContainer] at com.google.common.collect.Lists.newArrayList(Lists.java:138) [INFO] [talledLocalContainer] at com.google.common.collect.Collections2$FilteredCollection.toArray(Collections2.java:228) [INFO] [talledLocalContainer] at java.util.ArrayList.<init>(ArrayList.java:131) [INFO] [talledLocalContainer] at com.google.common.collect.Lists.newArrayList(Lists.java:119) [INFO] [talledLocalContainer] at com.google.common.collect.Ordering.sortedCopy(Ordering.java:512) [INFO] [talledLocalContainer] at com.atlassian.upm.log.PluginSettingsAuditLogService.purgeEntriesAndTransform(PluginSettingsAuditLogService.java:510) [INFO] [talledLocalContainer] at com.atlassian.upm.log.PluginSettingsAuditLogService.saveEntryAndPurge(PluginSettingsAuditLogService.java:440) [INFO] [talledLocalContainer] at com.atlassian.upm.log.PluginSettingsAuditLogService.logI18nMessageWithUsername(PluginSettingsAuditLogService.java:118) [INFO] [talledLocalContainer] at com.atlassian.upm.log.PluginSettingsAuditLogService.<init>(PluginSettingsAuditLogService.java:97) [INFO] [talledLocalContainer] at com.atlassian.upm.log.PluginSettingsAuditLogService.<init>(PluginSettingsAuditLogService.java:104) [INFO] [talledLocalContainer] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [INFO] [talledLocalContainer] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [INFO] [talledLocalContainer] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [INFO] [talledLocalContainer] at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [INFO] [talledLocalContainer] at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100) [INFO] [talledLocalContainer] ... 55 more [INFO] [talledLocalContainer] Caused by: org.codehaus.jackson.map.JsonMappingException: Can not construct instance of com.atlassian.upm.api.log.EntryType from String value 'UPM_STARTUP': value not one of declared Enum instance names [INFO] [talledLocalContainer] at [Source: java.io.StringReader@ef45815; line: 1, column: 78] [INFO] [talledLocalContainer] at org.codehaus.jackson.map.JsonMappingException.from(JsonMappingException.java:163) [INFO] [talledLocalContainer] at org.codehaus.jackson.map.deser.StdDeserializationContext.weirdStringException(StdDeserializationContext.java:243) [INFO] [talledLocalContainer] at org.codehaus.jackson.map.deser.std.EnumDeserializer.deserialize(EnumDeserializer.java:74) [INFO] [talledLocalContainer] at org.codehaus.jackson.map.deser.std.EnumDeserializer.deserialize(EnumDeserializer.java:23) [INFO] [talledLocalContainer] at org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:299) [INFO] [talledLocalContainer] at org.codehaus.jackson.map.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:899) [INFO] [talledLocalContainer] at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObjectUsingNonDefault(BeanDeserializer.java:733) [INFO] [talledLocalContainer] at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:683) [INFO] [talledLocalContainer] at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580) [INFO] [talledLocalContainer] at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2723) [INFO] [talledLocalContainer] at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1854) [INFO] [talledLocalContainer] at com.atlassian.upm.log.PluginSettingsAuditLogService$4.apply(PluginSettingsAuditLogService.java:500) [INFO] [talledLocalContainer] ... 75 more {code}

    Atlassian JIRA | 4 years ago | Laura Kolker
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'linkBuilder' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 1 of type [com.atlassian.upm.PluginAccessorAndController]: : Error creating bean with name 'pluginAccessorAndController' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 2 of type [com.atlassian.upm.log.AuditLogService]: : Error creating bean with name 'auditLogService' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.log.PluginSettingsAuditLogService]: Constructor threw exception; nested exception is java.lang.RuntimeException: Failed to parse AuditLogEntry from JSON string: {"username":"Stash","date":1348131582755,"i18nKey":"upm.auditLog.upm.startup","entryType":"UPM_STARTUP","params":[]}; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditLogService' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.log.PluginSettingsAuditLogService]: Constructor threw exception; nested exception is java.lang.RuntimeException: Failed to parse AuditLogEntry from JSON string: {"username":"Stash","date":1348131582755,"i18nKey":"upm.auditLog.upm.startup","entryType":"UPM_STARTUP","params":[]}; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'pluginAccessorAndController' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 2 of type [com.atlassian.upm.log.AuditLogService]: : Error creating bean with name 'auditLogService' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.log.PluginSettingsAuditLogService]: Constructor threw exception; nested exception is java.lang.RuntimeException: Failed to parse AuditLogEntry from JSON string: {"username":"Stash","date":1348131582755,"i18nKey":"upm.auditLog.upm.startup","entryType":"UPM_STARTUP","params":[]}; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditLogService' defined in URL [bundle://51.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.log.PluginSettingsAuditLogService]: Constructor threw exception; nested exception is java.lang.RuntimeException: Failed to parse AuditLogEntry from JSON string: {"username":"Stash","date":1348131582755,"i18nKey":"upm.auditLog.upm.startup","entryType":"UPM_STARTUP","params":[]}
  2. 0

    JSON parsing error thrown during System Startup - Atlassian Documentation

    atlassian.com | 3 months ago
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'linkBuilder' defined in URL [bundle://65.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 1 of type [com.atlassian.upm.PluginAccessorAndController]: : Error creating bean with name 'pluginAccessorAndController' defined in URL [bundle://65.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 2 of type [com.atlassian.upm.log.AuditLogService]: : Error creating bean with name 'auditLogService' defined in URL [bundle://65.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.log.PluginSettingsAuditLogService]: Constructor threw exception; nested exception is java.lang.RuntimeException: Failed to parse AuditLogEntry from JSON string: {"username":"Confluence","date":1322652622518,"i18nKey":"upm.auditLog.system.startup","entryType":"SYSTEM_STARTUP","params":[]}; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditLogService' defined in URL [bundle://65.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.log.PluginSettingsAuditLogService]: Constructor threw exception; nested exception is java.lang.RuntimeException: Failed to parse AuditLogEntry from JSON string: {"username":"Confluence","date":1322652622518,"i18nKey":"upm.auditLog.system.startup","entryType":"SYSTEM_STARTUP","params":[]}; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'pluginAccessorAndController' defined in URL [bundle://65.0:0/META-INF/spring/atlassian-plugins-components.xml]: Unsatisfied dependency expressed through constructor argument with index 2 of type [com.atlassian.upm.log.AuditLogService]: : Error creating bean with name 'auditLogService' defined in URL [bundle://65.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.log.PluginSettingsAuditLogService]: Constructor threw exception; nested exception is java.lang.RuntimeException: Failed to parse AuditLogEntry from JSON string: {"username":"Confluence","date":1322652622518,"i18nKey":"upm.auditLog.system.startup","entryType":"SYSTEM_STARTUP","params":[]}; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditLogService' defined in URL [bundle://65.0:0/META-INF/spring/atlassian-plugins-components.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.upm.log.PluginSettingsAuditLogService]: Constructor threw exception; nested exception is java.lang.RuntimeException: Failed to parse AuditLogEntry from JSON string: {"username":"Confluence","date":1322652622518,"i18nKey":"upm.auditLog.system.startup","entryType":"SYSTEM_STARTUP","params":[]}
  3. 0

    Spring and Jackson Mapper Can not deserialize instance of CUSTOM_CLASS out of START_OBJECT

    Stack Overflow | 4 years ago | Alexandr
    org.codehaus.jackson.map.JsonMappingException: Can not deserialize instance of java.util.ArrayList out of START_OBJECT token at [Source: libcore.net.http.ChunkedInputStream@417f4378; line: 1, column: 1]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    failure reading settings from disk

    GitHub | 5 years ago | forkner
    org.codehaus.jackson.map.JsonMappingException: No suitable constructor found for type [simple type, class org.lantern.httpseverywhere.HttpsEverywhere$HttpsRuleSet]: can not instantiate from JSON object (need to add/enable type information?) at [Source: java.io.StringReader@4b2dd538; line: 157, column: 9] (through reference chain: org.lantern.Settings["httpsEverywhere"]->org.lantern.httpseverywhere.HttpsEverywhere["rules"])
  6. 0

    parsing geojson using jackson

    Stack Overflow | 4 years ago | sam
    org.codehaus.jackson.map.JsonMappingException: Conflicting setter definitions for property "x": org.postgis.Point#setX(1 params) vs org.postgis.Point#setX(1 params)

    28 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.codehaus.jackson.map.JsonMappingException

      Can not construct instance of com.atlassian.upm.api.log.EntryType from String value 'UPM_STARTUP': value not one of declared Enum instance names at [Source: java.io.StringReader@ef45815; line: 1, column: 78]

      at org.codehaus.jackson.map.JsonMappingException.from()
    2. Data Mapper for Jackson
      ObjectMapper.readValue
      1. org.codehaus.jackson.map.JsonMappingException.from(JsonMappingException.java:163)
      2. org.codehaus.jackson.map.deser.StdDeserializationContext.weirdStringException(StdDeserializationContext.java:243)
      3. org.codehaus.jackson.map.deser.std.EnumDeserializer.deserialize(EnumDeserializer.java:74)
      4. org.codehaus.jackson.map.deser.std.EnumDeserializer.deserialize(EnumDeserializer.java:23)
      5. org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:299)
      6. org.codehaus.jackson.map.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:899)
      7. org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObjectUsingNonDefault(BeanDeserializer.java:733)
      8. org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:683)
      9. org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:580)
      10. org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2723)
      11. org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1854)
      11 frames
    3. com.atlassian.upm
      PluginSettingsAuditLogService$4.apply
      1. com.atlassian.upm.log.PluginSettingsAuditLogService$4.apply(PluginSettingsAuditLogService.java:500)
      2. com.atlassian.upm.log.PluginSettingsAuditLogService$4.apply(PluginSettingsAuditLogService.java:495)
      2 frames
    4. Guava
      Collections2$FilteredCollection.toArray
      1. com.google.common.collect.Iterators$8.next(Iterators.java:782)
      2. com.google.common.collect.Iterators$7.computeNext(Iterators.java:644)
      3. com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:141)
      4. com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:136)
      5. com.google.common.collect.Lists.newArrayList(Lists.java:138)
      6. com.google.common.collect.Collections2$FilteredCollection.toArray(Collections2.java:228)
      6 frames
    5. Java RT
      ArrayList.<init>
      1. java.util.ArrayList.<init>(ArrayList.java:131)
      1 frame
    6. Guava
      Ordering.sortedCopy
      1. com.google.common.collect.Lists.newArrayList(Lists.java:119)
      2. com.google.common.collect.Ordering.sortedCopy(Ordering.java:512)
      2 frames
    7. com.atlassian.upm
      PluginSettingsAuditLogService.<init>
      1. com.atlassian.upm.log.PluginSettingsAuditLogService.purgeEntriesAndTransform(PluginSettingsAuditLogService.java:510)
      2. com.atlassian.upm.log.PluginSettingsAuditLogService.saveEntryAndPurge(PluginSettingsAuditLogService.java:440)
      3. com.atlassian.upm.log.PluginSettingsAuditLogService.logI18nMessageWithUsername(PluginSettingsAuditLogService.java:118)
      4. com.atlassian.upm.log.PluginSettingsAuditLogService.<init>(PluginSettingsAuditLogService.java:97)
      5. com.atlassian.upm.log.PluginSettingsAuditLogService.<init>(PluginSettingsAuditLogService.java:104)
      5 frames
    8. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      4 frames
    9. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
      2. org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
      3. org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
      7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      7 frames
    10. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    11. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
      2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
      3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
      6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
      7. org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:671)
      8. org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:610)
      9. org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:622)
      10. org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:584)
      11. org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:193)
      12. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
      13. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
      14. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
      15. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      15 frames
    12. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    13. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
      2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
      3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
      6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
      7. org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:671)
      8. org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:610)
      9. org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:622)
      10. org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:584)
      11. org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:193)
      12. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
      13. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
      14. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
      15. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      15 frames
    14. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    15. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
      2. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
      3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
      6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
      7. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
      7 frames
    16. Spring Context
      AbstractApplicationContext.finishBeanFactoryInitialization
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
      1 frame
    17. Spring OSGi Core
      AbstractDelegatedExecutionApplicationContext.completeRefresh
      1. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)
      2. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)
      3. org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
      4. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
      4 frames
    18. org.springframework.osgi
      DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run
      1. org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)
      1 frame
    19. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:680)
      3 frames