Error in console when creating new items in Content Studio


#1

Enonic version: 7.02
OS: Linux

When we create a new item in Content Studio. The error is identified by missing page preview and missing components block. We get the following js error in console every second:

_all.js:1 Uncaught RangeError: Maximum call stack size exceeded.
    at Function.EventBus.fireEvent (_all.js:1)
    at ContentUpdatedEvent.Event.fire (_all.js:1)
    at LiveEditPageProxy.propagateEvent (bundle.js:1)
    at LiveFormPanel.propagateEvent (bundle.js:1)
    at contentEventListener.contentEventListener (bundle.js:1)
    at customEventHandler (_all.js:1)
    at Function.EventBus.fireEvent (_all.js:1)
    at ContentUpdatedEvent.Event.fire (_all.js:1)
    at LiveEditPageProxy.propagateEvent (bundle.js:1)
    at LiveFormPanel.propagateEvent (bundle.js:1)
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1
LiveEditPageProxy.propagateEvent	@	bundle.js:1
LiveFormPanel.propagateEvent	@	bundle.js:1
contentEventListener.contentEventListener	@	bundle.js:1
customEventHandler	@	_all.js:1
EventBus.fireEvent	@	_all.js:1
Event.fire	@	_all.js:1

After lots of errors and some time waiting, page seems to work correct.


#2

It’s a sign of circular dependency somewhere in the code, most likely caused by the application. Is there any way to get a hold of the app code or jar file? Does it happen with one specific content type or any?


#3

This error magically disappeared. Code was not changed. This is very strange. Can we keep this case open a bit and I will look for errors like this for some time?


#4

Sure, we’ll keep it open