search cancel

org.mapdb.DBException - Issue starting DevTest Enterprise Dashboard

book

Article ID: 240084

calendar_today

Updated On:

Products

Service Virtualization CA Application Test

Issue/Introduction

Issue starting Enterprise Dashboard and enterprisedashboard.log has the following errors:

-----------------------------

2021-02-10 10:09:12,098Z (15:39) [main] ERROR org.springframework.boot.SpringApplication - Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'beanProcessor': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ca.dradis.BeanProcessor]: Constructor threw exception; nested exception is org.mapdb.DBException$GetVoid: Record does not exist, recid=1059
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1160)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1104)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:123)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:666)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:353)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:300)
at grails.boot.GrailsApp.run(GrailsApp.groovy:84)
at grails.boot.GrailsApp.run(GrailsApp.groovy:393)
at grails.boot.GrailsApp.run(GrailsApp.groovy:380)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.invoke(StaticMetaMethodSite.java:46)
at org.codehaus.groovy.runtime.callsite.StaticMetaMethodSite.call(StaticMetaMethodSite.java:91)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
at dradis.Application.main(Application.groovy:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher$2.run(Unknown Source)
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ca.dradis.BeanProcessor]: Constructor threw exception; nested exception is org.mapdb.DBException$GetVoid: Record does not exist, recid=1059
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:154)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1152)
... 35 more
Caused by: org.mapdb.DBException$GetVoid: Record does not exist, recid=1059
at org.mapdb.StoreDirect.get(StoreDirect.kt:532)
at org.mapdb.HTreeMap.leafGet(HTreeMap.kt:1372)
at org.mapdb.HTreeMap$sizeLong$$inlined$lockRead$lambda$1.value(HTreeMap.kt:713)
at org.mapdb.IndexTreeLongLongMap$forEachKeyValue$1.visit(IndexTreeLongLongMap.kt:452)
at org.mapdb.IndexTreeLongLongMap$forEachKeyValue$1.visit(IndexTreeLongLongMap.kt:49)
at org.mapdb.IndexTreeListJava.treeFold(IndexTreeListJava.java:606)
at org.mapdb.IndexTreeListJava.treeFold(IndexTreeListJava.java:604)
at org.mapdb.IndexTreeLongLongMap.forEachKeyValue(IndexTreeLongLongMap.kt:451)
at org.mapdb.HTreeMap.sizeLong(HTreeMap.kt:712)
at org.mapdb.HTreeMap.getSize(HTreeMap.kt:701)
at org.mapdb.HTreeMap.size(HTreeMap.kt:18)
at java_util_Map$size$6.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
at com.ca.dradis.util.ObjectStore.init(ObjectStore.groovy:100)
at com.ca.dradis.util.ObjectStore.<init>(ObjectStore.groovy:68)
at com.ca.dradis.util.ObjectStore.<init>(ObjectStore.groovy:55)
at com.ca.dradis.util.ObjectStore.<init>(ObjectStore.groovy:51)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:238)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
at com.ca.dradis.BeanProcessor.<init>(BeanProcessor.groovy:41)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142)

-----------------------------

 

 

Environment

DevTest Enterprise Dashboard, versions 10.6.x & 10.7.x

Cause

In the DevTest logs folder, the /lisatmp_10.X.0/messageStore/objstore.dat file got corrupted and caused the Enterprise Dashboard starting issue.

Resolution

We can not explain how the file objstore.dat corrupted but below is the solution:

Stop ED
Delete the file DevTest_Home\lisatmp_10.X.x\messageStore\objstore.dat or the entire lisatmp10.x.x folder
Start ED
 
NOTE: If you create logs folder manually other than lisatmp_10.x.x like DevTestLogs or something else then you need to look for the objstore.dat file in DevTest_Home/DevTestLogs/messageStore folder. You can delete the complete messageStore folder.