Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-52031

IllegalArgumentException: Filter can not be null occurred when start the portal

    Details

    • Fix Priority:
      5

      Description

      Steps to reproduce:

      1. Compile and Start the latest master bundle.
      2. Check the console.

      Expected result:
      Portal could be started without issue.

      Actual result:
      Portal start with IllegalArgumentException.

      5:56:42,139 INFO  [pool-7-thread-3][PortletHotDeployListener:387] 1 portlet for documentselectorweb is available for use
      05:56:42,145 ERROR [com.liferay.portal.log.bridge.internal.LogBridge@4e704608][com_liferay_portal_wab_extender:75] Filter cannot be null
      java.lang.IllegalArgumentException: Filter cannot be null
      	at org.eclipse.equinox.http.servlet.internal.context.ContextController.addFilterRegistration(ContextController.java:151)
      	at org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerFilter(HttpServiceImpl.java:114)
      	at com.liferay.portal.wab.extender.internal.WabBundleProcessor.initFilters(WabBundleProcessor.java:320)
      	at com.liferay.portal.wab.extender.internal.WabBundleProcessor.init(WabBundleProcessor.java:156)
      	at com.liferay.portal.wab.extender.internal.WebBundleDeployer.doStart(WebBundleDeployer.java:88)
      	at com.liferay.portal.wab.extender.internal.WabFactory$WABExtension.start(WabFactory.java:165)
      	at org.apache.felix.utils.extender.AbstractExtender$1.run(AbstractExtender.java:265)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:744)
      05:56:42,150 ERROR [com.liferay.portal.log.bridge.internal.LogBridge@4e704608][com_liferay_portal_wab_extender:75] Filter cannot be null
      java.lang.IllegalArgumentException: Filter cannot be null
      	at org.eclipse.equinox.http.servlet.internal.context.ContextController.addFilterRegistration(ContextController.java:151)
      	at org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerFilter(HttpServiceImpl.java:114)
      	at com.liferay.portal.wab.extender.internal.WabBundleProcessor.initFilters(WabBundleProcessor.java:320)
      	at com.liferay.portal.wab.extender.internal.WabBundleProcessor.init(WabBundleProcessor.java:156)
      	at com.liferay.portal.wab.extender.internal.WebBundleDeployer.doStart(WebBundleDeployer.java:88)
      	at com.liferay.portal.wab.extender.internal.WabFactory$WABExtension.start(WabFactory.java:165)
      	at org.apache.felix.utils.extender.AbstractExtender$1.run(AbstractExtender.java:265)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:744)
      05:56:42,151 ERROR [com.liferay.portal.log.bridge.internal.LogBridge@4e704608][com_liferay_portal_wab_extender:75] Filter cannot be null
      java.lang.IllegalArgumentException: Filter cannot be null
      	at org.eclipse.equinox.http.servlet.internal.context.ContextController.addFilterRegistration(ContextController.java:151)
      	at org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerFilter(HttpServiceImpl.java:114)
      	at com.liferay.portal.wab.extender.internal.WabBundleProcessor.initFilters(WabBundleProcessor.java:320)
      	at com.liferay.portal.wab.extender.internal.WabBundleProcessor.init(WabBundleProcessor.java:156)
      	at com.liferay.portal.wab.extender.internal.WebBundleDeployer.doStart(WebBundleDeployer.java:88)
      	at com.liferay.portal.wab.extender.internal.WabFactory$WABExtension.start(WabFactory.java:165)
      	at org.apache.felix.utils.extender.AbstractExtender$1.run(AbstractExtender.java:265)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:744)
      05:56:42,154 ERROR [com.liferay.portal.log.bridge.internal.LogBridge@4e704608][com_liferay_portal_wab_extender:75] Filter cannot be null
      java.lang.IllegalArgumentException: Filter cannot be null
      	at org.eclipse.equinox.http.servlet.internal.context.ContextController.addFilterRegistration(ContextController.java:151)
      	at org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerFilter(HttpServiceImpl.java:114)
      	at com.liferay.portal.wab.extender.internal.WabBundleProcessor.initFilters(WabBundleProcessor.java:320)
      	at com.liferay.portal.wab.extender.internal.WabBundleProcessor.init(WabBundleProcessor.java:156)
      	at com.liferay.portal.wab.extender.internal.WebBundleDeployer.doStart(WebBundleDeployer.java:88)
      	at com.liferay.portal.wab.extender.internal.WabFactory$WABExtension.start(WabFactory.java:165)
      	at org.apache.felix.utils.extender.AbstractExtender$1.run(AbstractExtender.java:265)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:744)
      05:56:42,157 WARN  [com.liferay.portal.log.bridge.internal.LogBridge@4e704608][com_liferay_portal_wab_extender:81] No JSP Servlet was deployed for WAB documentselectorweb due to: com.liferay.portal.servlet.jsp.JspServlet cannot be found by com.liferay.portal.wab.extender_1.0.0
      05:57:17,967 INFO  [localhost-startStop-2][PortletHotDeployListener:420] Unregistering portlets for documentselectorweb
      05:57:17,978 INFO  [localhost-startStop-2][PortletHotDeployListener:455] 1 portlet for documentselectorweb was unregistered
      05:57:17,982 INFO  [localhost-startStop-2][PluginPackageUtil:1006] Reading plugin package for documentselectorweb
      05:57:19,585 INFO  [Framework stop][node:118] [Brynocki] stopping ...
      05:57:19,617 INFO  [Framework stop][node:118] [Brynocki] stopped
      05:57:19,617 INFO  [Framework stop][node:118] [Brynocki] closing ...
      05:57:19,621 INFO  [Framework stop][node:118] [Brynocki] closed
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 6 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.0 M3