I'm currently working on a Google ML application (in Java) for Android. The application aims to detect objects in real time camera view provided by the device camera. This is a single activity application, however, two additional classes (GraphicOverlay.java & RectOverlay.java) were added to draw the graphic overlay for the boundingBoxes.
Upon running the application, it immediately shut down after displaying on my device for approximately 2 seconds. I've attempted to find ways to resolve the error, but none that fit this error specifically . Here is my code;
Any additional information required to supplement this question shall be provided upon request.
When you get a stack trace, it's often helpful to look at the full stack trace. The root cause is not at the top but at the bottom (side note: https://bugs.openjdk.java.net/browse/JDK-6507809 has a suggestion to reverse the order of stack traces, starting with the root).
In this case, the root cause says quite a lot:
Is the class' full name correct, including the package? Is your class path set up correctly?