Bug 1320289 - Exception when trying to edit Module options from Security subsystem
Summary: Exception when trying to edit Module options from Security subsystem
Keywords:
Status: CLOSED DUPLICATE of bug 1304739
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Plugin -- JBoss EAP 7
Version: JON 3.3.5
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ER01
: One-off release
Assignee: Ruben Vargas Palma
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-22 18:33 UTC by Josejulio Martínez
Modified: 2019-06-24 15:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-24 15:03:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1304739 0 high CLOSED ModuleOptions parsing can't handle EAP7 configuration 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1315741 0 medium CLOSED Security subsystem has been deprecated 2021-02-22 00:41:40 UTC

Internal Links: 1304739 1315741

Description Josejulio Martínez 2016-03-22 18:33:43 UTC
Description of problem:

When trying to edit the configuration of the Security subsystem (EAP7: "Subsystems/security/Security Domains/jaspitest/Authentication(jaspi)/Login Module Stacks/Login Module Stack/Module Options" ) the following exception appears in the agent log:

java.lang.NumberFormatException: For input string: "curity"
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	at java.lang.Integer.parseInt(Integer.java:580)
	at java.lang.Integer.valueOf(Integer.java:766)
	at org.rhq.modules.plugins.wildfly10.ModuleOptionsComponent.updateResourceConfiguration(ModuleOptionsComponent.java:578)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocation.call(ResourceContainer.java:759)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Ruben Vargas Palma 2016-03-28 23:04:26 UTC
This is already fixed, see bug 1304739

Comment 2 Ruben Vargas Palma 2016-04-01 16:08:40 UTC
commit 10c32c5f8fa9035b73accdaa38111a0d0d6b69d6
Merge: cdc9507 403a54b
Author: Michael Burman <yak>
Date:   Fri Apr 1 18:55:17 2016 +0300

    Merge pull request #232 from rubenvp8510/Bug/1320289
    
    Bug 1320289 - Exception when trying to edit Module options from Security subsystem

Comment 3 Ruben Vargas Palma 2016-04-01 16:13:41 UTC
commit 403a54b2bf037801452256f03b58f9c43beda667
Author: Ruben Vargas <rvargasp>
Date:   Wed Mar 30 15:40:00 2016 -0600

    Bug 1320289 - Exception when trying to edit Module options from Security subsystem

Comment 4 Filip Brychta 2019-06-24 15:03:40 UTC

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


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