javax.portlet.PortletException: java.lang.NullPointerException

liferay.com | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.liferay.portlet.InvokerPortletImpl.<init>()
  2. Liferay Portal Service
    InvokerPortletFactoryImpl.create
    1. com.liferay.portlet.InvokerPortletImpl.<init>(InvokerPortletImpl.java:172)
    2. com.liferay.portlet.InvokerPortletFactoryImpl.create(InvokerPortletFactoryImpl.java:62)
    2 frames
  3. com.liferay.portal
    MonitoringInvokerPortletFactoryImpl.create
    1. com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortletFactoryImpl.create(MonitoringInvokerPortletFactoryImpl.java:69)
    1 frame
  4. Liferay Portal Service
    PortletBagFactory.create
    1. com.liferay.portlet.PortletInstanceFactoryImpl.init(PortletInstanceFactoryImpl.java:265)
    2. com.liferay.portlet.PortletInstanceFactoryImpl.create(PortletInstanceFactoryImpl.java:181)
    3. com.liferay.portal.kernel.portlet.PortletInstanceFactoryUtil.create(PortletInstanceFactoryUtil.java:49)
    4. com.liferay.portlet.PortletBagFactory.create(PortletBagFactory.java:217)
    4 frames
  5. Liferay Portal Impl
    PortletLocalServiceImpl.initWAR
    1. com.liferay.portal.service.impl.PortletLocalServiceImpl.initWAR(PortletLocalServiceImpl.java:837)
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  7. Liferay Portal Impl
    ServiceBeanAopProxy.invoke
    1. com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
    2. com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
    2 frames
  8. com.sun.proxy
    $Proxy112.initWAR
    1. com.sun.proxy.$Proxy112.initWAR(Unknown Source)
    1 frame
  9. com.liferay.portal
    PortletLocalServiceUtil.initWAR
    1. com.liferay.portal.kernel.service.PortletLocalServiceUtil.initWAR(PortletLocalServiceUtil.java:394)
    1 frame
  10. Liferay Portal Impl
    HotDeployImpl.fireDeployEvent
    1. com.liferay.portal.deploy.hot.PortletHotDeployListener.doInvokeDeploy(PortletHotDeployListener.java:210)
    2. com.liferay.portal.deploy.hot.PortletHotDeployListener.invokeDeploy(PortletHotDeployListener.java:95)
    3. com.liferay.portal.deploy.hot.HotDeployImpl.doFireDeployEvent(HotDeployImpl.java:233)
    4. com.liferay.portal.deploy.hot.HotDeployImpl.fireDeployEvent(HotDeployImpl.java:102)
    4 frames
  11. Liferay Portal Service
    SecurePluginContextListener.contextInitialized
    1. com.liferay.portal.kernel.deploy.hot.HotDeployUtil.fireDeployEvent(HotDeployUtil.java:28)
    2. com.liferay.portal.kernel.servlet.PluginContextListener.fireDeployEvent(PluginContextListener.java:164)
    3. com.liferay.portal.kernel.servlet.PluginContextListener.doPortalInit(PluginContextListener.java:154)
    4. com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:44)
    5. com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:74)
    6. com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:58)
    7. com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:54)
    8. com.liferay.portal.kernel.servlet.PluginContextListener.contextInitialized(PluginContextListener.java:116)
    9. com.liferay.portal.kernel.servlet.SecurePluginContextListener.contextInitialized(SecurePluginContextListener.java:151)
    9 frames
  12. com.liferay.portal
    ServletContextListenerExceptionAdapter.contextInitialized
    1. com.liferay.portal.osgi.web.wab.extender.internal.adapter.ServletContextListenerExceptionAdapter.contextInitialized(ServletContextListenerExceptionAdapter.java:51)
    1 frame
  13. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor459.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:497)
    3 frames
  14. org.eclipse.equinox
    ListenerRegistration$EventListenerInvocationHandler.invoke
    1. org.eclipse.equinox.http.servlet.internal.registration.ListenerRegistration$EventListenerInvocationHandler.invoke(ListenerRegistration.java:132)
    1 frame
  15. com.sun.proxy
    $Proxy500.contextInitialized
    1. com.sun.proxy.$Proxy500.contextInitialized(Unknown Source)
    1 frame
  16. org.eclipse.equinox
    ContextListenerTrackerCustomizer.addingService
    1. org.eclipse.equinox.http.servlet.internal.context.ContextController.doAddListenerRegistration(ContextController.java:359)
    2. org.eclipse.equinox.http.servlet.internal.context.ContextController.addListenerRegistration(ContextController.java:312)
    3. org.eclipse.equinox.http.servlet.internal.customizer.ContextListenerTrackerCustomizer.addingService(ContextListenerTrackerCustomizer.java:67)
    4. org.eclipse.equinox.http.servlet.internal.customizer.ContextListenerTrackerCustomizer.addingService(ContextListenerTrackerCustomizer.java:1)
    4 frames
  17. OSGi
    ServiceTracker$Tracked.serviceChanged
    1. org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941)
    2. org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)
    3. org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
    4. org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
    5. org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:901)
    5 frames
  18. Eclipse OSGi
    BundleContextImpl.registerService
    1. org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:109)
    2. org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:917)
    3. org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    4. org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
    5. org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:862)
    6. org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:801)
    7. org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:127)
    8. org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:225)
    9. org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:464)
    10. org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:482)
    11. org.eclipse.osgi.internal.framework.BundleContextImpl.registerService(BundleContextImpl.java:1001)
    11 frames
  19. com.liferay.portal
    WabFactory$WABExtension.start
    1. com.liferay.portal.osgi.web.wab.extender.internal.WabBundleProcessor.initListeners(WabBundleProcessor.java:570)
    2. com.liferay.portal.osgi.web.wab.extender.internal.WabBundleProcessor.init(WabBundleProcessor.java:160)
    3. com.liferay.portal.osgi.web.wab.extender.internal.WebBundleDeployer.doStart(WebBundleDeployer.java:86)
    4. com.liferay.portal.osgi.web.wab.extender.internal.WabFactory$WABExtension.start(WabFactory.java:200)
    4 frames
  20. Apache Felix Bundle Repository
    AbstractExtender.modifiedBundle
    1. org.apache.felix.utils.extender.AbstractExtender.createExtension(AbstractExtender.java:259)
    2. org.apache.felix.utils.extender.AbstractExtender.modifiedBundle(AbstractExtender.java:232)
    2 frames
  21. OSGi
    BundleTracker$Tracked.bundleChanged
    1. org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:482)
    2. org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:1)
    3. org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232)
    4. org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444)
    4 frames
  22. Eclipse OSGi
    EquinoxBundle.start
    1. org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:905)
    2. org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    3. org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
    4. org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:165)
    5. org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:75)
    6. org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:67)
    7. org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:102)
    8. org.eclipse.osgi.container.Module.publishEvent(Module.java:461)
    9. org.eclipse.osgi.container.Module.start(Module.java:452)
    10. org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:402)
    10 frames
  23. Apache Felix File Install
    DirectoryWatcher.run
    1. org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1252)
    2. org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1224)
    3. org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:512)
    4. org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361)
    5. org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:313)
    5 frames