java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Calculating work time and cash
    via Stack Overflow by Guy Balas
    ,
  • GitHub comment 1336#153712750
    via GitHub by mfietz
    ,
    • java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Float at android.app.SharedPreferencesImpl.getFloat(SharedPreferencesImpl.java:256) at com.badlogic.gdx.backends.android.AndroidPreferences.getFloat(AndroidPreferences.java:101) at de.ej.facharbeitsspiel.Tools.GamePreferences.load(GamePreferences.java:65) at de.ej.facharbeitsspiel.MainClass.create(MainClass.java:26) at com.badlogic.gdx.backends.android.AndroidGraphics.onSurfaceChanged(AndroidGraphics.java:275) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1633) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1354)
    No Bugmate found.