ObjectDB ObjectDB

Issue #2406: Unexpected not reproducable exception in a query

Type: Bug ReoprtVersion: 2.7.6Priority: CriticalStatus: FixedReplies: 2
#1

Hello,

do you know why we get the following exception?

best regards

BTC

com.btc.ep.base.bl.services.preferences.PreferencesException: failed to handle preference with key [com.btc.ep.base.bl.impl.test.it.boolean]: null
at com.objectdb.o.CCH.v(CCH.java:292)
at com.objectdb.o.CCH.u(CCH.java:229)
at com.objectdb.o.QRM.Za(QRM.java:248)
at com.objectdb.o.MST.Za(MST.java:1003)
at com.objectdb.o.WRA.Za(WRA.java:313)
at com.objectdb.o.WSM.Za(WSM.java:117)
at com.objectdb.o.QRR.k(QRR.java:260)
at com.objectdb.o.QRR.i(QRR.java:154)
at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:721)
at com.btc.ep.base.bl.internal.services.preferences.profile.ProfilePreferencesAccess.findProfilePreferenceByKeyString(ProfilePreferencesAccess.java:183)
at com.btc.ep.base.bl.internal.services.preferences.profile.ProfilePreferencesAccess.findPreferenceByKeyWithNewTransaction_aroundBody2(ProfilePreferencesAccess.java:153)
at com.btc.ep.base.bl.internal.services.preferences.profile.ProfilePreferencesAccess$AjcClosure3.run(ProfilePreferencesAccess.java:1)
at com.btc.ep.base.transactions.annotations.TransactionAspect.ajc$around$com_btc_ep_base_transactions_annotations_TransactionAspect$1$344042f2proceed(TransactionAspect.aj:86)
at com.btc.ep.base.transactions.annotations.TransactionAspect.ajc$around$com_btc_ep_base_transactions_annotations_TransactionAspect$1$344042f2(TransactionAspect.aj:105)
edit
delete
#2

The stack trace indicates an unexpected state of the query result cache.

We can release a new build with writing relevant information to the log when it happens in order to diagnose the cause.

 

 

ObjectDB Support
edit
delete
#3

Further analysis of the stack trace revealed an issue that can cause this exception and was now fixed in build 2.7.6_02.

Thank you for this report.

ObjectDB Support
edit
delete

Reply

To post on this website please sign in.