[Spacewalk-devel] request to merge audit viewing to master

Mike McCune mmccune at redhat.com
Mon Jul 27 21:08:14 EDT 2009


On 07/02/2009 06:40 PM, Mike McCune wrote:
> On 07/02/2009 06:32 PM, Mike McCune wrote:
>> On 06/29/2009 06:15 AM, Joshua Roys wrote:
>>> On 06/26/2009 08:03 PM, Mike McCune wrote:
>>>> Joshua,
>>>>
>>>> I'm also getting this compile error:
>>>>
>>>>          [javac] Compiling 2455 source files to
>>>> /home/mmccune/devel/spacewalk/java/build/classes
>>>>          [javac]
>>>> /home/mmccune/devel/spacewalk/java/code/src/com/redhat/rhn/manager/audit/AuditManager.java:253:
>>>> cannot find symbol
>>>>          [javac] symbol  : constructor DataResult()
>>>>          [javac] location: class
>>>> com.redhat.rhn.common.db.datasource.DataResult<com.redhat.rhn.frontend.dto.AuditMachineDto>
>>>>          [javac]             return new DataResult<AuditMachineDto>();
>>>>          [javac]                    ^
>>>>          [javac] Note: Some input files use or override a deprecated API.
>>>>          [javac] Note: Recompile with -Xlint:deprecation for details.
>>>>          [javac] Note: Some input files use unchecked or unsafe operations.
>>>>          [javac] Note: Recompile with -Xlint:unchecked for details.
>>>>          [javac] 1 error
>>>>
>>>>
>>>> looks like AuditMachineDto is missing the default constructor.
>>>>
>>> Mike,
>>>
>>> Try the patch located here to avoid the conflict:
>>> http://www.stl.gtri.gatech.edu/jroys/spacewalk-audit-20090625-master-96465f0.patch
>>>
>>> Also, attached is a patch to remove the recently (re)moved html:messages
>>> from my jsp pages, and fix that compile error.
>>>
>>> Thanks!
>>>
>> Integrated the patches and it complies fine now.  thanks for the
>> updates.   I'm testing the pages now.
>>
>
> Committed locally and filed a bug to track its inclusion in Spacewalk 0.6:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=509474
>
> Mike


Joshua:

I'm getting this exception when I hit the Audit tab:

2009-07-27 18:03:00,250 [TP-Processor2] ERROR 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/rhn].[action] 
- Servlet.service() for servlet action threw exception
java.lang.NullPointerException
	at 
com.redhat.rhn.manager.audit.AuditManager.getMachines(AuditManager.java:256)
	at 
com.redhat.rhn.frontend.action.audit.AuditAction.getResult(AuditAction.java:60)
	at 
com.redhat.rhn.frontend.action.audit.AuditAction.getResult(AuditAction.java:27)
	at 
com.redhat.rhn.frontend.taglibs.list.helper.ListHelper.setupDataSet(ListHelper.java:107)
	at 
com.redhat.rhn.frontend.taglibs.list.helper.ListHelper.execute(ListHelper.java:100)
	at 
com.redhat.rhn.frontend.action.audit.AuditAction.execute(AuditAction.java:41)
	at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
	at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:237)
	at 
com.redhat.rhn.frontend.struts.RhnRequestProcessor.process(RhnRequestProcessor.java:82)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)

thoughts?




More information about the Spacewalk-devel mailing list