Здравствуйте.
У меня BPM работает неустойчиво.
Пытаюсь в Entity Data Task поменять поле Enum сущности-то работает процесс, а то обнуляет поле сущности.
Вначале была проблема-я задал Enum русскими буквами-спасибо Stas Makarov меня поправил.
Но все равно перестает работать-обнуляет поля сущности.
- Периодически выскакивает IDE Internal Errors, например:
java.lang.IllegalArgumentException: Argument for @NotNull parameter 'psiElement' of com/haulmont/jmixstudio/util/EntityUtil.raPsiCached must not be null
at com.haulmont.jmixstudio.util.EntityUtil.$$$reportNull$$$0(EntityUtil.java)
at com.haulmont.jmixstudio.util.EntityUtil.raPsiCached(EntityUtil.java)
at com.haulmont.jmixstudio.model.EntityAttributePsi.getInstance(EntityAttributePsi.java:43)
at com.haulmont.jmixstudio.bpm.editor.toolwindow.ptable.formfactory.entitydatatask.EntityAttributesPropertiesKt$buildEntityAttributesGroup$1$3.invoke(EntityAttributesProperties.kt:78)
at com.haulmont.jmixstudio.bpm.editor.toolwindow.ptable.formfactory.entitydatatask.EntityAttributesPropertiesKt$buildEntityAttributesGroup$1$3.invoke(EntityAttributesProperties.kt:73)
at com.haulmont.jmixstudio.bpm.editor.toolwindow.ptable.formfactory.PTableItemsBuilder.group(BpmFormDsl.kt:77)
at com.haulmont.jmixstudio.bpm.editor.toolwindow.ptable.formfactory.PTableItemsBuilder.group$default(BpmFormDsl.kt:69)
at com.haulmont.jmixstudio.bpm.editor.toolwindow.ptable.formfactory.entitydatatask.EntityAttributesPropertiesKt$buildEntityAttributesGroup$1.invoke(EntityAttributesProperties.kt:73)
at com.haulmont.jmixstudio.bpm.editor.toolwindow.ptable.formfactory.entitydatatask.EntityAttributesPropertiesKt$buildEntityAttributesGroup$1.invoke(EntityAttributesProperties.kt:36)
at com.haulmont.jmixstudio.bpm.editor.toolwindow.ptable.formfactory.PTableItemsBuilder.group(BpmFormDsl.kt:77)
at com.haulmont.jmixstudio.bpm.editor.toolwindow.ptable.formfactory.PTableItemsBuilder.group$default(BpmFormDsl.kt:69)
at com.haulmont.jmixstudio.bpm.editor.toolwindow.ptable.formfactory.entitydatatask.EntityAttributesPropertiesKt.buildEntityAttributesGroup(EntityAttributesProperties.kt:36)
at com.haulmont.jmixstudio.bpm.editor.toolwindow.ptable.formfactory.entitydatatask.EntityDataTaskFormFieldFactory$createTableItems$1$2$1.invoke(EntityDataTaskFormFieldFactory.kt:45)
at com.haulmont.jmixstudio.bpm.editor.toolwindow.ptable.formfactory.entitydatatask.EntityDataTaskFormFieldFactory$createTableItems$1$2$1.invoke(EntityDataTaskFormFieldFactory.kt:33)
at com.haulmont.jmixstudio.bpm.editor.toolwindow.ptable.formfactory.PTableItemsBuilder.group(BpmFormDsl.kt:77)
at com.haulmont.jmixstudio.bpm.editor.toolwindow.ptable.formfactory.PTableItemsBuilder.group$default(BpmFormDsl.kt:69)
at com.haulmont.jmixstudio.bpm.editor.toolwindow.ptable.formfactory.entitydatatask.EntityDataTaskFormFieldFactory$createTableItems$1.invoke(EntityDataTaskFormFieldFactory.kt:33)
at com.haulmont.jmixstudio.bpm.editor.toolwindow.ptable.formfactory.entitydatatask.EntityDataTaskFormFieldFactory$createTableItems$1.invoke(EntityDataTaskFormFieldFactory.kt:26)
at com.haulmont.jmixstudio.bpm.editor.toolwindow.ptable.formfactory.BpmFormDslKt.buildItems(BpmFormDsl.kt:38)
at com.haulmont.jmixstudio.bpm.editor.toolwindow.ptable.formfactory.entitydatatask.EntityDataTaskFormFieldFactory.createTableItems(EntityDataTaskFormFieldFactory.kt:26)
at com.haulmont.jmixstudio.bpm.editor.toolwindow.ptable.BpmElementFormFactory$Companion.createTableItems(BpmElementFormFactory.kt:51)
at com.haulmont.jmixstudio.bpm.editor.toolwindow.BpmToolWindow.updateProperties(BpmToolWindow.kt:193)
at com.haulmont.jmixstudio.bpm.editor.toolwindow.BpmToolWindow.selectElement$lambda$10(BpmToolWindow.kt:180)
at com.haulmont.jmixstudio.ui.ptable.PTableModel.fireDependentPropertyChanged(PTableModel.java:230)
at com.haulmont.jmixstudio.ui.ptable.PTableModel.lambda$setValueAt$1(PTableModel.java:178)
at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:208)
at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21)
at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:190)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:861)
at com.intellij.openapi.application.impl.ApplicationImpl$4.run(ApplicationImpl.java:478)
at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:79)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:121)
at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:41)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:792)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:761)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:690)
at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$10(IdeEventQueue.kt:593)
at com.intellij.openapi.application.impl.ApplicationImpl.runWithoutImplicitRead(ApplicationImpl.java:1485)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:593)
at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:67)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:369)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:368)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:368)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:363)
at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:997)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)
at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:997)
at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:363)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:861)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:405)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
- В bpmn xml файле ошибки:
- пишет Wrong attribute value
- xmlns:jmix=“http://jmix.io/schema/bpm/bpmn” пишет URI is not registered.
Переставлял BPM аддон-не помогает.
Версия:
Jmix version: 2.2.3
Jmix Studio plugin version: 2.2.4-232
IntelliJ version: IntelliJ IDEA 2023.2.6 (Community Edition)
Подскажите что-нибудь.
С уважением, Дмитрий.