Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1183661

Summary: ISE after edit directory in configuration channel
Product: Red Hat Satellite 5 Reporter: Pavel Studeník <pstudeni>
Component: ServerAssignee: Jan Dobes <jdobes>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 570CC: jdobes
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-22 16:10:54 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 Pavel Studeník 2015-01-19 12:32:14 UTC
Description of problem:
If I update directory in configuration channel by webui, then I get page with ISE 500. It's regression against Satellite 5.6

Version-Release number of selected component (if applicable):
spacewalk-java-2.3.8-96.el6sat.noarch

How reproducible:
always

Steps to Reproduce:
1. create channel by webui
2. add directory to this channel by webui
3. try to edit this directory by webui 

Actual results:
ISE 500

Expected results:
without ISE

Additional info:
Exception:
javax.servlet.ServletException: java.lang.NullPointerException
	at org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)
	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427)
	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
	at com.redhat.rhn.frontend.struts.RhnRequestProcessor.process(RhnRequestProcessor.java:102)
...
	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
	at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
	at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
	at java.lang.Thread.run(Thread.java:761)
Caused by: java.lang.NullPointerException
	at com.redhat.rhn.manager.configuration.file.ConfigFileData.matchesRevision(ConfigFileData.java:438)
	at com.redhat.rhn.manager.configuration.ConfigFileBuilder.makeNewRevision(ConfigFileBuilder.java:150)
	at com.redhat.rhn.manager.configuration.ConfigFileBuilder.update(ConfigFileBuilder.java:233)
	at com.redhat.rhn.frontend.action.configuration.files.FileDetailsAction.execute(FileDetailsAction.java:81)
	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
	... 40 more

Comment 1 Pavel Studeník 2015-01-19 13:07:39 UTC
500 only when the selinux was edited - no required fields.

Comment 2 Jan Dobes 2015-01-22 16:10:54 UTC

*** This bug has been marked as a duplicate of bug 1179765 ***