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

Scheduler unschedule throws NPE on portlet undeploy

    Details

    • Fix Priority:
      3

      Description

      I'm running LR6.2EE on tomcat with latest patches installed. When redeploying portlet war during undeployment scheduler throws NPE when trying to unschedule a job.

      The relevant part of the stacktrace is here. I'll add the whole stacktrace as attachment.

      Caused by: java.lang.NullPointerException at com.liferay.portal.scheduler.quartz.QuartzSchedulerEngine.unschedule(QuartzSchedulerEngine.java:1085) at com.liferay.portal.scheduler.quartz.QuartzSchedulerEngine.unschedule(QuartzSchedulerEngine.java:526)
      

      The scheduled job is created with following entry

      <scheduler-entry>
          <scheduler-event-listener-class&gt;
              com.remion.bronto.proex.liferay.tasks.CompassImportJob
          </scheduler-event-listener-class&gt;
          <trigger>
              <cron>
                  <property-key>proex.compass.import.expression</property-key>
              </cron>
          </trigger>
      </scheduler-entry>
      
      proex.compass.import.expression=0 10 * * * ?
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Days since last comment:
                3 years, 8 weeks, 6 days ago

                Packages

                Version Package