Online backup in embedded mode fails

#1

Hi,

As in topic. "online backup" fails when executed in embedded mode. Everything works fine with server mode.

java.lang.NullPointerException
at com.objectdb.o.BAC.<init>(BAC.java:63)
at com.objectdb.o.MST.U4(MST.java:1764)
at com.objectdb.o.MST.U3(MST.java:1745)
at com.objectdb.o.WRA.U3(WRA.java:498)
at com.objectdb.o.QRY.s(QRY.java:292)
at com.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery.java:648)
at pl.hplxtool.beans.UtilsServiceImpl.makeDatabaseBackup(UtilsServiceImpl.java:412)
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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy50.makeDatabaseBackup(Unknown Source)

 

#2

Thank you for this report. It will be fixed in the next build.

Meanwhile, you may use the workaround of the previous forum thread.

ObjectDB Support

Reply