For some reason I'm getting a java stackoverflow e...
# box-products
m
For some reason I'm getting a java stackoverflow error when I try to call
runEvent(event="blah", private="true", prePostExempt="true")
from within my
preHandler
. Is this a no-no?
It's dying in
CF_NEOPAGECONTEXT.GETROOTLOGGER in /app/coldbox/system/logging/LogBox.cfc:126
j
It's working for me. Are you specifying the handler in the event as well? e.g.
runEvent( event="main.test", etc. )
where
main
is the handler and
test
the method?
m
yeah - sorry, just redacted it. I was calling the same handler via runEvent from a non-preHandler handler and it worked ok. Just when I moved the call to the preHandler it started dying on me. I'm on v5.something
for now, since the code in the handler was only needed in the preHandler, I just inlined it 😄 🦾
🙂 1
j
I tried on v6.6 so maybe an update would fix it?
👍 1
m
updating versions is probably needed at this point anyway - just that it's a major production for testing a Big Ole Monolith ™️ whenever we do 😄
j
Understood. Only too well.
m
insert 'nam PTSD doggo meme here
😂 1