Bug 616262 - Attempting to submit empty URL on bundle creation wizard results in NPE
Summary: Attempting to submit empty URL on bundle creation wizard results in NPE
Keywords:
Status: CLOSED DUPLICATE of bug 611436
Alias: None
Product: RHQ Project
Classification: Other
Component: Provisioning
Version: 1.3
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks: jon24-provisioning
TreeView+ depends on / blocked
 
Reported: 2010-07-19 23:25 UTC by Corey Welton
Modified: 2010-07-21 01:21 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-07-21 01:21:35 UTC
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.