Title: IllegalStateException with AndroidAnnotations 4.1 and @EViewGroup / @OrmLiteDao · Issue #2048 · androidannotations/androidannotations · GitHub
Open Graph Title: IllegalStateException with AndroidAnnotations 4.1 and @EViewGroup / @OrmLiteDao · Issue #2048 · androidannotations/androidannotations
X Title: IllegalStateException with AndroidAnnotations 4.1 and @EViewGroup / @OrmLiteDao · Issue #2048 · androidannotations/androidannotations
Description: I have the same issue as #1887. I updated #1887, but there is no response maybe due to issue status(closed). I cannot upgrade AA to 4.x because of upgration cost with this issue... (many many views are using OrmLiteDao annotations in my ...
Open Graph Description: I have the same issue as #1887. I updated #1887, but there is no response maybe due to issue status(closed). I cannot upgrade AA to 4.x because of upgration cost with this issue... (many many views...
X Description: I have the same issue as #1887. I updated #1887, but there is no response maybe due to issue status(closed). I cannot upgrade AA to 4.x because of upgration cost with this issue... (many many views...
Opengraph URL: https://github.com/androidannotations/androidannotations/issues/2048
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"IllegalStateException with AndroidAnnotations 4.1 and @EViewGroup / @OrmLiteDao","articleBody":"I have the same issue as #1887.\r\nI updated #1887, but there is no response maybe due to issue status(closed).\r\n\r\nI cannot upgrade AA to 4.x because of upgration cost with this issue...\r\n(many many views are using OrmLiteDao annotations in my product...)\r\n\r\nMaybe you can reproduce with these simple sources.\r\n(My AA version is 4.3.1 but reproduced with 4.1)\r\n\r\nTestDao.java\r\n```TestDao.java\r\npublic class TestDao extends BaseDaoImpl\u003cTestEntity, Integer\u003e {\r\n\tprotected TestDao(ConnectionSource connectionSource, Class\u003cTestEntity\u003e dataClass) throws SQLException {\r\n\t\tsuper(connectionSource, dataClass);\r\n\t}\r\n}\r\n```\r\n\r\nTestEntity.java\r\n```TestEntity.java\r\n@DatabaseTable(tableName = \"Test\", daoClass = TestDao.class)\r\npublic class TestEntity {\r\n}\r\n```\r\n\r\nTestView.java\r\n```TestView.java\r\n\r\n@EViewGroup\r\npublic class TestView extends FrameLayout {\r\n\r\n\t@OrmLiteDao(helper = DBHelper.class)\r\n\tTestDao testDao;\r\n\r\n\tpublic TestView(@NonNull Context context) {\r\n\t\tsuper(context);\r\n\t}\r\n\r\n}\r\n```\r\n\r\nDBHelper.java\r\n```DBHelper.java\r\npublic class DBHelper extends OrmLiteSqliteOpenHelper {\r\n\tpublic DBHelper(Context context) {\r\n\t\tsuper(context, \"test.db\", null, 1);\r\n\t}\r\n\r\n\t@Override\r\n\tpublic void onCreate(SQLiteDatabase database, ConnectionSource connectionSource) {}\r\n\r\n\t@Override\r\n\tpublic void onUpgrade(SQLiteDatabase database, ConnectionSource connectionSource, int oldVersion, int newVersion) {}\r\n}\r\n```\r\n","author":{"url":"https://github.com/ytakahashi1981","@type":"Person","name":"ytakahashi1981"},"datePublished":"2017-09-22T10:20:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/2048/androidannotations/issues/2048"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e64e0ffa-4f73-3a97-f3c2-ea9cd819e2df |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C93E:150BF8:2150A1:2C1936:6A616CF0 |
| html-safe-nonce | 0f11b10c6d570e9dbe65ca41dbec704eaf557461ce5e6c4cf2d943372e89e4da |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTNFOjE1MEJGODoyMTUwQTE6MkMxOTM2OjZBNjE2Q0YwIiwidmlzaXRvcl9pZCI6IjI3MTMyNDg2NDUwMzA5NjQ0NjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 93b93b9014b84f0412647c34a9dc8bf2763588a1c5cffcf0e39b51ec36d04435 |
| hovercard-subject-tag | issue:259769792 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/androidannotations/androidannotations/2048/issue_layout |
| twitter:image | https://opengraph.githubassets.com/028a6b037edc6599aeffe5b189dfc9fedb9b3ec2d43c8772c549dd5fbbb9f248/androidannotations/androidannotations/issues/2048 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/028a6b037edc6599aeffe5b189dfc9fedb9b3ec2d43c8772c549dd5fbbb9f248/androidannotations/androidannotations/issues/2048 |
| og:image:alt | I have the same issue as #1887. I updated #1887, but there is no response maybe due to issue status(closed). I cannot upgrade AA to 4.x because of upgration cost with this issue... (many many views... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ytakahashi1981 |
| hostname | github.com |
| expected-hostname | github.com |
| None | a69385f7d268ece7ad25b131bbd70f457024811fc79afcae43785a6849b724e2 |
| turbo-cache-control | no-preview |
| go-import | github.com/androidannotations/androidannotations git https://github.com/androidannotations/androidannotations.git |
| octolytics-dimension-user_id | 1315313 |
| octolytics-dimension-user_login | androidannotations |
| octolytics-dimension-repository_id | 3116751 |
| octolytics-dimension-repository_nwo | androidannotations/androidannotations |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3116751 |
| octolytics-dimension-repository_network_root_nwo | androidannotations/androidannotations |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 484cf265a1f970d5c7a5e7c37cb677d8010aa12f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width