IndexNotReadyException - Error in DB Script

Hi
I have added one field in one of my existing Entities but getting IndexNotReadyException exception when deploying. The added column in the database table is not updated due to this DB script generation error.

An error occurred while generating DB scripts.
Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation

The log file is attached for additional information.
idea.txt (391.9 KB)

Hi,

There is no such message in the attached log. Please attach the complete stacktrace of the exception.

Will this be located here?
image

It should be there, but it would be better if you copy just stacktrace from the error dialog.

There was no error dialog but event log as tray pop-up from where I copied that message.

What have I noticed that “Update database” is not updating the db scripts for the modifications I made. When I Assemble the project and get the prompt if I want to update the db script in Background or open. I chose background option. As my project is a large one, It take time and since there is no progress is displayed in this case, If I run deploy / JelasticDeply it triggers that error.

Hi @artamonov
I got another type of error

image

here is the stack trace:

java.lang.AssertionError: Session must be locked when markAsDirty() is called
	at com.vaadin.server.AbstractClientConnector.markAsDirty(AbstractClientConnector.java:141)
	at com.vaadin.ui.AbstractSelect.fireItemSetChange(AbstractSelect.java:1744)
	at com.vaadin.ui.AbstractSelect.containerItemSetChange(AbstractSelect.java:1711)
	at com.vaadin.ui.ComboBox.containerItemSetChange(ComboBox.java:529)
	at com.vaadin.data.util.AbstractContainer.fireItemSetChange(AbstractContainer.java:245)
	at com.vaadin.data.util.AbstractInMemoryContainer.fireItemsRemoved(AbstractInMemoryContainer.java:1042)
	at com.vaadin.data.util.IndexedContainer.removeAllItems(IndexedContainer.java:219)
	at com.vaadin.ui.AbstractSelect.removeAllItems(AbstractSelect.java:864)
	at com.haulmont.studio.ui.sd.layout.DatasourceViewField$EditViewAction.lambda$actionPerformed$0(SourceFile:129)
	at com.haulmont.studio.intellij.GlobalProjectComponent$MyViewEditorListener.lambda$editView$0(SourceFile:118)
	at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:315)
	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.doRun(LaterInvocator.java:435)
	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:419)
	at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:403)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762)
	at java.awt.EventQueue.access$500(EventQueue.java:98)
	at java.awt.EventQueue$3.run(EventQueue.java:715)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:732)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:719)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:668)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:363)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Sorry, I already have reported once and a issue log has been created.

I shall try to get the stack trace for the db Script.

This problem is already solved and we are going to release Studio 10 soon.