[JBoss JIRA] (WFCORE-3734) [Coverity] Potential Resource Leak
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3734?page=com.atlassian.jira.plugi... ]
Martin Choma updated WFCORE-3734:
---------------------------------
Summary: [Coverity] Potential Resource Leak (was: [Coverity] ModelControllerClientFactoryImpl Resource Leak )
> [Coverity] Potential Resource Leak
> -----------------------------------
>
> Key: WFCORE-3734
> URL: https://issues.jboss.org/browse/WFCORE-3734
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Reporter: Martin Choma
> Assignee: Brian Stansberry
> Priority: Critical
>
> [1] Closeable Operation is not closed in
> {code:java|title=ModelControllerClientFactoryImpl.java}
> private OperationResponse runOperation(final ModelNode operation, final OperationMessageHandler messageHandler,
> final OperationAttachments attachments, boolean inVmCall) {
> Operation op = attachments == null ? Operation.Factory.create(operation) : Operation.Factory.create(operation, attachments.getInputStreams(),
> attachments.isAutoCloseStreams());
> if (inVmCall) {
> return SecurityActions.runInVm(() -> modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT));
> } else {
> return modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT);
> }
> }
> {code}
> [2] Closeable Operation is not closed in
> {code}
> [1] http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
> [2] http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (WFCORE-3734) [Coverity] ModelControllerClientFactoryImpl Resource Leak
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3734?page=com.atlassian.jira.plugi... ]
Martin Choma updated WFCORE-3734:
---------------------------------
Description:
[1] Closeable Operation is not closed in
{code:java|title=ModelControllerClientFactoryImpl.java}
private OperationResponse runOperation(final ModelNode operation, final OperationMessageHandler messageHandler,
final OperationAttachments attachments, boolean inVmCall) {
Operation op = attachments == null ? Operation.Factory.create(operation) : Operation.Factory.create(operation, attachments.getInputStreams(),
attachments.isAutoCloseStreams());
if (inVmCall) {
return SecurityActions.runInVm(() -> modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT));
} else {
return modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT);
}
}
{code}
[2] Closeable Operation is not closed in
{code}
[1] http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
[2] http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
was:
Cloaseable Operation op is not closed in
{code:java|title=ModelControllerClientFactoryImpl.java}
private OperationResponse runOperation(final ModelNode operation, final OperationMessageHandler messageHandler,
final OperationAttachments attachments, boolean inVmCall) {
Operation op = attachments == null ? Operation.Factory.create(operation) : Operation.Factory.create(operation, attachments.getInputStreams(),
attachments.isAutoCloseStreams());
if (inVmCall) {
return SecurityActions.runInVm(() -> modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT));
} else {
return modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT);
}
}
{code}
[1] http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
> [Coverity] ModelControllerClientFactoryImpl Resource Leak
> ----------------------------------------------------------
>
> Key: WFCORE-3734
> URL: https://issues.jboss.org/browse/WFCORE-3734
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Reporter: Martin Choma
> Assignee: Brian Stansberry
> Priority: Critical
>
> [1] Closeable Operation is not closed in
> {code:java|title=ModelControllerClientFactoryImpl.java}
> private OperationResponse runOperation(final ModelNode operation, final OperationMessageHandler messageHandler,
> final OperationAttachments attachments, boolean inVmCall) {
> Operation op = attachments == null ? Operation.Factory.create(operation) : Operation.Factory.create(operation, attachments.getInputStreams(),
> attachments.isAutoCloseStreams());
> if (inVmCall) {
> return SecurityActions.runInVm(() -> modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT));
> } else {
> return modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT);
> }
> }
> {code}
> [2] Closeable Operation is not closed in
> {code}
> [1] http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
> [2] http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (WFCORE-3734) [Coverity] ModelControllerClientFactoryImpl Resource Leak
by Martin Choma (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3734?page=com.atlassian.jira.plugi... ]
Martin Choma updated WFCORE-3734:
---------------------------------
Summary: [Coverity] ModelControllerClientFactoryImpl Resource Leak (was: ModelControllerClientFactoryImpl ResourceLeak )
> [Coverity] ModelControllerClientFactoryImpl Resource Leak
> ----------------------------------------------------------
>
> Key: WFCORE-3734
> URL: https://issues.jboss.org/browse/WFCORE-3734
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Reporter: Martin Choma
> Assignee: Brian Stansberry
> Priority: Critical
>
> Cloaseable Operation op is not closed in
> {code:java|title=ModelControllerClientFactoryImpl.java}
> private OperationResponse runOperation(final ModelNode operation, final OperationMessageHandler messageHandler,
> final OperationAttachments attachments, boolean inVmCall) {
> Operation op = attachments == null ? Operation.Factory.create(operation) : Operation.Factory.create(operation, attachments.getInputStreams(),
> attachments.isAutoCloseStreams());
> if (inVmCall) {
> return SecurityActions.runInVm(() -> modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT));
> } else {
> return modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT);
> }
> }
> {code}
> [1] http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (WFCORE-3734) ModelControllerClientFactoryImpl ResourceLeak
by Martin Choma (JIRA)
Martin Choma created WFCORE-3734:
------------------------------------
Summary: ModelControllerClientFactoryImpl ResourceLeak
Key: WFCORE-3734
URL: https://issues.jboss.org/browse/WFCORE-3734
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Reporter: Martin Choma
Assignee: Brian Stansberry
Priority: Critical
Cloaseable Operation op is not closed in
{code:java|title=ModelControllerClientFactoryImpl.java}
private OperationResponse runOperation(final ModelNode operation, final OperationMessageHandler messageHandler,
final OperationAttachments attachments, boolean inVmCall) {
Operation op = attachments == null ? Operation.Factory.create(operation) : Operation.Factory.create(operation, attachments.getInputStreams(),
attachments.isAutoCloseStreams());
if (inVmCall) {
return SecurityActions.runInVm(() -> modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT));
} else {
return modelController.execute(op, messageHandler, ModelController.OperationTransactionControl.COMMIT);
}
}
{code}
[1] http://station5.brq.redhat.com:8080/reports.htm#v10078/p10031/fileInstanc...
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (DROOLS-2458) [DMN Designer] Error while removing connected decision
by Pere Fernández Pérez (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2458?page=com.atlassian.jira.plugi... ]
Pere Fernández Pérez commented on DROOLS-2458:
----------------------------------------------
Also if an element from canvas is removed it should notify FormPropertiesWidget in order to clear the properties form for the removed element...
> [DMN Designer] Error while removing connected decision
> ------------------------------------------------------
>
> Key: DROOLS-2458
> URL: https://issues.jboss.org/browse/DROOLS-2458
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.8.0.Final
> Reporter: Jozef Marko
> Assignee: Roger Martínez
> Priority: Critical
> Labels: Stunner
> Fix For: 7.8.0.Final
>
> Attachments: Screenshot from 2018-04-06 14-41-28.png, Screenshot from 2018-04-06 14-42-45.png
>
>
> If there are connected decisions, user is unable to delete them. Issue was found during JBPM-6777 review, however probably there is no relation.
> h2. Acceptance test
> Prepare DRG diagram with all combinations of connections, be sure all node types used, try to delete each node type in situation it is either source or target of connection.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months