{"action":"created","issue":{"url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/issues/3","labels_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/issues/3/comments","events_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/issues/3/events","html_url":"https://github.com/MikhailSkiyAtWork/Lab_55/pull/3","id":94027404,"number":3,"title":"Lab 273 content providers","user":{"login":"MikhailSkiyAtWork","id":12441949,"avatar_url":"https://avatars.githubusercontent.com/u/12441949?v=3","gravatar_id":"","url":"https://api.github.com/users/MikhailSkiyAtWork","html_url":"https://github.com/MikhailSkiyAtWork","followers_url":"https://api.github.com/users/MikhailSkiyAtWork/followers","following_url":"https://api.github.com/users/MikhailSkiyAtWork/following{/other_user}","gists_url":"https://api.github.com/users/MikhailSkiyAtWork/gists{/gist_id}","starred_url":"https://api.github.com/users/MikhailSkiyAtWork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikhailSkiyAtWork/subscriptions","organizations_url":"https://api.github.com/users/MikhailSkiyAtWork/orgs","repos_url":"https://api.github.com/users/MikhailSkiyAtWork/repos","events_url":"https://api.github.com/users/MikhailSkiyAtWork/events{/privacy}","received_events_url":"https://api.github.com/users/MikhailSkiyAtWork/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-09T11:55:33Z","updated_at":"2015-07-09T22:59:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/pulls/3","html_url":"https://github.com/MikhailSkiyAtWork/Lab_55/pull/3","diff_url":"https://github.com/MikhailSkiyAtWork/Lab_55/pull/3.diff","patch_url":"https://github.com/MikhailSkiyAtWork/Lab_55/pull/3.patch"},"body":"http://redmine.weezlabs.com:8100/redmine/boards/8/topics/273"},"comment":{"url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/issues/comments/120169980","html_url":"https://github.com/MikhailSkiyAtWork/Lab_55/pull/3#issuecomment-120169980","issue_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/issues/3","id":120169980,"user":{"login":"oxied","id":1070647,"avatar_url":"https://avatars.githubusercontent.com/u/1070647?v=3","gravatar_id":"","url":"https://api.github.com/users/oxied","html_url":"https://github.com/oxied","followers_url":"https://api.github.com/users/oxied/followers","following_url":"https://api.github.com/users/oxied/following{/other_user}","gists_url":"https://api.github.com/users/oxied/gists{/gist_id}","starred_url":"https://api.github.com/users/oxied/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oxied/subscriptions","organizations_url":"https://api.github.com/users/oxied/orgs","repos_url":"https://api.github.com/users/oxied/repos","events_url":"https://api.github.com/users/oxied/events{/privacy}","received_events_url":"https://api.github.com/users/oxied/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T22:59:12Z","updated_at":"2015-07-09T22:59:12Z","body":"Got exception on DB upgrade:\r\n    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.admin.personallibrarycatalogue/com.example.admin.personallibrarycatalogue.MainActivity}: android.database.sqlite.SQLiteException: table books already exists (code 1): , while compiling: CREATE TABLE books (_id INTEGER PRIMARY KEY AUTOINCREMENT,author TEXT NOT NULL, title TEXT NOT NULL, description TEXT, cover BLOB,year INTEGER, isbn TEXT );\r\n            at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2110)\r\n            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2135)\r\n            at android.app.ActivityThread.access$700(ActivityThread.java:140)\r\n            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237)\r\n            at android.os.Handler.dispatchMessage(Handler.java:99)\r\n            at android.os.Looper.loop(Looper.java:137)\r\n            at android.app.ActivityThread.main(ActivityThread.java:4921)\r\n            at java.lang.reflect.Method.invokeNative(Native Method)\r\n            at java.lang.reflect.Method.invoke(Method.java:511)\r\n            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)\r\n            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)\r\n            at dalvik.system.NativeStart.main(Native Method)\r\n     Caused by: android.database.sqlite.SQLiteException: table books already exists (code 1): , while compiling: CREATE TABLE books (_id INTEGER PRIMARY KEY AUTOINCREMENT,author TEXT NOT NULL, title TEXT NOT NULL, description TEXT, cover BLOB,year INTEGER, isbn TEXT );\r\n            at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)\r\n            at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:1013)\r\n            at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:624)\r\n            at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)\r\n            at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)\r\n            at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:31)\r\n            at android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:1663)\r\n            at android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1594)\r\n            at com.example.admin.personallibrarycatalogue.data.LibraryDatabaseHelper.onCreate(LibraryDatabaseHelper.java:47)\r\n            at com.example.admin.personallibrarycatalogue.data.LibraryDatabaseHelper.onUpgrade(LibraryDatabaseHelper.java:53)\r\n            at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:257)\r\n            at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:188)\r\n            at com.example.admin.personallibrarycatalogue.data.BooksProvider.query(BooksProvider.java:53)\r\n            at android.content.ContentProvider.query(ContentProvider.java:652)\r\n            at android.content.ContentProvider$Transport.query(ContentProvider.java:189)\r\n            at android.content.ContentResolver.query(ContentResolver.java:372)\r\n            at android.content.ContentResolver.query(ContentResolver.java:315)\r\n            at com.example.admin.personallibrarycatalogue.MainActivity.onCreate(MainActivity.java:35)\r\n            at android.app.Activity.performCreate(Activity.java:5206)\r\n            at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)\r\n            at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2074)\r\n            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2135)\r\n            at android.app.ActivityThread.access$700(ActivityThread.java:140)\r\n            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237)\r\n            at android.os.Handler.dispatchMessage(Handler.java:99)\r\n            at android.os.Looper.loop(Looper.java:137)\r\n            at android.app.ActivityThread.main(ActivityThread.java:4921)\r\n            at java.lang.reflect.Method.invokeNative(Native Method)\r\n            at java.lang.reflect.Method.invoke(Method.java:511)\r\n            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)\r\n            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)\r\n            at dalvik.system.NativeStart.main(Native Method)"}}