I'm trying to get a class whose instance has already been created and I want to use that instance. The name of the needed class and the correct package is specified. However. I'm getting an java.lang.IllegalStateException stating that the specified class could not be found. All of the package names and the imports in each class have been checked and they all match.
Does anyone knows why this is being generated please?