Hi. My problem that when I try to make afterUpdate or/and beforeUpdate events in CodeRunner appear these messages:
[INFO] Parsing event model...
[INFO] Build successfully: 2 handlers, 0 timers
[INFO] Deploying model to server, and starting debug...
[INFO] Model successfully deployed.
[INFO] Waiting for events...
May 21, 2016 12:06:36 AM com.backendless.coderunner.runtime.task.EventInvocationTask runImpl
SEVERE: null
java.lang.StackOverflowError
at weborb.reader.ReferenceCache.hasObject(ReferenceCache.java:46)
at weborb.reader.ArrayType.defaultAdapt(ArrayType.java:73)
at weborb.reader.ArrayType.defaultAdapt(ArrayType.java:95)
at weborb.reader.ArrayType.defaultAdapt(ArrayType.java:95)
at weborb.reader.ArrayType.defaultAdapt(ArrayType.java:95)
at weborb.reader.ArrayType.defaultAdapt(ArrayType.java:95)
at weborb.reader.ArrayType.defaultAdapt(ArrayType.java:95)
at weborb.reader.ArrayType.defaultAdapt(ArrayType.java:95)
at weborb.reader.ArrayType.defaultAdapt(ArrayType.java:95)
at weborb.reader.ArrayType.defaultAdapt(ArrayType.java:95)
at weborb.reader.ArrayType.defaultAdapt(ArrayType.java:95)
at weborb.reader.ArrayType.defaultAdapt(ArrayType.java:95)
at weborb.reader.ArrayType.defaultAdapt(ArrayType.java:95)
at weborb.reader.ArrayType.defaultAdapt(ArrayType.java:95)
at weborb.reader.ArrayType.defaultAdapt(ArrayType.java:95)
But when I try beforeCreate event everything working well.
And in code without any logic implemented, just empty
@Asset( "rooms" )
public class RoomsTableEventHandler extends com.backendless.servercode.extension.PersistenceExtender<Rooms>
{
@Override
public void beforeUpdate(RunnerContext context, Rooms rooms) throws Exception {
}
}
I tried both Async and Sync variants
CodeRunner is the latest version downloaded from site.
I start CodeRunner under Ubuntu latest version as well.