Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1090094

Summary: Updating Connection Settings Failure
Product: [JBoss] JBoss Operations Network Reporter: Matt Mahoney <mmahoney>
Component: Core ServerAssignee: Jirka Kremser <jkremser>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: unspecified    
Version: JON 3.2CC: ahovsepy, jkremser, myarboro
Target Milestone: ER02   
Target Release: JON 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-11 13:59:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Server.log
none
eventLogs_file none

Description Matt Mahoney 2014-04-22 14:47:50 UTC
Created attachment 888521 [details]
Server.log

Description of problem:
When attempting to update Connection Settings for an Agent, The following failure occurs:

	
java.lang.RuntimeException:[1398177428203] javax.ejb.EJBException:java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 -> java.lang.IndexOutOfBoundsException:Index: 0, Size: 0
--- STACK TRACE FOLLOWS ---
[1398177428203] javax.ejb.EJBException:java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 -> java.lang.IndexOutOfBoundsException:Index: 0, Size: 0
   at Unknown.RuntimeException_0(Unknown Source)
   at Unknown.instantiate_32(Unknown Source)
   at Unknown.$instantiate_0(Unknown Source)
   at Unknown.$instantiate(Unknown Source)
   at Unknown.$readObject(Unknown Source)
   at Unknown.$onResponseReceived(Unknown Source)
   at Unknown.onResponseReceived_4(Unknown Source)
   at Unknown.$fireOnResponseReceived(Unknown Source)
   at Unknown.onReadyStateChange_0(Unknown Source)
   at Unknown.this$static.onreadystatechange<(Unknown Source)
   at Unknown.apply(Unknown Source)
   at Unknown.entry0(Unknown Source)
   at Unknown.anonymous(Unknown Source)
   at Unknown.anonymous(Unknown Source)

Version-Release number of selected component (if applicable):
Version: 4.11.0-SNAPSHOT
Build Number: 60c2a2e

How reproducible:
Always

Steps to Reproduce:
1. Navigate to AgentResource.Inventory.ConnectionSettings
2. Add an Event Log row,with the following settings:
   Log Tracking Enabled: Yes
   Log Tracking Type: File   
3. Click Save button

Actual results:
Event fails to save.

Expected results:
Event should save with no failures.


Additional info:

Comment 1 Jirka Kremser 2014-08-21 08:55:56 UTC
There are no such options like:
* Log Tracking Enabled: Yes
* Log Tracking Type: File 

For connection settings for AgentResource

I've found them on a platform resource though. I was able to create both, event logs for platform and for agent resource. In the attached server log I saw ResourceNotFoundException couple of times, so it looks like an attempt to change a plugin configuration of a uninventoried/igonred/disabled resource or something similar. I can't replicate with the repro steps.

I was not able to reproduce on current master, nor on JON 3.2.2, but I am not closing with WORKSFORME. Instead, let's move it to MODIFIED and see if QE can replicate on ER2.

note for me: it was possibly fixed (if it was really broken) by Jay's commit 1b551ae7671296891ff

Comment 2 Simeon Pinder 2014-09-03 20:31:40 UTC
Moving to ON_QA as available for test with the following brew build:
https://brewweb.devel.redhat.com//buildinfo?buildID=381194

Comment 3 Armine Hovsepyan 2014-09-10 13:20:10 UTC
not reproducible in JON 3.3 ER02
screen-shot attached

Comment 4 Armine Hovsepyan 2014-09-10 13:20:58 UTC
Created attachment 936139 [details]
eventLogs_file