Bug 807281

Summary: NPE when calling export-resource on an invalid navigation node.
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: Nick Scavelli <nscavell>
Component: PortalAssignee: Nobody <nobody>
Status: VERIFIED --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.2.0.GACC: dingham, epp-bugs, tkyjovsk
Target Milestone: ---   
Target Release: 5.2.2.ER01   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.2.0.ER02 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Nick Scavelli 2012-03-27 12:33:53 UTC
Description of problem:
NullPointerException is thrown when trying to export an invalid navigation node (one that doesn't exist)

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

How reproducible:
Everytime

Steps to Reproduce:
1. Export (either through CLI or REST) a navigation node that doesn't exist.
2.
3.
  
Actual results:
NPE thrown

Expected results:
ResourceNotFoundException thrown and 404 returned to REST client and CLI error indicating resource doesn't exist.

Additional info: