My Oracle Support Banner

NullPointerExceptions On Launching Of OWD Screen while Generation Of Captcha Images (Doc ID 2433329.1)

Last updated on AUGUST 09, 2018

Applies to:

Oracle Policy Automation - Version 12.2.7 and later
Information in this document applies to any platform.

Symptoms

NullPointerExceptions on launching of OWD screen while generation of captcha images.

java.lang.NullPointerException

at com.jhlabs.image.ShadowFilter.imageComplete(ShadowFilter.java)
at sun.awt.image.OffScreenImageSource.produce(OffScreenImageSource.java:189)
at sun.awt.image.OffScreenImageSource.addConsumer(OffScreenImageSource.java:66)
at sun.awt.image.OffScreenImageSource.startProduction(OffScreenImageSource.java:80)
at java.awt.image.FilteredImageSource.startProduction(FilteredImageSource.java:183)
at sun.awt.image.ImageRepresentation.startProduction(ImageRepresentation.java:732)
at sun.awt.image.ImageRepresentation.drawToBufImage(ImageRepresentation.java:807)
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:1021)
at sun.java2d.pipe.ValidatePipe.copyImage(ValidatePipe.java:186)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3318)
at nl.captcha.util.ImageUtil.applyFilter(ImageUtil.java:15)
at nl.captcha.gimpy.DropShadowGimpyRenderer.gimp(DropShadowGimpyRenderer.java:35)
at nl.captcha.Captcha$Builder.gimp(Captcha.java:180)
at com.oracle.determinations.interview.web.v2_0.captcha.SimpleCaptchaStrategy.generateCaptchaImage(SimpleCaptchaStrategy.java:90)
at com.oracle.determinations.interview.web.v2_0.captcha.CaptchaGenerator.generateCaptchaImage(CaptchaGenerator.java:31)
at com.oracle.determinations.web.platform.controller.actions.CaptchaAction.doGetResource(CaptchaAction.java:51)
at com.oracle.determinations.web.platform.controller.actions.Action.getResource(Action.java:76)
at com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.processRequest(WebDeterminationsServlet.java:273)
at com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.doGet(WebDeterminationsServlet.java:192)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at com.oracle.determinations.web.platform.servlet.URLFilter.doFilter(URLFilter.java:152)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3654)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)
at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)
at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProvid

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.