Details
-
Bug
-
Resolution: Fixed
-
Major
-
3.2.0
-
3
-
Sprint 89
Description
In the case where jobs end up malformed in the config database, as such:
orientdb {db=config}> select from quartz_job_detail +----+-----+---------+-----+---------+---------+-----------+--------------------------------------------------------------------------------------------------+ |# |@RID |@CLASS |group|value_typ|name |job_type |value_data | +----+-----+---------+-----+---------+---------+-----------+--------------------------------------------------------------------------------------------------+ |0 |#28:1|quartz...|nexus|org.qu...|641223...|org.sona...|{name=64122393-52ca-4013-9651-483bce8252a0, group=nexus, description=Health Check: maven-centra...| |1 |#28:3|quartz...| | | | | | |2 |#28:4|quartz...|nexus|org.qu...|7b7806...|org.sona...|{name=7b7806df-8e25-4273-9572-8ffdedab76c0, group=nexus, description=Health Check: Pypi, jobCla...| +----+-----+---------+-----+---------+---------+-----------+--------------------------------------------------------------------------------------------------+
3 item(s) found. Query executed in 0.003 sec(s).}}
and/or
orientdb {db=config}> select from quartz_trigger +----+-----+---------+-----+-------+---------+---------+---------+---------+-----------+-------------------------------------------------------------------------+ |# |@RID |@CLASS |group|state |job_group|calendar_|name |job_name |value_type |value_data | +----+-----+---------+-----+-------+---------+---------+---------+---------+-----------+-------------------------------------------------------------------------+ |0 |#42:1|quartz...|nexus|WAITING|nexus | |641223...|641223...|org.quar...|{name=64122393-52ca-4013-9651-483bce8252a0, group=nexus, jobName=64122...| |1 |#42:3|quartz...| | | | | | | | | |2 |#42:4|quartz...|nexus|WAITING|nexus | |7b7806...|7b7806...|org.quar...|{name=7b7806df-8e25-4273-9572-8ffdedab76c0, group=nexus, jobName=7b780...| +----+-----+---------+-----+-------+---------+---------+---------+---------+-----------+-------------------------------------------------------------------------+}}
The empty records (#28:3 and #42:3) caused an NPE which stopped nexus from starting: