Reference System.changedBy only accepts ids of type System.User

1
We recently upgraded from 253 to 421 and in a specific (server based deployment) test environment we encounter the error below. When I try the exact same in a local deployed model I do not get this issue. What's really strange is the fact that the error message refers to objectType=TestManagement.TestCase Which is an entity which is not related at all to the object on which a cancel (resulting in a rollback) is performed. In fact, the TestManagement module is not (yet) used at all... Any ideas? Kind regards, Brian 2012-10-24 15:48:51.642 ERROR - Connector: la: com.mendix.core.CoreRuntimeException: java.lang.IllegalArgumentException: requirement failed: Reference 'System.changedBy' only accepts ids of type 'System.User' (Id '[MendixIdentifier:: id=107804916080181667 objectType=TestManagement.TestCase entityID=383]' is not allowed). at OrganisationPerson.EntityRelationcancel (Rollback : 'Rollback Relationship_Entity') Advanced stacktrace: at mg.a(SourceFile:188) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.core.CoreRuntimeException: java.lang.IllegalArgumentException: requirement failed: Reference 'System.changedBy' only accepts ids of type 'System.User' (Id '[MendixIdentifier:: id=107804916080181667 objectType=TestManagement.TestCase entityID=383]' is not allowed). at hC.a(SourceFile:160) Caused by: com.mendix.core.CoreRuntimeException: java.lang.IllegalArgumentException: requirement failed: Reference 'System.changedBy' only accepts ids of type 'System.User' (Id '[MendixIdentifier:: id=107804916080181667 objectType=TestManagement.TestCase entityID=383]' is not allowed). at hC.b(SourceFile:194) Caused by: java.lang.IllegalArgumentException: requirement failed: Reference 'System.changedBy' only accepts ids of type 'System.User' (Id '[MendixIdentifier:: id=107804916080181667 objectType=TestManagement.TestCase entityID=383]' is not allowed). at scala.Predef$.require(Predef.scala:214) at com.mendix.core.objectmanagement.member.MendixObjectReference.setValue(SourceFile:24) at com.mendix.core.objectmanagement.member.MendixObjectReference.setValue(SourceFile:16) at hz$c.a(SourceFile:27) at hz$c.apply(SourceFile:25) at scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:743) at scala.collection.Iterator$class.foreach(Iterator.scala:772) at scala.collection.JavaConversions$JIteratorWrapper.foreach(JavaConversions.scala:573) at scala.collection.IterableLike$class.foreach(IterableLike.scala:73) at scala.collection.JavaConversions$JListWrapper.foreach(JavaConversions.scala:615) at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:742) at hz.b(SourceFile:25) at hz.executeAction(SourceFile:16) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:183) at hC.a(SourceFile:151) at com.mendix.core.Core.rollback(SourceFile:760) at lJ.a(SourceFile:43) at mg.a(SourceFile:78) at mf.executeAction(SourceFile:101) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457) at hC.b(SourceFile:183) at com.mendix.core.Core.execute(SourceFile:219) at gm.execute(SourceFile:186) at iW.a(SourceFile:304) at com.mendix.externalinterface.connector.RequestDispatching$Worker.a(SourceFile:141) at com.mendix.externalinterface.connector.RequestDispatching$Worker$a.a(SourceFile:133) at com.mendix.externalinterface.connector.RequestDispatching$Worker$a.apply(SourceFile:131) at akka.actor.Actor$class.apply(Actor.scala:545) at com.mendix.externalinterface.connector.RequestDispatching$Worker.apply(SourceFile:127) at akka.actor.LocalActorRef.invoke(ActorRef.scala:910) at akka.dispatch.MessageInvocation.invoke(MessageHandling.scala:25) at akka.dispatch.ExecutableMailbox$class.processMailbox(ExecutorBasedEventDrivenDispatcher.scala:223) at akka.dispatch.ExecutorBasedEventDrivenDispatcher$$anon$4.processMailbox(ExecutorBasedEventDrivenDispatcher.scala:123) at akka.dispatch.ExecutableMailbox$class.run(ExecutorBasedEventDrivenDispatcher.scala:195) at akka.dispatch.ExecutorBasedEventDrivenDispatcher$$anon$4.run(ExecutorBasedEventDrivenDispatcher.scala:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) at akka.dispatch.MonitorableThread.run(ThreadPoolBuilder.scala:192)
asked
1 answers
1

We redid the database conversion. Instead of moving from 253 > 258, 258 > 3.3.2, 3.3.2 > 4.2.1. We now moved (database-wise) from 2.5.3. > 4.2.1. in 1 go. For now the issue seems to have disappeared. We will test some more, but I do expect that the issue has been resolved by this retry.

answered