Bug 616262

Summary: Attempting to submit empty URL on bundle creation wizard results in NPE
Product: [Other] RHQ Project Reporter: Corey Welton <cwelton>
Component: ProvisioningAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED DUPLICATE QA Contact: Corey Welton <cwelton>
Severity: medium Docs Contact:
Priority: low    
Version: 1.3   
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: 2010-07-21 01:21:35 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: 577210    

Description Corey Welton 2010-07-19 23:25:17 UTC
Description of problem:

If user hits the "Next" button on page 1 of the BCW, after selecting URL but not populating this field with an appropriate value, an NPE is returned in UI.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Administration > Content > Bundles > New
2. Click the "URL" radio button; enter nothing in the field.
3. Hit Next:
  
Actual results:
Error message: "java.net.MalformedURLException:null -> java.lang.NullPointerException:null"

Expected results:
Can't we capture this somehow and enter a user-friendly message -- despite how obvious the error was?


Additional info:
A similar message appears if user submits a blank Recipe, but it is not an NPE.

javax.ejb.EJBException:java.lang.IllegalArgumentException: recipe == null -> java.lang.IllegalArgumentException:recipe == null

Comment 1 Corey Welton 2010-07-21 01:21:35 UTC

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