This content has been marked as final. Show 1 reply
Sorry for the delay in responding ... with forum notifications disabled for a while I only just realized there was something here.
First can you try and use code tags to format your code sample as it is very hard to read.
Second the error relates to the creation of a RealtimeThread which you don't seem to show. You say TestThread is a Runnable but you call start() on it so I assume it is really a Thread. The error you mention typically comes from creation of a NoHeapRealtimeThread when either no explicit initial memory area is given, or one of the passed in parameters was actually allocated in the heap.
Can you give the full stacktrace? The parts I'm seeing don't quite make sense to me.