Bug 1344870

Summary: Cobbler sync task fails with null pointer exceptions
Product: Red Hat Satellite 5 Reporter: Felipe Aranda <faranda>
Component: ProvisioningAssignee: Jan Dobes <jdobes>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 560CC: faranda, tlestach
Target Milestone: ---Flags: faranda: needinfo-
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-22 09:48:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Felipe Aranda 2016-06-12 02:20:56 UTC
Description of problem:

The customer can't view/create kickstarts, a message Internal Server Error is presented when viewing kickstart profiles

Java stack trace in /var/log/rhn/rhn_taskomatic_daemon.log file:

INFO   | jvm 1    | 2016/06/08 10:51:18 | java.lang.NullPointerException
INFO   | jvm 1    | 2016/06/08 10:51:18 |       at com.redhat.rhn.manager.kickstart.cobbler.CobblerProfileCommand.updateCobblerFields(CobblerProfileCommand.java:88)
INFO   | jvm 1    | 2016/06/08 10:51:18 |       at com.redhat.rhn.manager.kickstart.cobbler.CobblerProfileCreateCommand.store(CobblerProfileCreateCommand.java:81)
INFO   | jvm 1    | 2016/06/08 10:51:18 |       at com.redhat.rhn.manager.kickstart.cobbler.CobblerProfileSyncCommand.createProfile(CobblerProfileSyncCommand.java:118)
INFO   | jvm 1    | 2016/06/08 10:51:18 |       at com.redhat.rhn.manager.kickstart.cobbler.CobblerProfileSyncCommand.store(CobblerProfileSyncCommand.java:90)
INFO   | jvm 1    | 2016/06/08 10:51:18 |       at com.redhat.rhn.taskomatic.task.CobblerSyncTask.execute(CobblerSyncTask.java:123)
INFO   | jvm 1    | 2016/06/08 10:51:18 |       at com.redhat.rhn.taskomatic.task.RhnJavaJob.execute(RhnJavaJob.java:82)
INFO   | jvm 1    | 2016/06/08 10:51:18 |       at com.redhat.rhn.taskomatic.TaskoJob.execute(TaskoJob.java:169)
INFO   | jvm 1    | 2016/06/08 10:51:18 |       at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
INFO   | jvm 1    | 2016/06/08 10:51:18 |       at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
INFO   | jvm 1    | 2016/06/08 10:51:18 | 2016-06-08 11:51:18,721 [DefaultQuartzScheduler_Worker-4] ERROR com.redhat.rhn.taskomatic.task.CobblerSyncTask - re-throwing exception since we havent yet.
INFO   | jvm 1    | 2016/06/08 10:51:18 | 2016-06-08 11:51:18,730 [DefaultQuartzScheduler_Worker-4] ERROR com.redhat.rhn.taskomatic.task.CobblerSyncTask -
INFO   | jvm 1    | 2016/06/08 10:51:18 | 2016-06-08 11:51:18,730 [DefaultQuartzScheduler_Worker-4] ERROR com.redhat.rhn.taskomatic.task.CobblerSyncTask -


Version-Release number of selected component (if applicable):

Red Hat Satellite 5.6

How reproducible:

Actually this issue was not reproducible