java.lang.RuntimeException: ActiveObjects was called before initialization had complete. Not waiting for an ActiveObjectsConfiguration to become available. To avoid this error and wait for initialization to be complete, call ActiveObjects.moduleMetaData().awaitInitialization() from outside of a transaction. Do NOT call awaitInitialization from within the thread responsible for publishing OSGi services, this can block service publication and cause AO to time out whilst waiting for the configuration to be published.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by Xavier Sanchez [Atlassian], 1 year ago
() from outside of a transaction. Do NOT call awaitInitialization from within the thread responsible for publishing OSGi services, this can block service publication and cause AO to time out whilst waiting for the configuration to be published.
via Atlassian JIRA by Xavier Sanchez [Atlassian], 1 year ago
() from outside of a transaction. Do NOT call awaitInitialization from within the thread responsible for publishing OSGi services, this can block service publication and cause AO to time out whilst waiting for the configuration to be published.
via atlassian.com by Unknown author, 1 year ago
Hibernate operation: could not delete: [com.atlassian.confluence.pages.Page#2459182]; SQL []; Cannot delete or update a parent row: a foreign key constraint fails (`confluence_test`.`notifications`, CONSTRAINT `FK594ACC88C38FBEA` FOREIGN KEY
via atlassian.com by Unknown author, 1 year ago
Hibernate operation: could not delete: [com.atlassian.confluence.pages.Page#2459182]; SQL []; Cannot delete or update a parent row: a foreign key constraint fails (`confluence_test`.`notifications`, CONSTRAINT `FK594ACC88C38FBEA` FOREIGN KEY
via Atlassian JIRA by Janet Albion [Atlassian], 1 year ago
,0kx6mgijojraldzx5dtxcc9gvougq302bw1cdsyxeejfjpq8xujqw3krxy8akepecqvui7t54xj6gfjt][sinkNodeEntity,Issue] (SQL Exception while executing the following:INSERT INTO userassociation (SOURCE_NAME, SINK_NODE_ID, SINK_NODE_ENTITY, ASSOCIATION_TYPE, SEQUENCE, CREATED) VALUES (?, ?, ?, ?, ?, ?) (Data truncation: Data too long for column 'SOURCE_NAME' at row 1))
java.lang.RuntimeException: ActiveObjects was called before initialization had complete. Not waiting for an ActiveObjectsConfiguration to become available. To avoid this error and wait for initialization to be complete, call ActiveObjects.moduleMetaData().awaitInitialization() from outside of a transaction. Do NOT call awaitInitialization from within the thread responsible for publishing OSGi services, this can block service publication and cause AO to time out whilst waiting for the configuration to be published.
at com.atlassian.activeobjects.osgi.DelegatingActiveObjects.getPromisedAO(DelegatingActiveObjects.java:84)
at com.atlassian.activeobjects.osgi.DelegatingActiveObjects.flushAll(DelegatingActiveObjects.java:109)
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.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.sun.proxy.$Proxy1928.flushAll(Unknown Source)
at com.atlassian.confluence.plugins.createcontent.listeners.PluginEnabledListener.onAsyncBlueprintCreateEvent(PluginEnabledListener.java:85)
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.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36)
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:66)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:695)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.