{"action":"opened","issue":{"url":"https://api.github.com/repos/satyan/sugar/issues/247","labels_url":"https://api.github.com/repos/satyan/sugar/issues/247/labels{/name}","comments_url":"https://api.github.com/repos/satyan/sugar/issues/247/comments","events_url":"https://api.github.com/repos/satyan/sugar/issues/247/events","html_url":"https://github.com/satyan/sugar/issues/247","id":55757432,"number":247,"title":"Warning when application opens (Float cannot be cast to Integer)","user":{"login":"SwiTool","id":8834915,"avatar_url":"https://avatars.githubusercontent.com/u/8834915?v=3","gravatar_id":"","url":"https://api.github.com/users/SwiTool","html_url":"https://github.com/SwiTool","followers_url":"https://api.github.com/users/SwiTool/followers","following_url":"https://api.github.com/users/SwiTool/following{/other_user}","gists_url":"https://api.github.com/users/SwiTool/gists{/gist_id}","starred_url":"https://api.github.com/users/SwiTool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SwiTool/subscriptions","organizations_url":"https://api.github.com/users/SwiTool/orgs","repos_url":"https://api.github.com/users/SwiTool/repos","events_url":"https://api.github.com/users/SwiTool/events{/privacy}","received_events_url":"https://api.github.com/users/SwiTool/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-28T13:43:52Z","updated_at":"2015-01-28T13:43:52Z","closed_at":null,"body":"Hi,\r\n\r\nin version 1.3, when I run my application, i get this message in the console :\r\n\r\n```\r\n01-28 14:28:11.802  13190-13190/epitech.epiandroid W/Bundle﹕ Key VERSION expected Integer but value was a java.lang.Float.  The default value 0 was returned.\r\n01-28 14:28:11.812  13190-13190/epitech.epiandroid W/Bundle﹕ Attempt to cast generated internal exception:\r\n    java.lang.ClassCastException: java.lang.Float cannot be cast to java.lang.Integer\r\n            at android.os.Bundle.getInt(Bundle.java:1000)\r\n            at android.os.Bundle.getInt(Bundle.java:982)\r\n            at com.orm.SugarConfig.getMetaDataInteger(SugarConfig.java:91)\r\n            at com.orm.SugarConfig.getDatabaseVersion(SugarConfig.java:48)\r\n            at com.orm.SugarDb.<init>(SugarDb.java:27)\r\n            at com.orm.Database.<init>(Database.java:12)\r\n            at com.orm.SugarApp.onCreate(SugarApp.java:11)\r\n            at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1025)\r\n            at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4581)\r\n            at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)\r\n            at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)\r\n            at android.app.ActivityThread.handleBindApplication(Native Method)\r\n            at android.app.ActivityThread.access$1600(ActivityThread.java:161)\r\n            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1325)\r\n            at android.os.Handler.dispatchMessage(Handler.java:102)\r\n            at android.os.Looper.loop(Looper.java:157)\r\n            at android.app.ActivityThread.main(ActivityThread.java:5356)\r\n            at java.lang.reflect.Method.invokeNative(Native Method)\r\n            at java.lang.reflect.Method.invoke(Method.java:515)\r\n            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)\r\n            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)\r\n            at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)\r\n            at dalvik.system.NativeStart.main(Native Method)\r\n```\r\n\r\nCan you tell me if you are responsible for this error or tell me if I missed a step ?\r\n\r\nThanks"}}