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

Bug 629971

Summary: com.redhat.rhn.common.localization.LocalizationService ERROR when creating new user in WebUI
Product: Red Hat Satellite 5 Reporter: Jan Hutař <jhutar>
Component: ServerAssignee: Lukas Zapletal <lzap>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: low    
Version: 540CC: cperry, gkhachik, jblazek, tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: spacewalk-java-1.2.39-17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-13 00:18:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Hutař 2010-09-03 12:14:34 UTC
Description of problem:
In freshly installed Galactica in /var/log/tomcat5/catalina.out there is a lot of messages like below. New appears each time I load https://<fqdn>/rhn/users/CreateUser.do?account_type=into_org Create new user form.


Version-Release number of selected component (if applicable):
Galactica: Satellite-5.4.0-RHEL5-re20100827.0-x86_64-embedded-oracle.iso
spacewalk-java-1.2.17-1.el5sat
spacewalk-schema-1.2.8-1.el5sat


How reproducible:
1 of 1 satellite shows this


Steps to Reproduce:
1. Go to https://<fqdn>/rhn/users/CreateUser.do?account_type=into_org
2. Check /var/log/tomcat5/catalina.out


Actual results:
2010-09-03 08:10:41,980 [TP-Processor1] ERROR com.redhat.rhn.common.localization.LocalizationService - *** ERROR: Message with id: [BL] not found.***
2010-09-03 08:10:41,980 [TP-Processor1] ERROR com.redhat.rhn.common.localization.LocalizationService - *** ERROR: Message with id: [BL] not found.***
2010-09-03 08:10:41,981 [TP-Processor1] ERROR com.redhat.rhn.common.localization.LocalizationService - *** ERROR: Message with id: [MF] not found.***
2010-09-03 08:10:41,981 [TP-Processor1] ERROR com.redhat.rhn.common.localization.LocalizationService - *** ERROR: Message with id: [MF] not found.***


Expected results:
No such errors there

Comment 1 Lukas Zapletal 2010-09-23 11:41:15 UTC
Spacewalk not involved. Only Satellite.

Tracking stacktrace is:


at com.redhat.rhn.frontend.action.user.UserActionHelper.getCountries(UserActionHelper.java:66)
	at com.redhat.rhn.frontend.action.user.CreateUserSetupAction.execute(CreateUserSetupAction.java:51)
	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)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)

Hunting done, I am going to fix that.

Comment 2 Lukas Zapletal 2010-09-23 11:51:59 UTC
I have modified the error message. Now it includes specific information about the place where this string is used:


2010-09-23 13:50:02,017 [TP-Processor3] ERROR com.redhat.rhn.common.localization.LocalizationService - *** ERROR: Message with id: [MF] not found.*** called by com.redhat.rhn.frontend.action.user.UserActionHelper.getCountries(UserActionHelper.java:66)
2010-09-23 13:50:02,017 [TP-Processor3] ERROR com.redhat.rhn.common.localization.LocalizationService - *** ERROR: Message with id: [MF] not found.*** called by com.redhat.rhn.frontend.action.user.UserActionHelper.getCountries(UserActionHelper.java:66)

Much easier to track now.

Comment 3 Lukas Zapletal 2010-09-23 12:20:03 UTC
commit e8190f9bb3002a5171f7d966032b072ece740aca
Author: Lukas Zapletal <lzap+git>
Date:   Thu Sep 23 14:14:11 2010 +0200

    629971 - added two county codes, better Localizer error message


commit f5c5387a76d7e1127623a5d469fd0620a6a07a84
Author: Lukas Zapletal <lzap+git>
Date:   Thu Sep 23 14:14:11 2010 +0200

    629971 - added two county codes, better Localizer error message, typo
    (cherry picked from commit e8190f9bb3002a5171f7d966032b072ece740aca)

Comment 5 Clifford Perry 2010-11-17 02:03:53 UTC
*** Bug 634889 has been marked as a duplicate of this bug. ***