[JBoss JIRA] (DROOLS-2580) KieScannerHolder throws an NullPointerException at non-kiecontainer drools startup that is later catched somewhere. This is a pita for debugging
by Geoffrey De Smet (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2580?page=com.atlassian.jira.plugi... ]
Geoffrey De Smet updated DROOLS-2580:
-------------------------------------
Summary: KieScannerHolder throws an NullPointerException at non-kiecontainer drools startup that is later catched somewhere. This is a pita for debugging (was: KieScannerHolder throws an NullPointerException at normal drools startup that is later catched somewhere. This is a pita for debugging)
> KieScannerHolder throws an NullPointerException at non-kiecontainer drools startup that is later catched somewhere. This is a pita for debugging
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DROOLS-2580
> URL: https://issues.jboss.org/browse/DROOLS-2580
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Reporter: Geoffrey De Smet
> Assignee: Mario Fusco
> Attachments: Selection_763.png
>
>
> This method:
> org.drools.compiler.kie.builder.impl.KieRepositoryImpl.KieScannerHolder#getInternalKieScanner
> throws an NPE when starting an example in optaplanner-examples.
> That NPE is then immediately caught by line 88 by the catch-all-exceptions, but meanwhile it has stopped my debugger NPE breakpoint, which is pita. *Exceptions should not be used for flow control.*
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month
[JBoss JIRA] (DROOLS-2580) KieScannerHolder throws an NullPointerException at normal drools startup that is later catched somewhere. This is a pita for debugging
by Geoffrey De Smet (JIRA)
Geoffrey De Smet created DROOLS-2580:
----------------------------------------
Summary: KieScannerHolder throws an NullPointerException at normal drools startup that is later catched somewhere. This is a pita for debugging
Key: DROOLS-2580
URL: https://issues.jboss.org/browse/DROOLS-2580
Project: Drools
Issue Type: Bug
Components: core engine
Reporter: Geoffrey De Smet
Assignee: Mario Fusco
Attachments: Selection_763.png
This method:
org.drools.compiler.kie.builder.impl.KieRepositoryImpl.KieScannerHolder#getInternalKieScanner
throws an NPE when starting an example in optaplanner-examples.
That NPE is then immediately caught by line 88 by the catch-all-exceptions, but meanwhile it has stopped my debugger NPE breakpoint, which is pita. *Exceptions should not be used for flow control.*
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month
[JBoss JIRA] (WFCORE-3868) Domain mode shutdown of EE executor service with :stop() or :stop(timeout=0) command doesn't work
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3868?page=com.atlassian.jira.plugi... ]
Brian Stansberry commented on WFCORE-3868:
------------------------------------------
Is there anything specific to domain mode about this? It's certainly possible there is, as "stop" handling is special in domain mode.
> Domain mode shutdown of EE executor service with :stop() or :stop(timeout=0) command doesn't work
> -------------------------------------------------------------------------------------------------
>
> Key: WFCORE-3868
> URL: https://issues.jboss.org/browse/WFCORE-3868
> Project: WildFly Core
> Issue Type: Bug
> Components: Management
> Affects Versions: 5.0.0.Beta4
> Reporter: Yeray Borges
> Assignee: Yeray Borges
> Attachments: ExecutorServiceShutdownReproducer.war
>
>
> EAP's EE-Concurrency Managed Executor Service is expected to skip the tasks that are pending in its execution queue upon server shutdown as [documented here |https://docs.jboss.org/author/display/WFLY/Suspend%2C+Resume+and+Graceful+shutdown]
> This is necessary to cope with scenario where a polling-type task is re-scheduling a new instance of itself just before exiting (so that there is always one task polling - pattern used e.g. by Spring message listeners
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 1 month