Hi Brad, thanks for your reply!!
I am using AdobeCF 10 on MacOSX (sorry, should have mentioned).
After playing around some more I have narrowed it down to the active entity plugin. I am injecting the Profile entity in the top of some of my models & handlers with:
property name="profile" inject="entityService:Profile";
When the error occurs, I just need to follow these steps:
- Remove entityService, so I have:
`
property name=“profile” inject=“Profile”;
`
-
Reload the Application, and it loads fine
-
Put entityService back into my property, so I have this again:
property name="profile" inject="entityService:Profile:'
- Reload the Application again, and all runs fine… Until I make a change to /model/Provile.cfc, and have to go through the process again.
So… I guess to answer your question… it runs inside Coldbox fine, but the issue arises when I try to inject it with entityService.
Also, since my last post, I have added some settings to Application.cfc ormsettings:
`
flushAtRequestEnd = false,
autoManageSession = false,
`
Here is the stacktrace…
Stack Trace |
- |
at cfCFORMUtil2ecfc1991240640$funcGETENTITYDATASOURCE.runFunction(/Users/jason/Sites/Groups/site/coldbox/system/orm/hibernate/util/CFORMUtil.cfc:69) at cfVirtualEntityService2ecfc28374120$funcINIT.runFunction(/Users/jason/Sites/Groups/site/coldbox/system/orm/hibernate/VirtualEntityService.cfc:67) at cfBuilder2ecfc213053196$funcGETENTITYSERVICEDSL.runFunction(/Users/jason/Sites/Groups/site/coldbox/system/ioc/Builder.cfc:376) at cfBuilder2ecfc213053196$funcBUILDDSLDEPENDENCY.runFunction(/Users/jason/Sites/Groups/site/coldbox/system/ioc/Builder.cfc:333) at cfInjector2ecfc1099092999$funcPROCESSINJECTION.runFunction(/Users/jason/Sites/Groups/site/coldbox/system/ioc/Injector.cfc:584) at cfInjector2ecfc1099092999$funcAUTOWIRE.runFunction(/Users/jason/Sites/Groups/site/coldbox/system/ioc/Injector.cfc:471) at cfSingleton2ecfc1821240492$funcGETFROMSCOPE.runFunction(/Users/jason/Sites/Groups/site/coldbox/system/ioc/scopes/Singleton.cfc:57) at cfInjector2ecfc1099092999$funcGETINSTANCE.runFunction(/Users/jason/Sites/Groups/site/coldbox/system/ioc/Injector.cfc:260) at cfInterceptorService2ecfc1044855851$funcCREATEINTERCEPTOR.runFunction(/Users/jason/Sites/Groups/site/coldbox/system/web/services/InterceptorService.cfc:255) at cfInterceptorService2ecfc1044855851$funcREGISTERINTERCEPTOR.runFunction(/Users/jason/Sites/Groups/site/coldbox/system/web/services/InterceptorService.cfc:196) at cfInterceptorService2ecfc1044855851$funcREGISTERINTERCEPTORS.runFunction(/Users/jason/Sites/Groups/site/coldbox/system/web/services/InterceptorService.cfc:110) at cfInterceptorService2ecfc1044855851$funcONCONFIGURATIONLOAD.runFunction(/Users/jason/Sites/Groups/site/coldbox/system/web/services/InterceptorService.cfc:76) at cfLoaderService2ecfc1009268877$funcLOADAPPLICATION.runFunction(/Users/jason/Sites/Groups/site/coldbox/system/web/services/LoaderService.cfc:81) at cfColdbox2ecfc1792631573$funcLOADCOLDBOX.runFunction(/Users/jason/Sites/Groups/site/coldbox/system/Coldbox.cfc:71) at cfColdbox2ecfc1792631573$funcRELOADCHECKS.runFunction(/Users/jason/Sites/Groups/site/coldbox/system/Coldbox.cfc:102) at cfApplication2ecfc1682482169$funcONREQUESTSTART.runFunction(/Users/jason/Sites/Groups/site/Application.cfc:65) |
Thanks again Brad!!!
Jason