[JBoss JIRA] (SWSQE-504) Automate - Applications List Error Rate field
by Hayk Hovsepyan (Jira)
[ https://issues.jboss.org/browse/SWSQE-504?page=com.atlassian.jira.plugin.... ]
Hayk Hovsepyan updated SWSQE-504:
---------------------------------
Description:
The startign point here is :kiali_qe.tests.test_applications_page.test_all_applications test,
which calls kiali_qe.tests.__init__.ApplicationsPageTest.assert_all_items method,
which itself reads Applications from UI by calling "kiali_qe.components.__init__.ListViewApplications.items" and from REST by calling "kiali_qe.rest.kiali_api.KialiExtendedClient.application_list".
Then compares UI and REST results. So if there is new field added in UI, we need to read that in UI, and in REST API, set it in the Object, then add this field in Object's is_equal method. This will work alongside to other fields we have.
What is required to do:
In "kiali_qe.entities.applications.Application" class add a new field "requests" with this type "kiali_qe.entities.__init__.Requests",
In method "kiali_qe.components.__init__.ListViewApplications.items" here is TODO for that, add a new method and a call to it to read "Error Rate" field's value. Like it is done for "_get_item_health" method. Set it to field "requests" of "kiali_qe.entities.applications.Application"
In "kiali_qe.rest.kiali_api.KialiExtendedClient.application_list" add new line to read and set field "requests" of "kiali_qe.entities.applications.Application"
Modify "kiali_qe.entities.applications.Application.is_equal" and add comparison of "requests" field as well.
was:
The startign point here is :kiali_qe.tests.test_applications_page.test_all_applications test,
which calls kiali_qe.tests.__init__.ApplicationsPageTest.assert_all_items method,
which itself reads Applications from UI by calling "kiali_qe.components.__init__.ListViewApplications.items" and from REST by calling "kiali_qe.rest.kiali_api.KialiExtendedClient.application_list".
What is required to do:
In "kiali_qe.entities.applications.Application" class add a new field "requests" with this type "kiali_qe.entities.__init__.Requests",
In method "kiali_qe.components.__init__.ListViewApplications.items" here is TODO for that, add a new method and a call to it to read "Error Rate" field's value. Like it is done for "_get_item_health" method. Set it to field "requests" of "kiali_qe.entities.applications.Application"
In "kiali_qe.rest.kiali_api.KialiExtendedClient.application_list" add new line to read and set field "requests" of "kiali_qe.entities.applications.Application"
Modify "kiali_qe.entities.applications.Application.is_equal" and add comparison of "requests" field as well.
> Automate - Applications List Error Rate field
> ---------------------------------------------
>
> Key: SWSQE-504
> URL: https://issues.jboss.org/browse/SWSQE-504
> Project: Kiali QE
> Issue Type: QE Task
> Reporter: Hayk Hovsepyan
> Assignee: Sunil kondkar
> Priority: Major
>
> The startign point here is :kiali_qe.tests.test_applications_page.test_all_applications test,
> which calls kiali_qe.tests.__init__.ApplicationsPageTest.assert_all_items method,
> which itself reads Applications from UI by calling "kiali_qe.components.__init__.ListViewApplications.items" and from REST by calling "kiali_qe.rest.kiali_api.KialiExtendedClient.application_list".
> Then compares UI and REST results. So if there is new field added in UI, we need to read that in UI, and in REST API, set it in the Object, then add this field in Object's is_equal method. This will work alongside to other fields we have.
> What is required to do:
> In "kiali_qe.entities.applications.Application" class add a new field "requests" with this type "kiali_qe.entities.__init__.Requests",
> In method "kiali_qe.components.__init__.ListViewApplications.items" here is TODO for that, add a new method and a call to it to read "Error Rate" field's value. Like it is done for "_get_item_health" method. Set it to field "requests" of "kiali_qe.entities.applications.Application"
> In "kiali_qe.rest.kiali_api.KialiExtendedClient.application_list" add new line to read and set field "requests" of "kiali_qe.entities.applications.Application"
> Modify "kiali_qe.entities.applications.Application.is_equal" and add comparison of "requests" field as well.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months
[JBoss JIRA] (SWSQE-504) Automate - Applications List Error Rate field
by Hayk Hovsepyan (Jira)
[ https://issues.jboss.org/browse/SWSQE-504?page=com.atlassian.jira.plugin.... ]
Hayk Hovsepyan updated SWSQE-504:
---------------------------------
Description:
The startign point here is :kiali_qe.tests.test_applications_page.test_all_applications test,
which calls kiali_qe.tests.__init__.ApplicationsPageTest.assert_all_items method,
which itself reads Applications from UI by calling "kiali_qe.components.__init__.ListViewApplications.items" and from REST by calling "kiali_qe.rest.kiali_api.KialiExtendedClient.application_list".
What is required to do:
In "kiali_qe.entities.applications.Application" class add a new field "requests" with this type "kiali_qe.entities.__init__.Requests",
In method "kiali_qe.components.__init__.ListViewApplications.items" here is TODO for that, add a new method and a call to it to read "Error Rate" field's value. Like it is done for "_get_item_health" method. Set it to field "requests" of "kiali_qe.entities.applications.Application"
In "kiali_qe.rest.kiali_api.KialiExtendedClient.application_list" add new line to read and set field "requests" of "kiali_qe.entities.applications.Application"
Modify "kiali_qe.entities.applications.Application.is_equal" and add comparison of "requests" field as well.
> Automate - Applications List Error Rate field
> ---------------------------------------------
>
> Key: SWSQE-504
> URL: https://issues.jboss.org/browse/SWSQE-504
> Project: Kiali QE
> Issue Type: QE Task
> Reporter: Hayk Hovsepyan
> Assignee: Sunil kondkar
> Priority: Major
>
> The startign point here is :kiali_qe.tests.test_applications_page.test_all_applications test,
> which calls kiali_qe.tests.__init__.ApplicationsPageTest.assert_all_items method,
> which itself reads Applications from UI by calling "kiali_qe.components.__init__.ListViewApplications.items" and from REST by calling "kiali_qe.rest.kiali_api.KialiExtendedClient.application_list".
> What is required to do:
> In "kiali_qe.entities.applications.Application" class add a new field "requests" with this type "kiali_qe.entities.__init__.Requests",
> In method "kiali_qe.components.__init__.ListViewApplications.items" here is TODO for that, add a new method and a call to it to read "Error Rate" field's value. Like it is done for "_get_item_health" method. Set it to field "requests" of "kiali_qe.entities.applications.Application"
> In "kiali_qe.rest.kiali_api.KialiExtendedClient.application_list" add new line to read and set field "requests" of "kiali_qe.entities.applications.Application"
> Modify "kiali_qe.entities.applications.Application.is_equal" and add comparison of "requests" field as well.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months
[JBoss JIRA] (DROOLS-3321) Add GWT feature to kie-wb-common-command-api
by Gabriele Cardosi (Jira)
Gabriele Cardosi created DROOLS-3321:
----------------------------------------
Summary: Add GWT feature to kie-wb-common-command-api
Key: DROOLS-3321
URL: https://issues.jboss.org/browse/DROOLS-3321
Project: Drools
Issue Type: Bug
Components: Scenario Simulation and Testing
Reporter: Gabriele Cardosi
Assignee: Gabriele Cardosi
Currently, kie-wb-common-comand-api has not "GWT" features, i.e. it has not the GWT xml declaration.
To make it usable by other clients, this should be fixed:
1) move everything inside the "client" package
2) create the CommonCommandAPI.gwt.xml file
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months
[JBoss JIRA] (WFCORE-4227) Add the ability for the CLI SSL security commands to be able to obtain a server certificate from Let's Encrypt
by Marek Marusic (Jira)
Marek Marusic created WFCORE-4227:
-------------------------------------
Summary: Add the ability for the CLI SSL security commands to be able to obtain a server certificate from Let's Encrypt
Key: WFCORE-4227
URL: https://issues.jboss.org/browse/WFCORE-4227
Project: WildFly Core
Issue Type: Feature Request
Reporter: Marek Marusic
Assignee: Marek Marusic
WFCORE-3447 introduced high-level security commands (ssl enable-ssl-management and ssl enable-ssl-http-server) for enabling one-way and two-way SSL easily. To generate the server certificate, these high-level security commands made use of key-store management operations to generate a self-signed certificate. Since it is now possible to obtain certificates from the Let's Encrypt certificate authority using the CLI, the high-level security commands should be updated so that in addition to being able to generate a self-signed server certificate, they can also obtain a server certificate from Let's Encrypt. Details on the new management operations for obtaining and managing certificates from Let's Encrypt can be found in the analysis document and in this blog post.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months
[JBoss JIRA] (WFLY-11339) ServiceRef*TestCases fail with security manager
by Martin Choma (Jira)
[ https://issues.jboss.org/browse/WFLY-11339?page=com.atlassian.jira.plugin... ]
Martin Choma commented on WFLY-11339:
-------------------------------------
Seems to me similar to JBEAP-15368
> ServiceRef*TestCases fail with security manager
> -----------------------------------------------
>
> Key: WFLY-11339
> URL: https://issues.jboss.org/browse/WFLY-11339
> Project: WildFly
> Issue Type: Bug
> Components: Test Suite, Web Services
> Affects Versions: 14.0.0.Final
> Reporter: Martin Choma
> Priority: Major
> Labels: security-manager
>
> Summary: ServiceRef*TestCases fail with security manager
> * ServiceRefEarTestCase
> * ServiceRefSevletTestCase
> * ServiceRefTestCase
> Having in common root exception like this
> {noformat}
> Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.io.FilePermission" "/store/repository/org/jboss/ws/cxf/jbossws-cxf-factories/5.2.4.Final/jbossws-cxf-factories-5.2.4.Final.jar" "read")" in code source "(vfs:/content/ws-serviceref-example.ear/ws-serviceref-example-servlet-client.war/WEB-INF/classes <no signer certificates>)" of "ModuleClassLoader for Module "deployment.ws-serviceref-example.ear.ws-serviceref-example-servlet-client.war" from Service Module Loader")
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:294)
> at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:191)
> at java.lang.SecurityManager.checkRead(SecurityManager.java:888)
> at org.wildfly.security.manager.WildFlySecurityManager.checkRead(WildFlySecurityManager.java:359)
> at java.util.zip.ZipFile.<init>(ZipFile.java:216)
> at java.util.zip.ZipFile.<init>(ZipFile.java:155)
> at java.util.jar.JarFile.<init>(JarFile.java:166)
> at java.util.jar.JarFile.<init>(JarFile.java:103)
> at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:93)
> at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:69)
> at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:99)
> at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)
> at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:152)
> at java.net.URL.openStream(URL.java:1045)
> at java.util.ServiceLoader.parse(ServiceLoader.java:304)
> at java.util.ServiceLoader.access$200(ServiceLoader.java:185)
> at java.util.ServiceLoader$LazyIterator.hasNextService(ServiceLoader.java:357)
> at java.util.ServiceLoader$LazyIterator.access$600(ServiceLoader.java:323)
> at java.util.ServiceLoader$LazyIterator$1.run(ServiceLoader.java:396)
> at java.util.ServiceLoader$LazyIterator$1.run(ServiceLoader.java:395)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.util.ServiceLoader$LazyIterator.hasNext(ServiceLoader.java:398)
> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:474)
> at javax.xml.ws.spi.ServiceLoaderUtil.firstByServiceLoader(ServiceLoaderUtil.java:67)
> ... 78 more{noformat}
> [1] https://ci.wildfly.org/viewLog.html?buildId=128138&buildTypeId=WF_MasterS...
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months
[JBoss JIRA] (WFLY-6940) NullPointerException from JBossPDP when adding policy set because of null ClassLoader
by Ondrej Kotek (Jira)
[ https://issues.jboss.org/browse/WFLY-6940?page=com.atlassian.jira.plugin.... ]
Ondrej Kotek reopened WFLY-6940:
--------------------------------
> NullPointerException from JBossPDP when adding policy set because of null ClassLoader
> -------------------------------------------------------------------------------------
>
> Key: WFLY-6940
> URL: https://issues.jboss.org/browse/WFLY-6940
> Project: WildFly
> Issue Type: Bug
> Components: Class Loading, Security
> Affects Versions: 11.0.0.Alpha1
> Reporter: Ondrej Kotek
> Priority: Critical
> Attachments: pdp-2.1.9.Final-jboss-as7.war
>
>
> There si _NullPointerException_ thrown from _org.jboss.security.xacml.core.JBossPDP_ when adding policy set during deployment -- the context _ClassLoader_ is null.
> {noformat}
> INFO [org.jboss.security.xacml.core.JBossPDP] (MSC service thread 1-3) Reading policysets from location=policies/himss-policy.xml
> 13:01:42,592 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.deployment.unit."pdp-2.1.9.Final-jboss-as7.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."pdp-2.1.9.Final-jboss-as7.war".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment "pdp-2.1.9.Final-jboss-as7.war"
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
> 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)
> Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
> at org.jboss.wsf.stack.cxf.configuration.BusHolder.newInstance(BusHolder.java:325)
> at org.jboss.wsf.stack.cxf.configuration.BusHolder.configure(BusHolder.java:211)
> at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.startDeploymentBus(BusDeploymentAspect.java:97)
> at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:59)
> at org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:73)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
> ... 5 more
> Caused by: java.lang.RuntimeException: java.lang.NullPointerException
> at org.jboss.security.xacml.core.JBossPDP.<init>(JBossPDP.java:163)
> at org.picketlink.identity.federation.core.pdp.SOAPSAMLXACMLPDP.getPDP(SOAPSAMLXACMLPDP.java:111)
> at org.picketlink.identity.federation.core.pdp.SOAPSAMLXACMLPDP.<init>(SOAPSAMLXACMLPDP.java:69)
> at org.picketlink.identity.federation.core.pdp.SOAPSAMLXACMLPDPService.<init>(SOAPSAMLXACMLPDPService.java:42)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
> at java.lang.Class.newInstance(Class.java:442)
> at org.jboss.wsf.stack.cxf.configuration.BusHolder.newInstance(BusHolder.java:321)
> ... 10 more
> Caused by: java.lang.NullPointerException
> at org.jboss.security.xacml.core.JBossPDP.getResourceViaClassLoader(JBossPDP.java:626)
> at org.jboss.security.xacml.core.JBossPDP.isDirectory(JBossPDP.java:614)
> at org.jboss.security.xacml.core.JBossPDP.isDirectory(JBossPDP.java:602)
> at org.jboss.security.xacml.core.JBossPDP.addPolicySets(JBossPDP.java:468)
> at org.jboss.security.xacml.core.JBossPDP.bootstrap(JBossPDP.java:346)
> at org.jboss.security.xacml.core.JBossPDP.<init>(JBossPDP.java:159)
> ... 19 more
> 13:01:42,596 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("full-replace-deployment") failed - address: ([]) - failure description: {
> "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"pdp-2.1.9.Final-jboss-as7.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"pdp-2.1.9.Final-jboss-as7.war\".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment \"pdp-2.1.9.Final-jboss-as7.war\"
> Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
> Caused by: java.lang.RuntimeException: java.lang.NullPointerException
> Caused by: java.lang.NullPointerException"},
> "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"pdp-2.1.9.Final-jboss-as7.war\".INSTALL"],
> "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months
[JBoss JIRA] (WFLY-6940) NullPointerException from JBossPDP when adding policy set because of null ClassLoader
by Ondrej Kotek (Jira)
[ https://issues.jboss.org/browse/WFLY-6940?page=com.atlassian.jira.plugin.... ]
Ondrej Kotek closed WFLY-6940.
------------------------------
Resolution: Out of Date
> NullPointerException from JBossPDP when adding policy set because of null ClassLoader
> -------------------------------------------------------------------------------------
>
> Key: WFLY-6940
> URL: https://issues.jboss.org/browse/WFLY-6940
> Project: WildFly
> Issue Type: Bug
> Components: Class Loading, Security
> Affects Versions: 11.0.0.Alpha1
> Reporter: Ondrej Kotek
> Priority: Critical
> Attachments: pdp-2.1.9.Final-jboss-as7.war
>
>
> There si _NullPointerException_ thrown from _org.jboss.security.xacml.core.JBossPDP_ when adding policy set during deployment -- the context _ClassLoader_ is null.
> {noformat}
> INFO [org.jboss.security.xacml.core.JBossPDP] (MSC service thread 1-3) Reading policysets from location=policies/himss-policy.xml
> 13:01:42,592 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.deployment.unit."pdp-2.1.9.Final-jboss-as7.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."pdp-2.1.9.Final-jboss-as7.war".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment "pdp-2.1.9.Final-jboss-as7.war"
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
> 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)
> Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
> at org.jboss.wsf.stack.cxf.configuration.BusHolder.newInstance(BusHolder.java:325)
> at org.jboss.wsf.stack.cxf.configuration.BusHolder.configure(BusHolder.java:211)
> at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.startDeploymentBus(BusDeploymentAspect.java:97)
> at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:59)
> at org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:73)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
> ... 5 more
> Caused by: java.lang.RuntimeException: java.lang.NullPointerException
> at org.jboss.security.xacml.core.JBossPDP.<init>(JBossPDP.java:163)
> at org.picketlink.identity.federation.core.pdp.SOAPSAMLXACMLPDP.getPDP(SOAPSAMLXACMLPDP.java:111)
> at org.picketlink.identity.federation.core.pdp.SOAPSAMLXACMLPDP.<init>(SOAPSAMLXACMLPDP.java:69)
> at org.picketlink.identity.federation.core.pdp.SOAPSAMLXACMLPDPService.<init>(SOAPSAMLXACMLPDPService.java:42)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
> at java.lang.Class.newInstance(Class.java:442)
> at org.jboss.wsf.stack.cxf.configuration.BusHolder.newInstance(BusHolder.java:321)
> ... 10 more
> Caused by: java.lang.NullPointerException
> at org.jboss.security.xacml.core.JBossPDP.getResourceViaClassLoader(JBossPDP.java:626)
> at org.jboss.security.xacml.core.JBossPDP.isDirectory(JBossPDP.java:614)
> at org.jboss.security.xacml.core.JBossPDP.isDirectory(JBossPDP.java:602)
> at org.jboss.security.xacml.core.JBossPDP.addPolicySets(JBossPDP.java:468)
> at org.jboss.security.xacml.core.JBossPDP.bootstrap(JBossPDP.java:346)
> at org.jboss.security.xacml.core.JBossPDP.<init>(JBossPDP.java:159)
> ... 19 more
> 13:01:42,596 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("full-replace-deployment") failed - address: ([]) - failure description: {
> "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"pdp-2.1.9.Final-jboss-as7.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"pdp-2.1.9.Final-jboss-as7.war\".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment \"pdp-2.1.9.Final-jboss-as7.war\"
> Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
> Caused by: java.lang.RuntimeException: java.lang.NullPointerException
> Caused by: java.lang.NullPointerException"},
> "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"pdp-2.1.9.Final-jboss-as7.war\".INSTALL"],
> "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months
[JBoss JIRA] (WFLY-6940) NullPointerException from JBossPDP when adding policy set because of null ClassLoader
by Ondrej Kotek (Jira)
[ https://issues.jboss.org/browse/WFLY-6940?page=com.atlassian.jira.plugin.... ]
Ondrej Kotek closed WFLY-6940.
------------------------------
Resolution: Out of Date
I can confirm that that this in no longer valid in 7.2.0.GA.CR1 / WildFly 15 nightly build.
[~msvehla], FYI.
> NullPointerException from JBossPDP when adding policy set because of null ClassLoader
> -------------------------------------------------------------------------------------
>
> Key: WFLY-6940
> URL: https://issues.jboss.org/browse/WFLY-6940
> Project: WildFly
> Issue Type: Bug
> Components: Class Loading, Security
> Affects Versions: 11.0.0.Alpha1
> Reporter: Ondrej Kotek
> Priority: Critical
> Attachments: pdp-2.1.9.Final-jboss-as7.war
>
>
> There si _NullPointerException_ thrown from _org.jboss.security.xacml.core.JBossPDP_ when adding policy set during deployment -- the context _ClassLoader_ is null.
> {noformat}
> INFO [org.jboss.security.xacml.core.JBossPDP] (MSC service thread 1-3) Reading policysets from location=policies/himss-policy.xml
> 13:01:42,592 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.deployment.unit."pdp-2.1.9.Final-jboss-as7.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."pdp-2.1.9.Final-jboss-as7.war".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment "pdp-2.1.9.Final-jboss-as7.war"
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
> 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)
> Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
> at org.jboss.wsf.stack.cxf.configuration.BusHolder.newInstance(BusHolder.java:325)
> at org.jboss.wsf.stack.cxf.configuration.BusHolder.configure(BusHolder.java:211)
> at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.startDeploymentBus(BusDeploymentAspect.java:97)
> at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:59)
> at org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:73)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
> ... 5 more
> Caused by: java.lang.RuntimeException: java.lang.NullPointerException
> at org.jboss.security.xacml.core.JBossPDP.<init>(JBossPDP.java:163)
> at org.picketlink.identity.federation.core.pdp.SOAPSAMLXACMLPDP.getPDP(SOAPSAMLXACMLPDP.java:111)
> at org.picketlink.identity.federation.core.pdp.SOAPSAMLXACMLPDP.<init>(SOAPSAMLXACMLPDP.java:69)
> at org.picketlink.identity.federation.core.pdp.SOAPSAMLXACMLPDPService.<init>(SOAPSAMLXACMLPDPService.java:42)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
> at java.lang.Class.newInstance(Class.java:442)
> at org.jboss.wsf.stack.cxf.configuration.BusHolder.newInstance(BusHolder.java:321)
> ... 10 more
> Caused by: java.lang.NullPointerException
> at org.jboss.security.xacml.core.JBossPDP.getResourceViaClassLoader(JBossPDP.java:626)
> at org.jboss.security.xacml.core.JBossPDP.isDirectory(JBossPDP.java:614)
> at org.jboss.security.xacml.core.JBossPDP.isDirectory(JBossPDP.java:602)
> at org.jboss.security.xacml.core.JBossPDP.addPolicySets(JBossPDP.java:468)
> at org.jboss.security.xacml.core.JBossPDP.bootstrap(JBossPDP.java:346)
> at org.jboss.security.xacml.core.JBossPDP.<init>(JBossPDP.java:159)
> ... 19 more
> 13:01:42,596 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("full-replace-deployment") failed - address: ([]) - failure description: {
> "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"pdp-2.1.9.Final-jboss-as7.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"pdp-2.1.9.Final-jboss-as7.war\".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment \"pdp-2.1.9.Final-jboss-as7.war\"
> Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
> Caused by: java.lang.RuntimeException: java.lang.NullPointerException
> Caused by: java.lang.NullPointerException"},
> "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"pdp-2.1.9.Final-jboss-as7.war\".INSTALL"],
> "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 8 months