[JBoss JIRA] (WFLY-9751) NullPointerException during server reload
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/WFLY-9751?page=com.atlassian.jira.plugin.... ]
Martin Choma updated WFLY-9751:
-------------------------------
Description:
Reproducer:
{code}
0. build wildfly from master
1. ./standalone.sh
2. ./jboss-cli.sh
connect
reload
reload
reload
...
{code}
In log there occurs NPE:
{code}
09:52:28,772 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Core 4.0.0.Alpha7 "Kenny" started in 196ms - Started 292 of 532 services (327 services are lazy, passive or on-demand)
09:52:32,175 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0008: Undertow HTTPS listener https suspending
09:52:32,176 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
09:52:32,176 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0008: Undertow HTTP listener default suspending
09:52:32,176 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0019: Host default-host stopping
09:52:32,176 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0007: Undertow HTTP listener default stopped, was bound to 127.0.0.1:8080
09:52:32,177 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0007: Undertow HTTPS listener https stopped, was bound to 127.0.0.1:8443
09:52:32,179 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0004: Undertow 1.4.22.Final stopping
09:52:32,180 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) WFLYJCA0019: Stopped Driver service with driver-name = h2
09:52:32,184 INFO [org.jboss.as.mail.extension] (MSC service thread 1-1) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
09:52:32,182 ERROR [org.jboss.threads.errors] (management task-1) Thread Thread[management task-1,5,main] threw an uncaught exception: java.lang.NullPointerException
at org.jboss.as.server.mgmt.ManagementWorkerService.stopDone(ManagementWorkerService.java:72)
at org.xnio.XnioWorker$1.run(XnioWorker.java:138)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1979)
at org.jboss.threads.EnhancedQueueExecutor.completeTermination(EnhancedQueueExecutor.java:1755)
at org.jboss.threads.EnhancedQueueExecutor.tryDeallocateThread(EnhancedQueueExecutor.java:1578)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1393)
at java.lang.Thread.run(Thread.java:745)
09:52:32,187 INFO [org.jboss.as] (MSC service thread 1-6) WFLYSRV0050: WildFly Core 4.0.0.Alpha7 "Kenny" stopped in 20ms
09:52:32,189 INFO [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Core 4.0.0.Alpha7 "Kenny" starting
{code}
Also sometimes (in TS) I can see AssertionError be thrown from same area of code.
{code}
13:59:39,966 ERROR [org.jboss.threads.errors] (management task-3) Thread Thread[management task-3,5,main] threw an uncaught exception: java.lang.AssertionError
at org.jboss.as.server.mgmt.ManagementWorkerService.stopDone(ManagementWorkerService.java:71)
at org.xnio.XnioWorker$1.run(XnioWorker.java:138)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1979)
at org.jboss.threads.EnhancedQueueExecutor.completeTermination(EnhancedQueueExecutor.java:1755)
at org.jboss.threads.EnhancedQueueExecutor.tryDeallocateThread(EnhancedQueueExecutor.java:1578)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1393)
at java.lang.Thread.run(Thread.java:748)
{code}
was:
Reproducer:
{code}
0. build wildfly from master
1. ./standalone.sh
2. ./jboss-cli.sh
connect
reload
reload
reload
...
{code}
In log there occurs NPE:
{code}
09:52:28,772 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Core 4.0.0.Alpha7 "Kenny" started in 196ms - Started 292 of 532 services (327 services are lazy, passive or on-demand)
09:52:32,175 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0008: Undertow HTTPS listener https suspending
09:52:32,176 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
09:52:32,176 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0008: Undertow HTTP listener default suspending
09:52:32,176 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0019: Host default-host stopping
09:52:32,176 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0007: Undertow HTTP listener default stopped, was bound to 127.0.0.1:8080
09:52:32,177 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0007: Undertow HTTPS listener https stopped, was bound to 127.0.0.1:8443
09:52:32,179 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0004: Undertow 1.4.22.Final stopping
09:52:32,180 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) WFLYJCA0019: Stopped Driver service with driver-name = h2
09:52:32,184 INFO [org.jboss.as.mail.extension] (MSC service thread 1-1) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
09:52:32,182 ERROR [org.jboss.threads.errors] (management task-1) Thread Thread[management task-1,5,main] threw an uncaught exception: java.lang.NullPointerException
at org.jboss.as.server.mgmt.ManagementWorkerService.stopDone(ManagementWorkerService.java:72)
at org.xnio.XnioWorker$1.run(XnioWorker.java:138)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1979)
at org.jboss.threads.EnhancedQueueExecutor.completeTermination(EnhancedQueueExecutor.java:1755)
at org.jboss.threads.EnhancedQueueExecutor.tryDeallocateThread(EnhancedQueueExecutor.java:1578)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1393)
at java.lang.Thread.run(Thread.java:745)
09:52:32,187 INFO [org.jboss.as] (MSC service thread 1-6) WFLYSRV0050: WildFly Core 4.0.0.Alpha7 "Kenny" stopped in 20ms
09:52:32,189 INFO [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Core 4.0.0.Alpha7 "Kenny" starting
{code}
> NullPointerException during server reload
> -----------------------------------------
>
> Key: WFLY-9751
> URL: https://issues.jboss.org/browse/WFLY-9751
> Project: WildFly
> Issue Type: Bug
> Components: Server
> Affects Versions: 12.0.0.Alpha1
> Reporter: Martin Choma
> Priority: Critical
>
> Reproducer:
> {code}
> 0. build wildfly from master
> 1. ./standalone.sh
> 2. ./jboss-cli.sh
> connect
> reload
> reload
> reload
> ...
> {code}
> In log there occurs NPE:
> {code}
> 09:52:28,772 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Core 4.0.0.Alpha7 "Kenny" started in 196ms - Started 292 of 532 services (327 services are lazy, passive or on-demand)
> 09:52:32,175 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0008: Undertow HTTPS listener https suspending
> 09:52:32,176 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
> 09:52:32,176 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0008: Undertow HTTP listener default suspending
> 09:52:32,176 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0019: Host default-host stopping
> 09:52:32,176 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0007: Undertow HTTP listener default stopped, was bound to 127.0.0.1:8080
> 09:52:32,177 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0007: Undertow HTTPS listener https stopped, was bound to 127.0.0.1:8443
> 09:52:32,179 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0004: Undertow 1.4.22.Final stopping
> 09:52:32,180 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) WFLYJCA0019: Stopped Driver service with driver-name = h2
> 09:52:32,184 INFO [org.jboss.as.mail.extension] (MSC service thread 1-1) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
> 09:52:32,182 ERROR [org.jboss.threads.errors] (management task-1) Thread Thread[management task-1,5,main] threw an uncaught exception: java.lang.NullPointerException
> at org.jboss.as.server.mgmt.ManagementWorkerService.stopDone(ManagementWorkerService.java:72)
> at org.xnio.XnioWorker$1.run(XnioWorker.java:138)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1979)
> at org.jboss.threads.EnhancedQueueExecutor.completeTermination(EnhancedQueueExecutor.java:1755)
> at org.jboss.threads.EnhancedQueueExecutor.tryDeallocateThread(EnhancedQueueExecutor.java:1578)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1393)
> at java.lang.Thread.run(Thread.java:745)
> 09:52:32,187 INFO [org.jboss.as] (MSC service thread 1-6) WFLYSRV0050: WildFly Core 4.0.0.Alpha7 "Kenny" stopped in 20ms
> 09:52:32,189 INFO [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Core 4.0.0.Alpha7 "Kenny" starting
> {code}
> Also sometimes (in TS) I can see AssertionError be thrown from same area of code.
> {code}
> 13:59:39,966 ERROR [org.jboss.threads.errors] (management task-3) Thread Thread[management task-3,5,main] threw an uncaught exception: java.lang.AssertionError
> at org.jboss.as.server.mgmt.ManagementWorkerService.stopDone(ManagementWorkerService.java:71)
> at org.xnio.XnioWorker$1.run(XnioWorker.java:138)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1979)
> at org.jboss.threads.EnhancedQueueExecutor.completeTermination(EnhancedQueueExecutor.java:1755)
> at org.jboss.threads.EnhancedQueueExecutor.tryDeallocateThread(EnhancedQueueExecutor.java:1578)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1393)
> at java.lang.Thread.run(Thread.java:748)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 9 months
[JBoss JIRA] (WFLY-9752) Failure to read deployment resource on some WS deployments
by James Perkins (JIRA)
[ https://issues.jboss.org/browse/WFLY-9752?page=com.atlassian.jira.plugin.... ]
James Perkins updated WFLY-9752:
--------------------------------
Steps to Reproduce: Adding a test that attempts to read the deployment model should expose the error. Here's an example commit where the test fails https://github.com/jamezp/wildfly/commit/7580df496c809941afde73accd6d0854....
> Failure to read deployment resource on some WS deployments
> ----------------------------------------------------------
>
> Key: WFLY-9752
> URL: https://issues.jboss.org/browse/WFLY-9752
> Project: WildFly
> Issue Type: Bug
> Components: Web Services
> Reporter: James Perkins
> Assignee: Alessio Soldano
>
> On the test case {{org.jboss.as.test.integration.ws.wsse.trust.WSTrustTestCase}} if you attempt to read the deployment resource of {{jaxws-samples-wsse-policy-trust-sts-holderofkey.war}} a {{java.lang.NoClassDefFoundError}} error is thrown.
> {code}
> 2018-02-02 10:05:29,873 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("read-attribute") failed - address: ([
> ("deployment" => "jaxws-samples-wsse-policy-trust-sts-holderofkey.war"),
> ("subsystem" => "jaxrs"),
> ("rest-resource" => "org.apache.cxf.sts.rest.RESTSecurityTokenServiceImpl")
> ]): java.lang.NoClassDefFoundError: javax/ws/rs/core/Response
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
> at java.lang.Class.privateGetPublicMethods(Class.java:2902)
> at java.lang.Class.getMethods(Class.java:1615)
> at org.jboss.resteasy.spi.metadata.ResourceBuilder.fromAnnotations(ResourceBuilder.java:777)
> at org.jboss.resteasy.spi.metadata.ResourceBuilder.rootResourceFromAnnotations(ResourceBuilder.java:730)
> at org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.<init>(POJOResourceFactory.java:30)
> at org.jboss.resteasy.core.ResourceMethodRegistry.addPerRequestResource(ResourceMethodRegistry.java:79)
> at org.jboss.resteasy.spi.ResteasyDeployment.registration(ResteasyDeployment.java:445)
> at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:258)
> at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:120)
> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)
> at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
> at org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78)
> at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103)
> at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:300)
> at io.undertow.servlet.core.ManagedServlet.getServlet(ManagedServlet.java:190)
> at org.jboss.as.jaxrs.DeploymentRestResourcesDefintion$AbstractRestResReadHandler.execute(DeploymentRestResourcesDefintion.java:189)
> at org.jboss.as.controller.operations.global.ReadAttributeHandler.doExecuteInternal(ReadAttributeHandler.java:172)
> at org.jboss.as.controller.operations.global.ReadAttributeHandler.doExecute(ReadAttributeHandler.java:135)
> at org.jboss.as.controller.operations.global.GlobalOperationHandlers$AbstractMultiTargetHandler.execute(GlobalOperationHandlers.java:232)
> at org.jboss.as.controller.operations.global.GlobalOperationHandlers$AvailableResponseWrapper.execute(GlobalOperationHandlers.java:992)
> at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:982)
> at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:726)
> at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:450)
> at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1404)
> at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:418)
> at org.jboss.as.controller.ModelControllerImpl.lambda$execute$1(ModelControllerImpl.java:243)
> at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:263)
> at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:229)
> at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:243)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:217)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$400(ModelControllerClientOperationHandler.java:137)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:161)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:157)
> at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:287)
> at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:244)
> at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:254)
> at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:225)
> at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:157)
> at org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$1.doExecute(ManagementRequestContextImpl.java:70)
> at org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$AsyncTaskRunner.run(ManagementRequestContextImpl.java:160)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1979)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1481)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1374)
> at java.lang.Thread.run(Thread.java:748)
> at org.jboss.threads.JBossThread.run(JBossThread.java:485)
> Caused by: java.lang.ClassNotFoundException: javax.ws.rs.core.Response from [Module "org.apache.cxf.services-sts" from local module loader @4563e9ab (finder: local module finder @11531931 (roots: /home/jperkins/projects/jboss/wildfly/wildfly/testsuite/integration/ws/target/wildfly/modules,/home/jperkins/projects/jboss/wildfly/wildfly/build/target/wildfly-12.0.0.Alpha1-SNAPSHOT/modules,/home/jperkins/projects/jboss/wildfly/wildfly/build/target/wildfly-12.0.0.Alpha1-SNAPSHOT/modules/system/layers/base,/home/jperkins/projects/jboss/wildfly/wildfly/testsuite/integration/ws/target/modules))]
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:199)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:412)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:400)
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
> ... 47 more
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 9 months
[JBoss JIRA] (WFLY-9752) Failure to read deployment resource on some WS deployments
by James Perkins (JIRA)
James Perkins created WFLY-9752:
-----------------------------------
Summary: Failure to read deployment resource on some WS deployments
Key: WFLY-9752
URL: https://issues.jboss.org/browse/WFLY-9752
Project: WildFly
Issue Type: Bug
Components: Web Services
Reporter: James Perkins
Assignee: Alessio Soldano
On the test case {{org.jboss.as.test.integration.ws.wsse.trust.WSTrustTestCase}} if you attempt to read the deployment resource of {{jaxws-samples-wsse-policy-trust-sts-holderofkey.war}} a {{java.lang.NoClassDefFoundError}} error is thrown.
{code}
2018-02-02 10:05:29,873 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("read-attribute") failed - address: ([
("deployment" => "jaxws-samples-wsse-policy-trust-sts-holderofkey.war"),
("subsystem" => "jaxrs"),
("rest-resource" => "org.apache.cxf.sts.rest.RESTSecurityTokenServiceImpl")
]): java.lang.NoClassDefFoundError: javax/ws/rs/core/Response
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetPublicMethods(Class.java:2902)
at java.lang.Class.getMethods(Class.java:1615)
at org.jboss.resteasy.spi.metadata.ResourceBuilder.fromAnnotations(ResourceBuilder.java:777)
at org.jboss.resteasy.spi.metadata.ResourceBuilder.rootResourceFromAnnotations(ResourceBuilder.java:730)
at org.jboss.resteasy.plugins.server.resourcefactory.POJOResourceFactory.<init>(POJOResourceFactory.java:30)
at org.jboss.resteasy.core.ResourceMethodRegistry.addPerRequestResource(ResourceMethodRegistry.java:79)
at org.jboss.resteasy.spi.ResteasyDeployment.registration(ResteasyDeployment.java:445)
at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:258)
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:120)
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)
at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117)
at org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78)
at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103)
at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:300)
at io.undertow.servlet.core.ManagedServlet.getServlet(ManagedServlet.java:190)
at org.jboss.as.jaxrs.DeploymentRestResourcesDefintion$AbstractRestResReadHandler.execute(DeploymentRestResourcesDefintion.java:189)
at org.jboss.as.controller.operations.global.ReadAttributeHandler.doExecuteInternal(ReadAttributeHandler.java:172)
at org.jboss.as.controller.operations.global.ReadAttributeHandler.doExecute(ReadAttributeHandler.java:135)
at org.jboss.as.controller.operations.global.GlobalOperationHandlers$AbstractMultiTargetHandler.execute(GlobalOperationHandlers.java:232)
at org.jboss.as.controller.operations.global.GlobalOperationHandlers$AvailableResponseWrapper.execute(GlobalOperationHandlers.java:992)
at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:982)
at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:726)
at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:450)
at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1404)
at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:418)
at org.jboss.as.controller.ModelControllerImpl.lambda$execute$1(ModelControllerImpl.java:243)
at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:263)
at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:229)
at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:243)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:217)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$400(ModelControllerClientOperationHandler.java:137)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:161)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:157)
at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:287)
at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:244)
at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:254)
at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:225)
at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:157)
at org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$1.doExecute(ManagementRequestContextImpl.java:70)
at org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$AsyncTaskRunner.run(ManagementRequestContextImpl.java:160)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1979)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1481)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1374)
at java.lang.Thread.run(Thread.java:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:485)
Caused by: java.lang.ClassNotFoundException: javax.ws.rs.core.Response from [Module "org.apache.cxf.services-sts" from local module loader @4563e9ab (finder: local module finder @11531931 (roots: /home/jperkins/projects/jboss/wildfly/wildfly/testsuite/integration/ws/target/wildfly/modules,/home/jperkins/projects/jboss/wildfly/wildfly/build/target/wildfly-12.0.0.Alpha1-SNAPSHOT/modules,/home/jperkins/projects/jboss/wildfly/wildfly/build/target/wildfly-12.0.0.Alpha1-SNAPSHOT/modules/system/layers/base,/home/jperkins/projects/jboss/wildfly/wildfly/testsuite/integration/ws/target/modules))]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:199)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:412)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:400)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
... 47 more
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 9 months
[JBoss JIRA] (WFLY-9751) NullPointerException during server reload
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/WFLY-9751?page=com.atlassian.jira.plugin.... ]
Martin Choma reassigned WFLY-9751:
----------------------------------
Assignee: (was: Jason Greene)
> NullPointerException during server reload
> -----------------------------------------
>
> Key: WFLY-9751
> URL: https://issues.jboss.org/browse/WFLY-9751
> Project: WildFly
> Issue Type: Bug
> Components: Server
> Affects Versions: 12.0.0.Alpha1
> Reporter: Martin Choma
> Priority: Critical
>
> Reproducer:
> {code}
> 0. build wildfly from master
> 1. ./standalone.sh
> 2. ./jboss-cli.sh
> connect
> reload
> reload
> reload
> ...
> {code}
> In log there occurs NPE:
> {code}
> 09:52:28,772 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Core 4.0.0.Alpha7 "Kenny" started in 196ms - Started 292 of 532 services (327 services are lazy, passive or on-demand)
> 09:52:32,175 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0008: Undertow HTTPS listener https suspending
> 09:52:32,176 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
> 09:52:32,176 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0008: Undertow HTTP listener default suspending
> 09:52:32,176 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0019: Host default-host stopping
> 09:52:32,176 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0007: Undertow HTTP listener default stopped, was bound to 127.0.0.1:8080
> 09:52:32,177 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0007: Undertow HTTPS listener https stopped, was bound to 127.0.0.1:8443
> 09:52:32,179 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0004: Undertow 1.4.22.Final stopping
> 09:52:32,180 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) WFLYJCA0019: Stopped Driver service with driver-name = h2
> 09:52:32,184 INFO [org.jboss.as.mail.extension] (MSC service thread 1-1) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
> 09:52:32,182 ERROR [org.jboss.threads.errors] (management task-1) Thread Thread[management task-1,5,main] threw an uncaught exception: java.lang.NullPointerException
> at org.jboss.as.server.mgmt.ManagementWorkerService.stopDone(ManagementWorkerService.java:72)
> at org.xnio.XnioWorker$1.run(XnioWorker.java:138)
> at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1979)
> at org.jboss.threads.EnhancedQueueExecutor.completeTermination(EnhancedQueueExecutor.java:1755)
> at org.jboss.threads.EnhancedQueueExecutor.tryDeallocateThread(EnhancedQueueExecutor.java:1578)
> at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1393)
> at java.lang.Thread.run(Thread.java:745)
> 09:52:32,187 INFO [org.jboss.as] (MSC service thread 1-6) WFLYSRV0050: WildFly Core 4.0.0.Alpha7 "Kenny" stopped in 20ms
> 09:52:32,189 INFO [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Core 4.0.0.Alpha7 "Kenny" starting
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 9 months
[JBoss JIRA] (WFLY-9751) NullPointerException during server reload
by Martin Choma (JIRA)
Martin Choma created WFLY-9751:
----------------------------------
Summary: NullPointerException during server reload
Key: WFLY-9751
URL: https://issues.jboss.org/browse/WFLY-9751
Project: WildFly
Issue Type: Bug
Components: Server
Affects Versions: 12.0.0.Alpha1
Reporter: Martin Choma
Assignee: Jason Greene
Priority: Critical
Reproducer:
{code}
0. build wildfly from master
1. ./standalone.sh
2. ./jboss-cli.sh
connect
reload
reload
reload
...
{code}
In log there occurs NPE:
{code}
09:52:28,772 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Core 4.0.0.Alpha7 "Kenny" started in 196ms - Started 292 of 532 services (327 services are lazy, passive or on-demand)
09:52:32,175 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0008: Undertow HTTPS listener https suspending
09:52:32,176 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
09:52:32,176 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0008: Undertow HTTP listener default suspending
09:52:32,176 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0019: Host default-host stopping
09:52:32,176 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0007: Undertow HTTP listener default stopped, was bound to 127.0.0.1:8080
09:52:32,177 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0007: Undertow HTTPS listener https stopped, was bound to 127.0.0.1:8443
09:52:32,179 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0004: Undertow 1.4.22.Final stopping
09:52:32,180 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) WFLYJCA0019: Stopped Driver service with driver-name = h2
09:52:32,184 INFO [org.jboss.as.mail.extension] (MSC service thread 1-1) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
09:52:32,182 ERROR [org.jboss.threads.errors] (management task-1) Thread Thread[management task-1,5,main] threw an uncaught exception: java.lang.NullPointerException
at org.jboss.as.server.mgmt.ManagementWorkerService.stopDone(ManagementWorkerService.java:72)
at org.xnio.XnioWorker$1.run(XnioWorker.java:138)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1979)
at org.jboss.threads.EnhancedQueueExecutor.completeTermination(EnhancedQueueExecutor.java:1755)
at org.jboss.threads.EnhancedQueueExecutor.tryDeallocateThread(EnhancedQueueExecutor.java:1578)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1393)
at java.lang.Thread.run(Thread.java:745)
09:52:32,187 INFO [org.jboss.as] (MSC service thread 1-6) WFLYSRV0050: WildFly Core 4.0.0.Alpha7 "Kenny" stopped in 20ms
09:52:32,189 INFO [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Core 4.0.0.Alpha7 "Kenny" starting
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 9 months
[JBoss JIRA] (DROOLS-2276) NoClassDefFoundError is thrown on updateToVersion() with rule removal and eval
by Mario Fusco (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2276?page=com.atlassian.jira.plugi... ]
Mario Fusco updated DROOLS-2276:
--------------------------------
Sprint: 2018 Week 05-06
> NoClassDefFoundError is thrown on updateToVersion() with rule removal and eval
> ------------------------------------------------------------------------------
>
> Key: DROOLS-2276
> URL: https://issues.jboss.org/browse/DROOLS-2276
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.5.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Mario Fusco
> Labels: support
>
> Under the conditions:
> - updateToVersion() is called twice
> - A rule is removed on the version change
> - The rule has eval()
> NoClassDefFoundError is thrown on the second updateToVersion()
> {noformat}
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.801 sec <<< FAILURE! - in org.drools.compiler.integrationtests.incrementalcompilation.IncrementalCompilationTest
> testRuleRemovalAndEval(org.drools.compiler.integrationtests.incrementalcompilation.IncrementalCompilationTest) Time elapsed: 1.799 sec <<< ERROR!
> java.lang.NoClassDefFoundError: org/drools/compiler/Rule_R2773041198
> at org.drools.core.common.ProjectClassLoader.tryDefineType(ProjectClassLoader.java:191)
> at org.drools.core.common.ProjectClassLoader.loadType(ProjectClassLoader.java:181)
> at org.drools.core.common.ProjectClassLoader.loadClass(ProjectClassLoader.java:148)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at org.drools.core.rule.JavaDialectRuntimeData$PackageClassLoader.loadClass(JavaDialectRuntimeData.java:575)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at org.drools.compiler.Rule_R2773041198Eval0InvokerGenerated.evaluate(Unknown Source)
> at org.drools.compiler.Rule_R2773041198Eval0Invoker.evaluate(Unknown Source)
> at org.drools.core.rule.EvalCondition.isAllowed(EvalCondition.java:129)
> at org.drools.core.phreak.PhreakEvalNode.doLeftInserts(PhreakEvalNode.java:72)
> at org.drools.core.phreak.PhreakEvalNode.doNode(PhreakEvalNode.java:56)
> at org.drools.core.phreak.RuleNetworkEvaluator.evalNode(RuleNetworkEvaluator.java:381)
> at org.drools.core.phreak.RuleNetworkEvaluator.innerEval(RuleNetworkEvaluator.java:333)
> at org.drools.core.phreak.RuleNetworkEvaluator.outerEval(RuleNetworkEvaluator.java:169)
> at org.drools.core.phreak.AddRemoveRule.forceFlushLeftTuple(AddRemoveRule.java:676)
> at org.drools.core.phreak.AddRemoveRule.flushStagedTuples(AddRemoveRule.java:604)
> at org.drools.core.phreak.AddRemoveRule.removeRule(AddRemoveRule.java:164)
> at org.drools.core.reteoo.ReteooBuilder.removeTerminalNode(ReteooBuilder.java:191)
> at org.drools.core.reteoo.ReteooBuilder.removeRules(ReteooBuilder.java:177)
> at org.drools.core.impl.KnowledgeBaseImpl.removeObjectsGeneratedFromResource(KnowledgeBaseImpl.java:1740)
> at org.drools.compiler.builder.impl.KnowledgeBuilderImpl.removeObjectsGeneratedFromResource(KnowledgeBuilderImpl.java:2281)
> at org.drools.compiler.kie.builder.impl.KieBaseUpdater.run(KieBaseUpdater.java:66)
> at org.drools.core.impl.KnowledgeBaseImpl.enqueueModification(KnowledgeBaseImpl.java:734)
> at org.drools.compiler.kie.builder.impl.KieContainerImpl.update(KieContainerImpl.java:245)
> at org.drools.compiler.kie.builder.impl.KieContainerImpl.updateToVersion(KieContainerImpl.java:182)
> at org.drools.compiler.integrationtests.incrementalcompilation.IncrementalCompilationTest.testRuleRemovalAndEval(IncrementalCompilationTest.java:4708)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 9 months
[JBoss JIRA] (DROOLS-2291) KieSessionConfiguration is not serializable
by Mario Fusco (JIRA)
Mario Fusco created DROOLS-2291:
-----------------------------------
Summary: KieSessionConfiguration is not serializable
Key: DROOLS-2291
URL: https://issues.jboss.org/browse/DROOLS-2291
Project: Drools
Issue Type: Bug
Components: core engine
Reporter: Mario Fusco
Assignee: Mario Fusco
The TimerJobFactoryType has been changed from an enum into a class which is not declared Serializable. That implies that it is no longer serializable and then also the session configuration that contains it isn't.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 9 months