Title:
NullPointerException shortly after application start when using cfimage action=captcha
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Chris Hopkins / Chris Hopkins (Chris Hopkins)
Created: 12/03/2015
Components: CFIMAGE
Versions: 11.0
Failure Type: Crash
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Win 2008 Server R2 86 bit
Vote Count: 0
Problem Description:
After performing an app restart via application.stop() we usually get a couple of the below from pages using cfimage action=captcha. I know this is happening at least after all code within the onApplicationStart() method has run aswe have the time dumped at the start and end of the onApplicationStart() method.
Steps to Reproduce:
Call application.stop() while under moderate load and the odd page will throw this error
Actual Result:
NullPointerException
Expected Result:
All works
Any Workarounds:
Timings:
onApplicationStart Start {ts '2015-11-30 14:33:48'}
onApplicationStart End {ts '2015-11-30 14:34:13'}
Error Timestamp: {ts '2015-11-30 14:34:18'}
Brief Excerpt from error:
EXCEPTION:
[struct]
Cause:
[struct]
Message: [empty string]
StackTrace: java.lang.NullPointerException
at coldfusion.image.CaptchaMaker.getUserFonts(CaptchaMaker.java:374)
at coldfusion.image.CaptchaMaker.(CaptchaMaker.java:116)
at coldfusion.tagext.io.ImageTag.handleCaptchaRequest(ImageTag.java:515)
at coldfusion.tagext.io.ImageTag.doStartTag(ImageTag.java:338)
at cfreview_add2ecfm2023801284.runPage(A:\PATH-REMOVED\review_add.cfm:393)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:246)
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4095231
External Customer Info:
External Company:
External Customer Name: Chris Hopkins
External Customer Email:
External Test Config: My Hardware and Environment details:
IIS 7.5
Win server 2008
CF11 update 7, but has happened on since we switched to CF11 ( from hotfix 5 onward )
Attachments:
- December 09, 2015 00:00:00: 1_captcha-null-pointer-exception.txt
Comments: