Debugging in 4.0.1

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( 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$class.apply(Actor.scala:545) at ja$g.apply(SourceFile:112) at 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$ at akka.dispatch.ExecutorBasedEventDrivenDispatcher$$anon$ at java.util.concurrent.ThreadPoolExecutor$Worker.runTask( at java.util.concurrent.ThreadPoolExecutor$ at at 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
1 answers

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.