[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)
8 years, 3 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)
8 years, 3 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)
8 years, 3 months
[JBoss JIRA] (DROOLS-2290) KieSessionConfiguration is not serializable
by Mario Fusco (JIRA)
Mario Fusco created DROOLS-2290:
-----------------------------------
Summary: KieSessionConfiguration is not serializable
Key: DROOLS-2290
URL: https://issues.jboss.org/browse/DROOLS-2290
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)
8 years, 3 months
[JBoss JIRA] (JGRP-2245) JGroup JDBC_PING is not clearing the crashed members
by Bela Ban (JIRA)
[ https://issues.jboss.org/browse/JGRP-2245?page=com.atlassian.jira.plugin.... ]
Bela Ban commented on JGRP-2245:
--------------------------------
I released 4.0.10 yesterday! :-)
> JGroup JDBC_PING is not clearing the crashed members
> ----------------------------------------------------
>
> Key: JGRP-2245
> URL: https://issues.jboss.org/browse/JGRP-2245
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 4.0.8
> Reporter: Sibin Karnavar
> Assignee: Bela Ban
> Fix For: 4.0.10
>
>
> 1) In AWS cloud environments, IP address will be different when a node crashes and when a new cluster node gets recreated.
> 2) In this situation, JGroup is not clearing logical_addr_cache and it gets confused, when we restart the cluster nodes.
> 3)logical_addr_cache_max_size and the eviction did not work because, the cache is again getting updated from the ping and it never getting marked as removable.
> I think the issue is
> handleView method is always re writing the entire cache on view change to the db. So even if we clear the table with the help of above mentioned flags (remove_all_data_on_view_change && remove_old_coords_on_view_change) , its getting re written to the table.
> {code:java}
> // remove all files which are not from the current members
> protected void handleView(View new_view, View old_view, boolean coord_changed) {
> if(is_coord) {
> if(coord_changed) {
> if(remove_all_data_on_view_change)
> removeAll(cluster_name);
> else if(remove_old_coords_on_view_change) {
> Address old_coord=old_view != null? old_view.getCreator() : null;
> if(old_coord != null)
> remove(cluster_name, old_coord);
> }
> }
> if(coord_changed || View.diff(old_view, new_view)[1].length > 0) {
> writeAll();
> if(remove_all_data_on_view_change || remove_old_coords_on_view_change)
> startInfoWriter();
> }
> }
> else if(coord_changed) // I'm no longer the coordinator
> remove(cluster_name, local_addr);
> }
> {code}
> 4) Because of the crashed members (non existing ip address), we are getting lot of socket timeouts
> sendToMembers of TP is trying to send messages to old crashed members and writing error logs while startup.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (DROOLS-2289) The response time jump add in stability test
by LIANG LIU (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2289?page=com.atlassian.jira.plugi... ]
LIANG LIU updated DROOLS-2289:
------------------------------
Description:
!image-2018-02-02-14-51-31-166.png|thumbnail!
Stability test the response time jump add! Figure ; En,there are 20 rules,like:
rule "1"
salience 9999
when
$inputFact:InputFact(stateless_data["black_test"]== 1)
then
result.put(drools.getRule().getName(),1);
end
It's a problem I use or some parameters need to be set?
was:
!image-2018-02-02-14-51-31-166.png|thumbnail!
Stability test the response time jump add! Figure ; En,there are 20 rules,like:
rule "1"
salience 9999
when
$inputFact:InputFact(stateless_data["black_test"]== 1)
then
result.put(drools.getRule().getName(),1);
end
> The response time jump add in stability test
> ---------------------------------------------
>
> Key: DROOLS-2289
> URL: https://issues.jboss.org/browse/DROOLS-2289
> Project: Drools
> Issue Type: Quality Risk
> Components: kie server
> Affects Versions: 7.5.0.Final
> Environment: tomcat version:8.5.24 jmeter version:jakarta-jmeter-2.5.1 Drools version:7.5.0.Final
> cpu:2x6 x86_64, memory:32G, sysOS:CentOS release 6.3
> Reporter: LIANG LIU
> Assignee: Edson Tirelli
> Attachments: image-2018-02-02-14-51-31-166.png, tomcat8_test.jmx
>
>
> !image-2018-02-02-14-51-31-166.png|thumbnail!
> Stability test the response time jump add! Figure ; En,there are 20 rules,like:
> rule "1"
> salience 9999
> when
> $inputFact:InputFact(stateless_data["black_test"]== 1)
> then
> result.put(drools.getRule().getName(),1);
> end
> It's a problem I use or some parameters need to be set?
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (DROOLS-2289) The response time jump add in stability test
by LIANG LIU (JIRA)
LIANG LIU created DROOLS-2289:
---------------------------------
Summary: The response time jump add in stability test
Key: DROOLS-2289
URL: https://issues.jboss.org/browse/DROOLS-2289
Project: Drools
Issue Type: Quality Risk
Components: kie server
Affects Versions: 7.5.0.Final
Environment: tomcat version:8.5.24 jmeter version:jakarta-jmeter-2.5.1 Drools version:7.5.0.Final
cpu:2x6 x86_64, memory:32G, sysOS:CentOS release 6.3
Reporter: LIANG LIU
Assignee: Edson Tirelli
Attachments: image-2018-02-02-14-51-31-166.png, tomcat8_test.jmx
!image-2018-02-02-14-51-31-166.png|thumbnail!
Stability test the response time jump add! Figure ; En,there are 20 rules,like:
rule "1"
salience 9999
when
$inputFact:InputFact(stateless_data["black_test"]== 1)
then
result.put(drools.getRule().getName(),1);
end
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months