While testing an application i got this stacktrace: An error has occurred while handling the request. [User 'mxadmin' with roles 'Administrator'] -------- java.lang.NullPointerException at java.util.ArrayList.addAll(ArrayList.java:472) at com.mendix.core.Core.commit(SourceFile:535) at com.mendix.core.Core.commit(SourceFile:513) at gj.execute(SourceFile:40) at iW.a(SourceFile:285) at ja$g.a(SourceFile:126) at ja$g$a.a(SourceFile:118) at ja$g$a.apply(SourceFile:116) at akka.actor.Actor$class.apply(Actor.scala:545) at ja$g.apply(SourceFile:112) 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) This happened after changing a value with the reference selector from empty to a another value. Is it me or is it harder to debug now with the scala language. There must be a problem with the reference selector, but I am a bit at loss here what is happening. Regards, Ronald
Please file a ticket with this case. Also stacktraces are not so you can debug but so we can debug :) anyway this seems to be caused by using null as an argument for ArrayList.addAll so it has nothing to do with scala. The entire stacktrace beyond line 3 is pretty much irrelevant for this case.