Bug 752929

Summary: Repository Fields in Undefined State, Yields Possible NPE/Null NumberFormatException When Upload new Package
Product: [Other] RHQ Project Reporter: Robert Buck <rbuck>
Component: PluginsAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 3.0.0CC: hrupp, rbuck, rsoares
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 752928 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:
Bug Depends On: 752928, 753761, 672240    
Bug Blocks: 752918, 752919, 752920, 752921, 752925, 752926, 745494, 749804, 752761    

Description Robert Buck 2011-11-10 19:25:16 UTC
+++ This bug was initially created as a clone of Bug #752928 +++

+++ This bug was initially created as a clone of Bug #672240 +++

MUST START WITH EMPTY BRAND NEW DATABASE

Content
New
Upload New Package

Notice the Currently Subscribed Repository is not just empty, but undefined!!!
See png image
Yeilds, "Failed to create package [helloworld.war] in repository. Cause:
java.lang.NumberFormatException:null ".
Now, this only occurs IFF you have a brand new clean database. This is likely a
data corruption or inconsistency problem; it tends to imply that later
invocations use prior state as the Repository, potentially moving WAR files
from their intended locations.

**********************************************
!!! SEE BUG 672240 ATTACHMENTS FOR DETAILS !!!
**********************************************