Bug 597067
Summary: | NumberFormatException: For input string: "" in JBossSoftwareContentSourceAdapter.initialize | ||||||
---|---|---|---|---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Ondřej Žižka <ozizka> | ||||
Component: | Plugins | Assignee: | John Mazzitelli <mazz> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 1.3.1 | CC: | ccrouch, jshaughn, mazz, spinder | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-05-29 18:14:42 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 678340 | ||||||
Attachments: |
|
Description
Ondřej Žižka
2010-05-28 03:56:13 UTC
Created attachment 417461 [details]
log snippet
This is probably caused by an attempt to parse an empty Proxy Settings, which values are not set as unset by default. So, first fix the NPE (validate proxy values properly), then set those values as unset by default. Steps to reproduce, should happen every time: 1) Create a CSP account, but ommit the Name field. JON will complain. 2) Fill the Name. And submit. JON will eat this. 3) tail -f -n 1000 log , and see the attached exception there. Looks like we're not checking or enforcing that the name field is filled in when it obviously must be and we're assuming that it already filled in in the code. Need to add required field check in UI and double check in code to prevent using bad data. |