Wir aktualisieren die Vorgangsansicht, damit Sie mehr erreichen.Mehr erfahren

Sortieren von zwei Kategorien wirft Fehler (nicht auf Typ Ebene)

Beim zweiten sortieren werden bestehende CodeEntries mit neuer CategoryId überschrieben, ausgenommen "$VIRTUAL_ALPHA_" bleibt bestehen mit index 5. Dieser index 5 verursacht dann der Fehler beim zusammensetzten der List.

[2016-03-17 10:29:53,421] ERROR: com.softmodeler.osgi.over.slf4j.ext.org.eclipse.equinox.logger -
org.eclipse.riena.communication.core.RemoteFailure: Error while invoking remote service
at org.eclipse.riena.internal.communication.core.factory.CallHooksProxy.invoke(CallHooksProxy.java:81) ~[na:na]
at com.sun.proxy.$Proxy129.getAllCategories(Unknown Source) ~[na:na]
at com.softmodeler.ui.views.CategoryView.getViewerInput(CategoryView.java:181) ~[na:na]
at com.softmodeler.ui.views.BasicCodeView.createFormContent(BasicCodeView.java:66) ~[na:na]
at com.softmodeler.ui.views.CategoryView.createFormContent(CategoryView.java:82) ~[na:na]
at com.softmodeler.ui.views.FormView.createPartControl(FormView.java:72) ~[na:na]
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:151) ~[na:na]
at org.eclipse.ui.internal.e4.compatibility.CompatibilityView.createPartControl(CompatibilityView.java:143) ~[na:na]
at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:341) ~[na:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_74]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_74]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_74]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_74]
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56) ~[na:na]
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:898) ~[na:na]
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:879) ~[na:na]
at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:121) ~[na:na]
at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:345) ~[na:na]
at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:264) ~[na:na]
at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:104) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:73) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:55) ~[na:na]
at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:971) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:640) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$1.run(PartRenderingEngine.java:525) ~[na:na]
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:509) ~[na:na]
at org.eclipse.e4.ui.workbench.renderers.swt.ElementReferenceRenderer.createWidget(ElementReferenceRenderer.java:69) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:971) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:640) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711) ~[na:na]
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695) ~[na:na]
at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1306) ~[na:na]
at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java:72) ~[na:na]
at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40) ~[na:na]
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:186) ~[na:na]
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145) ~[na:na]
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4761) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:211) ~[na:na]
at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36) ~[na:na]
at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197) ~[na:na]
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197) ~[na:na]
at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1) ~[na:na]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) ~[na:na]
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) ~[na:na]
at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135) ~[na:na]
at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78) ~[na:na]
at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39) ~[na:na]
at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:85) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:59) ~[na:na]
at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374) ~[na:na]
at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171) ~[na:na]
at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer$9.widgetSelected(StackRenderer.java:1084) ~[na:na]
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248) ~[na:na]
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) ~[na:na]
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362) ~[na:na]
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113) ~[na:na]
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1137) ~[na:na]
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1122) ~[na:na]
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:788) ~[na:na]
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3158) ~[na:na]
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1841) ~[na:na]
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:330) ~[na:na]
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) ~[na:na]
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362) ~[na:na]
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113) ~[na:na]
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180) ~[na:na]
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127) ~[na:na]
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018) ~[na:na]
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156) ~[na:na]
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654) ~[na:na]
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337) ~[na:na]
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598) ~[na:na]
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) ~[na:na]
at com.softmodeler.ui.rcp.RCPApplication.start(RCPApplication.java:157) ~[na:na]
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) ~[na:na]
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) ~[na:na]
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) ~[na:na]
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) ~[na:na]
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) ~[na:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_74]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_74]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_74]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_74]
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669) ~[org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar:na]
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608) ~[org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar:na]
at org.eclipse.equinox.launcher.Main.run(Main.java:1515) ~[org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar:na]
Caused by: com.caucho.hessian.client.HessianRuntimeException: com.caucho.hessian.io.HessianFieldException: com.softmodeler.model.BasicCode.entries: java.util.ArrayList ([null, null, null, null, null, com.softmodeler.model.impl.CodeEntryImpl@4dfd9186 (id: _y9fIAOnvEeWeuvTN3X9MHQ, key: virtualId, value: $VIRTUAL_ALPHA_)]) cannot be assigned to CodeEntry
at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:232) ~[na:na]
at com.sun.proxy.$Proxy128.getAllCategories(Unknown Source) ~[na:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_74]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_74]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_74]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_74]
at org.eclipse.riena.communication.core.hooks.AbstractHooksProxy.invoke(AbstractHooksProxy.java:69) ~[na:na]
at org.eclipse.riena.communication.core.hooks.AbstractHooksProxy.invoke(AbstractHooksProxy.java:38) ~[na:na]
at org.eclipse.riena.internal.communication.core.factory.CallHooksProxy.invoke(CallHooksProxy.java:66) ~[na:na]
... 93 common frames omitted
Caused by: com.caucho.hessian.io.HessianFieldException: com.softmodeler.model.BasicCode.entries: java.util.ArrayList ([null, null, null, null, null, com.softmodeler.model.impl.CodeEntryImpl@4dfd9186 (id: _y9fIAOnvEeWeuvTN3X9MHQ, key: virtualId, value: $VIRTUAL_ALPHA_)]) cannot be assigned to CodeEntry
at com.softmodeler.common.communication.EObjectDeserializer.logDeserializeError(EObjectDeserializer.java:687) ~[na:na]
at com.softmodeler.common.communication.EObjectDeserializer$EListDeserializer.deserialize(EObjectDeserializer.java:288) ~[na:na]
at com.softmodeler.common.communication.EObjectDeserializer.readObject(EObjectDeserializer.java:144) ~[na:na]
at com.softmodeler.common.communication.EObjectDeserializer.readObject(EObjectDeserializer.java:84) ~[na:na]
at com.caucho.hessian.io.SerializerFactory.readObject(SerializerFactory.java:378) ~[na:na]
at com.caucho.hessian.io.Hessian2Input.readObjectInstance(Hessian2Input.java:2055) ~[na:na]
at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:1978) ~[na:na]
at com.caucho.hessian.io.CollectionDeserializer.readList(CollectionDeserializer.java:78) ~[na:na]
at com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:1701) ~[na:na]
at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:220) ~[na:na]
... 101 common frames omitted
Caused by: java.lang.IllegalArgumentException: The 'no null' constraint is violated
at org.eclipse.emf.common.util.AbstractEList.validate(AbstractEList.java:97) ~[na:na]
at org.eclipse.emf.ecore.util.EcoreEList.validate(EcoreEList.java:63) ~[na:na]
at org.eclipse.emf.common.util.BasicEList.addAllUnique(BasicEList.java:508) ~[na:na]
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.doAddAllUnique(NotifyingListImpl.java:500) ~[na:na]
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.addAllUnique(NotifyingListImpl.java:472) ~[na:na]
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.addAllUnique(NotifyingListImpl.java:400) ~[na:na]
at org.eclipse.emf.common.util.AbstractEList.addAll(AbstractEList.java:370) ~[na:na]
at com.softmodeler.model.impl.BasicCodeImpl.eSet(BasicCodeImpl.java:472) ~[na:na]
at com.softmodeler.model.impl.CategoryImpl.eSet(CategoryImpl.java:152) ~[na:na]
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSet(BasicEObjectImpl.java:1071) ~[na:na]
at com.softmodeler.common.communication.EObjectDeserializer$EListDeserializer.deserialize(EObjectDeserializer.java:285) ~[na:na]
... 109 common frames omitted

Status

Zugewiesene Person

Flavio Donzé

Autor

Flavio Donzé

Komponenten

Lösungsversionen

Betrifft Versionen

4.14.6

Priorität

Normal