Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-2392

NullPointerException thrown by CaptchaRenderer when re-starting Liferay+JBoss/Liferay+WebLogic

    Details

      Description

      Steps to reproduce:

      1. Deploy the Showcase on a JBoss bundle
      2. Restart the Portal

      Expected results:

      • No errors in the logs re: the CaptchaRenderer

      Actual results:

      13:51:18,464 INFO  [stdout] (MSC service thread 1-13) 13:51:18,458 INFO  [BridgeSessionListener:74] Context initialized for contextPath=[/showcase-portlet]
      13:51:18,467 INFO  [stdout] (MSC service thread 1-13) 13:51:18,465 INFO  [StartupListener:52] Context initialized for contextPath=[/showcase-portlet]
      13:51:18,470 INFO  [stdout] (MSC service thread 1-13) 13:51:18,469 INFO  [StartupListener:79] Copied input-editor.jsp from LiferayFaces JAR to context path file=[/Users/apple/Portals/liferay.com/liferay-portal-6.2.10-sp11-jsf-2.1/jboss-7.1.1/standalone/deployments/showcase-portlet.war/resources/liferay-ui/jsp/input-editor.jsp]
      13:51:18,476 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-13) Initializing Mojarra 2.1.29-04 ( 20150729-1958 https://svn.java.net/svn/mojarra~svn/tags/2.1.29-04@14951) for context '/showcase-portlet'
      ... snipped for brevity ...
      13:51:19,402 INFO  [stdout] (MSC service thread 1-13) 13:51:19,393 ERROR [CaptchaRenderer:68] 
      13:51:19,403 INFO  [stdout] (MSC service thread 1-13) java.lang.NullPointerException
      13:51:19,404 INFO  [stdout] (MSC service thread 1-13) 	at com.liferay.portal.kernel.util.PrefsPropsUtil.getString(PrefsPropsUtil.java:339)
      13:51:19,404 INFO  [stdout] (MSC service thread 1-13) 	at com.liferay.faces.portal.component.captcha.internal.CaptchaRenderer.<clinit>(CaptchaRenderer.java:54)
      13:51:19,405 INFO  [stdout] (MSC service thread 1-13) 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      13:51:19,406 INFO  [stdout] (MSC service thread 1-13) 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      13:51:19,407 INFO  [stdout] (MSC service thread 1-13) 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      13:51:19,407 INFO  [stdout] (MSC service thread 1-13) 	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      13:51:19,408 INFO  [stdout] (MSC service thread 1-13) 	at java.lang.Class.newInstance(Class.java:379)
      13:51:19,409 INFO  [stdout] (MSC service thread 1-13) 	at com.sun.faces.application.annotation.RenderKitConfigHandler.push(RenderKitConfigHandler.java:127)
      13:51:19,410 INFO  [stdout] (MSC service thread 1-13) 	at com.sun.faces.application.annotation.AnnotationManager.applyConfigAnnotations(AnnotationManager.java:200)
      13:51:19,411 INFO  [stdout] (MSC service thread 1-13) 	at com.sun.faces.config.processor.AbstractConfigProcessor.processAnnotations(AbstractConfigProcessor.java:326)
      13:51:19,414 INFO  [stdout] (MSC service thread 1-13) 	at com.sun.faces.config.processor.RenderKitConfigProcessor.process(RenderKitConfigProcessor.java:165)
      13:51:19,415 INFO  [stdout] (MSC service thread 1-13) 	at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
      13:51:19,416 INFO  [stdout] (MSC service thread 1-13) 	at com.sun.faces.config.processor.ManagedBeanConfigProcessor.process(ManagedBeanConfigProcessor.java:270)
      13:51:19,417 INFO  [stdout] (MSC service thread 1-13) 	at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
      13:51:19,417 INFO  [stdout] (MSC service thread 1-13) 	at com.sun.faces.config.processor.ValidatorConfigProcessor.process(ValidatorConfigProcessor.java:120)
      13:51:19,418 INFO  [stdout] (MSC service thread 1-13) 	at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
      13:51:19,419 INFO  [stdout] (MSC service thread 1-13) 	at com.sun.faces.config.processor.ConverterConfigProcessor.process(ConverterConfigProcessor.java:126)
      13:51:19,420 INFO  [stdout] (MSC service thread 1-13) 	at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
      13:51:19,421 INFO  [stdout] (MSC service thread 1-13) 	at com.sun.faces.config.processor.ComponentConfigProcessor.process(ComponentConfigProcessor.java:117)
      13:51:19,422 INFO  [stdout] (MSC service thread 1-13) 	at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
      13:51:19,422 INFO  [stdout] (MSC service thread 1-13) 	at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:341)
      13:51:19,423 INFO  [stdout] (MSC service thread 1-13) 	at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
      13:51:19,424 INFO  [stdout] (MSC service thread 1-13) 	at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116)
      13:51:19,425 INFO  [stdout] (MSC service thread 1-13) 	at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
      13:51:19,426 INFO  [stdout] (MSC service thread 1-13) 	at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:222)
      13:51:19,426 INFO  [stdout] (MSC service thread 1-13) 	at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:361)
      13:51:19,427 INFO  [stdout] (MSC service thread 1-13) 	at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:216)
      13:51:19,428 INFO  [stdout] (MSC service thread 1-13) 	at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)
      13:51:19,428 INFO  [stdout] (MSC service thread 1-13) 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)
      13:51:19,429 INFO  [stdout] (MSC service thread 1-13) 	at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)
      13:51:19,430 INFO  [stdout] (MSC service thread 1-13) 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
      13:51:19,431 INFO  [stdout] (MSC service thread 1-13) 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
      13:51:19,431 INFO  [stdout] (MSC service thread 1-13) 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      13:51:19,432 INFO  [stdout] (MSC service thread 1-13) 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      13:51:19,433 INFO  [stdout] (MSC service thread 1-13) 	at java.lang.Thread.run(Thread.java:745)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                liferay-faces-3.2.5-ga6
                liferay-faces-4.2.5-ga6