Log("..") method compiles okay, but fails when running tests

Testing a multi-platform library written in Java (for Android and iOS mobile). Log statements compile without warning, but in executing my EUnit tests, getting this:


~> Ignored exception of type java.lang.ClassNotFoundException on thread 0001 ()
~> Message: RemObjects.Elements.RTL.SimpleLogger
~> Ignored exception of type java.lang.ClassNotFoundException on thread 0001 ()
~> Message: RemObjects.Elements.RTL.SimpleLogger
~> Ignored exception of type java.lang.ClassNotFoundException on thread 0001 ()
~> Message: RemObjects.Elements.RTL.IAndroidLogger
~> Ignored exception of type java.lang.ClassNotFoundException on thread 0001 ()
~> Message: RemObjects.Elements.RTL.IAndroidLogger
~> Ignored exception of type java.lang.ClassNotFoundException on thread 0001 ()
~> Message: RemObjects.Elements.RTL.Reflection.Type
~> Ignored exception of type java.lang.ClassNotFoundException on thread 0001 ()
~> Message: RemObjects.Elements.RTL.Reflection.Type
~> Ignored exception of type java.lang.ClassNotFoundException on thread 0001 ()
~> Message: android.util.Log
~> Ignored exception of type java.lang.ClassNotFoundException on thread 0001 ()
~> Message: android.util.Log
~> Ignored exception of type java.lang.ClassNotFoundException on thread 0001 ()
~> Message: android.util.Log
~> Ignored exception of type java.lang.ClassNotFoundException on thread 0001 ()
~> Message: android.util.Log
!> Exception of type java.lang.reflect.InvocationTargetException on thread 0001 ()
TestGetUser finished. State: Failed. Message: [ClassNotFoundException]: android.util.Log

Are you by chance building for Android, but running on regular Java?

Nevermind; reproduced and fixe for today’s built.

Would it be possible for me to get an advanced copy of that build? (My POC timeline is short.)

Unfortunately not; we’re about to start off the build, so it’ll be available as soon as it’s finished :wink:

In the mean time, you can use the attached elements.jar instead of the one we shipped. Just extract it to someplace, and then drag the file onto the References node of your project — Fire should automatically adjust the path of the existing elements.jar reference to it’ll use the copy from that specific path (dont forget to dundo this later,. via the Drop Hint Path context menu command).

elements.jar.zip (546.7 KB)

Oh, do you have a rough ETA for that build? (If its within the next hour or so, I’ll wait on that. Otherwise, I’ll try your work around.)

Thanks

Went ahead and tried your work around - that works. :+1:

1 Like

A full build usually takes ~3h (full setups build of core compiler, and then Fire + Notarization).