RHN::Exception: DBD::Oracle::st execute failed: ORA-01400: cannot insert NULL into ("SPACEWALK"."RHNKICKSTARTABLETREE"."INSTALL_TYPE") (DBD ERROR: error possibly near <*> indicator at char 275 in 'INSERT INTO rhnKickstartableTree (id, label, base_path, channel_id, boot_image, org_id, kstree_type, install_type) VALUES (rhn_kstree_id_seq.nextval, :label, :path, :channel_id, :boot_image, :org_id, (SELECT id FROM rhnKSTreeType WHERE label = :tree_type), (SELECT <*>id FROM rhnKSInstallType WHERE label = :install_type_label) ) RETURNING id INTO :tree_id ') [for Statement "INSERT INTO rhnKickstartableTree (id, label, base_path, channel_id, boot_image, org_id, kstree_type, install_type) VALUES (rhn_kstree_id_seq.nextval, :label, :path, :channel_id, :boot_image, :org_id, (SELECT id FROM rhnKSTreeType WHERE label = :tree_type), (SELECT id FROM rhnKSInstallType WHERE label = :install_type_label) ) RETURNING id INTO :tree_id " with ParamValues: :tree_type='rhn-managed', :boot_image='ks-fedora-9-i386', :tree_id=undef, :label='ks-fedora-9-i386', :install_type_label='fedora_9', :org_id=undef, :channel_id="101", :path='rhn/kickstart/ks-fedora-9-i386'] RHN::DB /usr/lib/perl5/site_perl/5.8.8/RHN/DB.pm 233 RHN::Exception::DB::throw RHN::DB::st /usr/lib/perl5/site_perl/5.8.8/RHN/DB.pm 560 RHN::DB::handle_error RHN::DB::KSTree /usr/lib/perl5/site_perl/5.8.8/RHN/DB/KSTree.pm 121 RHN::DB::st::execute_h main add-kstree.pl 64 RHN::DB::KSTree::create_tree Offending Query: INSERT INTO rhnKickstartableTree (id, label, base_path, channel_id, boot_image, org_id, kstree_type, install_type) VALUES (rhn_kstree_id_seq.nextval, :label, :path, :channel_id, :boot_image, :org_id, (SELECT id FROM rhnKSTreeType WHERE label = :tree_type), (SELECT id FROM rhnKSInstallType WHERE label = :install_type_label) ) RETURNING id INTO :tree_id