如何解决java.util.ConcurrentModificationException 同时验证 linux 中的工件
我正在 eclipse rcp 产品中验证工件,它在 Windows 中工作,但是当我在 Linux 中使用相同的产品时,我遇到了以下异常
[INFO] [java] [emc.build] java.util.ConcurrentModificationException
[INFO] [java] [emc.build] at java.base/java.util.HashMap$HashIterator.nextNode(HashMap.java:1493)
[INFO] [java] [emc.build] at java.base/java.util.HashMap$KeyIterator.next(HashMap.java:1516)
[INFO] [java] [emc.build] at org.eclipse.emf.validation.internal.service.ClientContextManager.getClientContextsFor(ClientContextManager.java:175)
[INFO] [java] [emc.build] at org.eclipse.emf.validation.internal.service.BatchValidator.validate(BatchValidator.java:204)
[INFO] [java] [emc.build] at org.eclipse.emf.validation.internal.service.BatchValidator.dovalidate(BatchValidator.java:149)
[INFO] [java] [emc.build] at org.eclipse.emf.validation.internal.service.AbstractValidator.validate(AbstractValidator.java:147)
[INFO] [java] [emc.build] at org.eclipse.emf.validation.internal.service.AbstractValidator.validate(AbstractValidator.java:126)
[INFO] [java] [emc.build] at org.eclipse.emf.validation.internal.service.BatchValidator.validate(BatchValidator.java:117)
谁能告诉我为什么它可以在 Windows 中运行而不是在 Linux 中运行?我的eclipse版本是4.12。
这是由于以下错误而发生的
!ENTRY org.eclipse.emf.validation 4 114 2021-06-17 21:21:16.267
!MESSAGE Client context org.eclipse.egf.pattern.ui.patternContext Failed with a run-time exception. It is disabled; its constraint bindings are removed from the system.
!STACK 0
java.lang.IllegalStateException: Client context org.eclipse.egf.pattern.ui does not exist in constraint binding defined by plug-in <missing argument>.
at org.eclipse.emf.validation.internal.service.ClientContext$1.selects(ClientContext.java:99)
at org.eclipse.emf.validation.internal.service.ClientContextManager.getClientContextsFor(ClientContextManager.java:183)
at org.eclipse.emf.validation.internal.service.BatchValidator.validate(BatchValidator.java:204)
at org.eclipse.emf.validation.internal.service.BatchValidator.dovalidate(BatchValidator.java:149)
at org.eclipse.emf.validation.internal.service.AbstractValidator.validate(AbstractValidator.java:147)
at org.eclipse.emf.validation.internal.service.AbstractValidator.validate(AbstractValidator.java:126)
at org.eclipse.emf.validation.internal.service.BatchValidator.validate(BatchValidator.java:117)
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。