René's URL Explorer Experiment


Title: When use `@Inject` the dao,will cause NullPointerException · Issue #21 · actframework/act-ebean-java7 · GitHub

Open Graph Title: When use `@Inject` the dao,will cause NullPointerException · Issue #21 · actframework/act-ebean-java7

X Title: When use `@Inject` the dao,will cause NullPointerException · Issue #21 · actframework/act-ebean-java7

Description: my maven project is was splited into two module:one is start which include service、controller etc。the other is about db info which defines Entity with tables。 when project started ,we will get following Error messeges:,but if everyting i...

Open Graph Description: my maven project is was splited into two module:one is start which include service、controller etc。the other is about db info which defines Entity with tables。 when project started ,we will get foll...

X Description: my maven project is was splited into two module:one is start which include service、controller etc。the other is about db info which defines Entity with tables。 when project started ,we will get foll...

Opengraph URL: https://github.com/actframework/act-ebean-java7/issues/21

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"When use `@Inject`  the dao,will cause NullPointerException","articleBody":"my maven project is  was splited into two module:one is start which include service、controller etc。the other is about db info which defines **Entity** with tables。\r\n\r\nwhen project started ,we will get following  **Error messeges:**,but if everyting include in only one module, will be fine.\r\n\r\n```\r\n2019-03-14 10:34:35,895 INFO  a.a.ApiManager@[jobs-thread-4] - start compiling API book\r\n2019-03-14 10:34:36,259 WARN  a.a.ApiManager@[jobs-thread-4] - error generating sample data for type: interface java.util.List\r\n2019-03-14 10:34:36,391 WARN  a.j.Job@[jobs-thread-4] - error executing job compile-api-book\r\njava.lang.NullPointerException: null\r\n\tat act.db.ebean.EbeanDao.setEbean(EbeanDao.java:126)\r\n\tat act.db.ebean.EbeanDao.ebean(EbeanDao.java:81)\r\n\tat act.db.ebean.EbeanDao.dbService(EbeanDao.java:87)\r\n\tat act.db.ebean.EbeanDao.\u003cinit\u003e(EbeanDao.java:66)\r\n\tat act.db.ebean.EbeanService.defaultDao(EbeanService.java:156)\r\n\tat act.app.DbServiceManager.dao(DbServiceManager.java:178)\r\n\tat act.db.ebean.util.EbeanDaoLoader.load(EbeanDaoLoader.java:47)\r\n\tat act.db.ebean.util.EbeanDaoLoader.load(EbeanDaoLoader.java:33)\r\n\tat org.osgl.inject.Genie$7.get(Genie.java:945)\r\n\tat org.osgl.inject.Genie$8.get(Genie.java:987)\r\n\tat org.osgl.inject.Genie$FieldInjector.applyTo(Genie.java:467)\r\n\tat org.osgl.inject.Genie$10.get(Genie.java:1040)\r\n\tat org.osgl.inject.Genie$8.get(Genie.java:987)\r\n\tat org.osgl.inject.Genie.get(Genie.java:570)\r\n\tat org.osgl.inject.provider.LazyProvider.get(LazyProvider.java:45)\r\n\tat org.osgl.inject.Genie$8.get(Genie.java:987)\r\n\tat org.osgl.inject.Genie$WeightedProvider.get(Genie.java:443)\r\n\tat org.osgl.inject.Genie$FieldInjector.applyTo(Genie.java:467)\r\n\tat org.osgl.inject.Genie$10.get(Genie.java:1040)\r\n\tat org.osgl.inject.Genie$8.get(Genie.java:987)\r\n\tat org.osgl.inject.Genie.get(Genie.java:570)\r\n\tat act.inject.genie.GenieInjector.get(GenieInjector.java:76)\r\n\tat act.app.App.getInstance(App.java:1118)\r\n\tat act.util.ReflectedInvokerHelper.tryGetSingleton(ReflectedInvokerHelper.java:60)\r\n\tat act.handler.builtin.controller.impl.ReflectedHandlerInvoker.\u003cinit\u003e(ReflectedHandlerInvoker.java:354)\r\n\tat act.handler.builtin.controller.impl.ReflectedHandlerInvoker.createControllerAction(ReflectedHandlerInvoker.java:1177)\r\n\tat act.Act$Mode.createRequestHandler(Act.java:150)\r\n\tat act.handler.builtin.controller.RequestHandlerProxy.generateHandlers(RequestHandlerProxy.java:425)\r\n\tat act.handler.builtin.controller.RequestHandlerProxy.ensureAgentsReady(RequestHandlerProxy.java:349)\r\n\tat act.handler.builtin.controller.RequestHandlerProxy.actionHandler(RequestHandlerProxy.java:176)\r\n\tat act.apidoc.Endpoint.explore(Endpoint.java:323)\r\n\tat act.apidoc.Endpoint.\u003cinit\u003e(Endpoint.java:222)\r\n\tat act.apidoc.ApiManager$4.visit(ApiManager.java:193)\r\n\tat act.route.Router.visit(Router.java:225)\r\n\tat act.route.Router.visit(Router.java:228)\r\n\tat act.route.Router.visit(Router.java:228)\r\n\tat act.route.Router.accept(Router.java:184)\r\n\tat act.apidoc.ApiManager.load(ApiManager.java:188)\r\n\tat act.apidoc.ApiManager.load(ApiManager.java:133)\r\n\tat act.apidoc.ApiManager$1.run(ApiManager.java:94)\r\n\tat act.job.Job$4.apply(Job.java:442)\r\n\tat act.job.Job.doJob(Job.java:403)\r\n\tat act.job.Job.run(Job.java:338)\r\n\tat act.job.Job$LockableJobList.runSubJobs(Job.java:112)\r\n\tat act.job.Job$LockableJobList.runSubJobs(Job.java:93)\r\n\tat act.job.Job.runFollowingJobs(Job.java:423)\r\n\tat act.job.Job.run(Job.java:392)\r\n\tat act.job.JobManager$_SysEventListener.on(JobManager.java:477)\r\n\tat act.event.EventBus.callOn(EventBus.java:1354)\r\n\tat act.event.EventBus.callOn(EventBus.java:1376)\r\n\tat act.event.EventBus.callOn(EventBus.java:1406)\r\n\tat act.event.EventBus._emit(EventBus.java:1267)\r\n\tat act.event.EventBus.emit(EventBus.java:723)\r\n\tat act.app.App.emit(App.java:1282)\r\n\tat act.app.App$5.run(App.java:822)\r\n\tat act.job.Job$4.apply(Job.java:442)\r\n\tat act.job.Job.doJob(Job.java:403)\r\n\tat act.job.Job.run(Job.java:338)\r\n\tat act.job.Job$LockableJobList.runSubJobs(Job.java:112)\r\n\tat act.job.Job$LockableJobList.runSubJobs(Job.java:93)\r\n\tat act.job.Job.runPrecedenceJobs(Job.java:419)\r\n\tat act.job.Job.run(Job.java:330)\r\n\tat act.job.JobManager$_SysEventListener.on(JobManager.java:477)\r\n\tat act.event.EventBus.callOn(EventBus.java:1354)\r\n\tat act.event.EventBus.callOn(EventBus.java:1376)\r\n\tat act.event.EventBus.callOn(EventBus.java:1406)\r\n\tat act.event.EventBus._emit(EventBus.java:1267)\r\n\tat act.event.EventBus.emit(EventBus.java:723)\r\n\tat act.app.App.emit(App.java:1282)\r\n\tat act.app.DbServiceManager$1.run(DbServiceManager.java:77)\r\n\tat act.app.DbServiceManager$3.on(DbServiceManager.java:132)\r\n\tat act.app.DbServiceManager$3.on(DbServiceManager.java:126)\r\n\tat act.event.EventBus.callOn(EventBus.java:1354)\r\n\tat act.event.EventBus.callOn(EventBus.java:1376)\r\n\tat act.event.EventBus.callOn(EventBus.java:1411)\r\n\tat act.event.EventBus._emitWithOnceBus(EventBus.java:1327)\r\n\tat act.event.EventBus.emit(EventBus.java:891)\r\n\tat act.db.sql.SqlDbService$4.run(SqlDbService.java:142)\r\n\tat act.job.Job$4.apply(Job.java:442)\r\n\tat act.job.Job.doJob(Job.java:403)\r\n\tat act.job.Job.run(Job.java:338)\r\n\tat act.job.Job$LockableJobList.runSubJobs(Job.java:112)\r\n\tat act.job.Job$LockableJobList.runSubJobs(Job.java:93)\r\n\tat act.job.Job.runFollowingJobs(Job.java:423)\r\n\tat act.job.Job.run(Job.java:392)\r\n\tat act.job.JobManager$_SysEventListener.on(JobManager.java:477)\r\n\tat act.event.EventBus.callOn(EventBus.java:1354)\r\n\tat act.event.EventBus.callOn(EventBus.java:1376)\r\n\tat act.event.EventBus.callOn(EventBus.java:1406)\r\n\tat act.event.EventBus._emit(EventBus.java:1267)\r\n\tat act.event.EventBus.emit(EventBus.java:723)\r\n\tat act.app.App.emit(App.java:1282)\r\n\tat act.app.App$4.run(App.java:797)\r\n\tat act.job.JobManager$ContextualJob$1.apply(JobManager.java:529)\r\n\tat act.job.Job.doJob(Job.java:403)\r\n\tat act.job.Job.run(Job.java:338)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n```","author":{"url":"https://github.com/flyingbeecd","@type":"Person","name":"flyingbeecd"},"datePublished":"2019-03-14T02:53:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/21/act-ebean-java7/issues/21"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d26bbf7d-4247-0154-1ba9-dad803745943
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA876:11F96E:4D9DD16:6994A98:6973156D
html-safe-nonce01e9a86c5251c239e871e54dda14ae8383f1c12375dd5d4d3d5a105107a6764f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODc2OjExRjk2RTo0RDlERDE2OjY5OTRBOTg6Njk3MzE1NkQiLCJ2aXNpdG9yX2lkIjoiNzU3MTA3MDU4NDgxNzM5MDk1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacea85264ca8e282ca12451a93496eecdf6ef6da4cba6a9e4f0bd46a5c62fcada9
hovercard-subject-tagissue:420808374
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/actframework/act-ebean-java7/21/issue_layout
twitter:imagehttps://opengraph.githubassets.com/cf8a5d9611974932811e74ebddf981319abe389e61a36b2fcc3e50f65a0d5f4e/actframework/act-ebean-java7/issues/21
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cf8a5d9611974932811e74ebddf981319abe389e61a36b2fcc3e50f65a0d5f4e/actframework/act-ebean-java7/issues/21
og:image:altmy maven project is was splited into two module:one is start which include service、controller etc。the other is about db info which defines Entity with tables。 when project started ,we will get foll...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameflyingbeecd
hostnamegithub.com
expected-hostnamegithub.com
None44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4
turbo-cache-controlno-preview
go-importgithub.com/actframework/act-ebean-java7 git https://github.com/actframework/act-ebean-java7.git
octolytics-dimension-user_id12588134
octolytics-dimension-user_loginactframework
octolytics-dimension-repository_id38042707
octolytics-dimension-repository_nwoactframework/act-ebean-java7
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id38042707
octolytics-dimension-repository_network_root_nwoactframework/act-ebean-java7
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea5e2b48bd1260476599758f5d253b5d24092ab84
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/actframework/act-ebean-java7/issues/21#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Factframework%2Fact-ebean-java7%2Fissues%2F21
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Factframework%2Fact-ebean-java7%2Fissues%2F21
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=actframework%2Fact-ebean-java7
Reloadhttps://patch-diff.githubusercontent.com/actframework/act-ebean-java7/issues/21
Reloadhttps://patch-diff.githubusercontent.com/actframework/act-ebean-java7/issues/21
Reloadhttps://patch-diff.githubusercontent.com/actframework/act-ebean-java7/issues/21
actframework https://patch-diff.githubusercontent.com/actframework
act-ebean-java7https://patch-diff.githubusercontent.com/actframework/act-ebean-java7
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Factframework%2Fact-ebean-java7
Fork 3 https://patch-diff.githubusercontent.com/login?return_to=%2Factframework%2Fact-ebean-java7
Star 3 https://patch-diff.githubusercontent.com/login?return_to=%2Factframework%2Fact-ebean-java7
Code https://patch-diff.githubusercontent.com/actframework/act-ebean-java7
Issues 7 https://patch-diff.githubusercontent.com/actframework/act-ebean-java7/issues
Pull requests 0 https://patch-diff.githubusercontent.com/actframework/act-ebean-java7/pulls
Actions https://patch-diff.githubusercontent.com/actframework/act-ebean-java7/actions
Projects 0 https://patch-diff.githubusercontent.com/actframework/act-ebean-java7/projects
Wiki https://patch-diff.githubusercontent.com/actframework/act-ebean-java7/wiki
Security 0 https://patch-diff.githubusercontent.com/actframework/act-ebean-java7/security
Insights https://patch-diff.githubusercontent.com/actframework/act-ebean-java7/pulse
Code https://patch-diff.githubusercontent.com/actframework/act-ebean-java7
Issues https://patch-diff.githubusercontent.com/actframework/act-ebean-java7/issues
Pull requests https://patch-diff.githubusercontent.com/actframework/act-ebean-java7/pulls
Actions https://patch-diff.githubusercontent.com/actframework/act-ebean-java7/actions
Projects https://patch-diff.githubusercontent.com/actframework/act-ebean-java7/projects
Wiki https://patch-diff.githubusercontent.com/actframework/act-ebean-java7/wiki
Security https://patch-diff.githubusercontent.com/actframework/act-ebean-java7/security
Insights https://patch-diff.githubusercontent.com/actframework/act-ebean-java7/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/actframework/act-ebean-java7/issues/21
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/actframework/act-ebean-java7/issues/21
When use @Inject the dao,will cause NullPointerExceptionhttps://patch-diff.githubusercontent.com/actframework/act-ebean-java7/issues/21#top
https://github.com/flyingbeecd
https://github.com/flyingbeecd
flyingbeecdhttps://github.com/flyingbeecd
on Mar 14, 2019https://github.com/actframework/act-ebean-java7/issues/21#issue-420808374
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.