Hide Forgot
Created attachment 540948 [details] trace from catalina.out containing the IllegalArgumentException Description of problem: During the course of some automated testing, a call was made to refresh pools, but the jobDetail came back with a FAILED state and the results was: org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.IllegalArgumentException: attempt to create delete event with null entity] I have not seen this before I am not yet sure about a recreate scenario. Nevertheless, I am opening a bug with some logs. Maybe you can decipher the scenario. Starting with the automated test logs, it looks like a POST was made to create a subscription followied by a refresh pools call: 201112040341:24.078 - INFO: ======= Starting Test: VerifyPoolIsNotYetAvailableUntilTheStartDate_Test (com.redhat.qe.auto.testng.TestNGListener.onTestStart) 201112040341:24.078 - INFO: SSH alternative to HTTP request: curl --insecure --user admin:admin --request POST --data '{"product":{"id":"awesomeos-virt-4"},"startDate":"Sun, 4 Dec 2011 03:44:24 -0500","accountNumber":1386622492,"quantity":3,"endDate":"Sun, 4 Dec 2011 03:46:24 -0500","contractNumber":1107672355,"providedProducts":[]}' --header 'accept: application/json' --header 'content-type: application/json' https://jsefler-f14-5candlepin.usersys.redhat.com:8443/candlepin/owners/admin/subscriptions (com.redhat.qe.sm.cli.tasks.CandlepinTasks.postResourceUsingRESTfulAPI) 201112040341:24.157 - INFO: SSH alternative to HTTP request: curl --insecure --user admin:admin --request PUT https://jsefler-f14-5candlepin.usersys.redhat.com:8443/candlepin/owners/admin/subscriptions (com.redhat.qe.sm.cli.tasks.CandlepinTasks.putResourceUsingRESTfulAPI) Then the jobDetail from the refresh pools PUT call was: [jsefler@jseflerT5400 ~]$ curl --insecure --user admin:admin --request GET https://jsefler-f14-5candlepin.usersys.redhat.com:8443/candlepin/jobs/refresh_pools_31c39a01-a3f9-4d9f-adaf-9471532a7230 | python -m simplejson/tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 561 0 561 0 0 1964 0 --:--:-- --:--:-- --:--:-- 2538 { "created": "2011-12-04T08:41:24.185+0000", "finishTime": null, "group": "async group", "id": "refresh_pools_31c39a01-a3f9-4d9f-adaf-9471532a7230", "principalName": "admin", "result": "org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.IllegalArgumentException: attempt to create delete event with null entity]", "startTime": "2011-12-04T08:41:24.188+0000", "state": "FAILED", "statusPath": "/jobs/refresh_pools_31c39a01-a3f9-4d9f-adaf-9471532a7230", "targetId": "admin", "targetType": "owner", "updated": "2011-12-04T08:41:24.899+0000" } and the catalina.out log containing the IllegalArgumentException stack trace is attached. Version-Release number of selected component (if applicable): [root@jsefler-f14-5candlepin candlepin]# git branch 0.2 0.3 0.4 * master [root@jsefler-f14-5candlepin candlepin]# git show-ref | grep master 40322d07ca764cf5501924fd387520653f1f52c0 refs/heads/master 40322d07ca764cf5501924fd387520653f1f52c0 refs/remotes/origin/master [root@jsefler-f14-5candlepin candlepin]# How reproducible: Steps to Reproduce: 1. not sure 2. 3. Additional info:
Closing out as "never saw this one again"