[JBoss JIRA] (DROOLS-751) Missing nullchecks in LeftTupleSetsImpl
by Petr Široký (JIRA)
[ https://issues.jboss.org/browse/DROOLS-751?page=com.atlassian.jira.plugin... ]
Petr Široký reopened DROOLS-751:
--------------------------------
The PR was rejected, so reopening.
Please do not mark the issue as DONE until the code gets actually merged into the branch.
Also please when creating the issue, fill in the details like environment, affected version, component, etc.
Thanks!
> Missing nullchecks in LeftTupleSetsImpl
> ---------------------------------------
>
> Key: DROOLS-751
> URL: https://issues.jboss.org/browse/DROOLS-751
> Project: Drools
> Issue Type: Bug
> Reporter: Tibor Zimányi
> Assignee: Mark Proctor
>
> In class LeftTupleSetsImpl there are missing nullchecks in some methods that contains handling LeftTuple instances. I.e. in method removeInsert there is LeftTuple variable previous that is not nullchecked.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (DROOLS-740) NoSuchMethodError at runtime while evaluating String and Long
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/DROOLS-740?page=com.atlassian.jira.plugin... ]
RH Bugzilla Integration commented on DROOLS-740:
------------------------------------------------
Marek Winkler <mwinkler(a)redhat.com> changed the Status of [bug 1202365|https://bugzilla.redhat.com/show_bug.cgi?id=1202365] from ON_QA to VERIFIED
> NoSuchMethodError at runtime while evaluating String and Long
> -------------------------------------------------------------
>
> Key: DROOLS-740
> URL: https://issues.jboss.org/browse/DROOLS-740
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 6.2.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Mario Fusco
> Fix For: 6.3.0.Beta1
>
>
> When you write a LHS like this,
> {noformat}
> Person( name == "Elizabeth" + new Long(2L) )
> {noformat}
> you will face NoSuchMethodError after 20 times evaluation.
> {noformat}
> testJittedConstraintStringAndLong(org.drools.compiler.integrationtests.Misc2Test) Time elapsed: 1.216 sec <<< ERROR!
> java.lang.NoSuchMethodError: java.lang.StringBuilder.append(Ljava/lang/Long;)Ljava/lang/StringBuilder;
> at ConditionEvaluator80a8832efb1646d488df2cde72963f02.evaluate(Unknown Source)
> at org.drools.core.rule.constraint.MvelConstraint.evaluate(MvelConstraint.java:230)
> at org.drools.core.rule.constraint.MvelConstraint.isAllowed(MvelConstraint.java:187)
> at org.drools.core.reteoo.AlphaNode.assertObject(AlphaNode.java:141)
> at org.drools.core.reteoo.SingleObjectSinkAdapter.propagateAssertObject(SingleObjectSinkAdapter.java:60)
> at org.drools.core.reteoo.ObjectTypeNode.assertObject(ObjectTypeNode.java:294)
> at org.drools.core.reteoo.EntryPointNode.assertObject(EntryPointNode.java:255)
> at org.drools.core.common.NamedEntryPoint.insert(NamedEntryPoint.java:277)
> at org.drools.core.common.NamedEntryPoint.insert(NamedEntryPoint.java:237)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.insert(StatefulKnowledgeSessionImpl.java:1495)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.insert(StatefulKnowledgeSessionImpl.java:1450)
> at org.drools.compiler.integrationtests.Misc2Test.testJittedConstraintStringAndLong(Misc2Test.java:7253)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (DROOLS-751) Missing nullchecks in LeftTupleSetsImpl
by Tibor Zimányi (JIRA)
[ https://issues.jboss.org/browse/DROOLS-751?page=com.atlassian.jira.plugin... ]
Tibor Zimányi commented on DROOLS-751:
--------------------------------------
Found because of failed test (MultithreadTest):
java.lang.NullPointerException
at org.drools.core.common.LeftTupleSetsImpl.removeInsert(LeftTupleSetsImpl.java:136)
at org.drools.core.common.LeftTupleSetsImpl.addDelete(LeftTupleSetsImpl.java:86)
at org.drools.core.common.SynchronizedLeftTupleSets.addDelete(SynchronizedLeftTupleSets.java:20)
at org.drools.core.reteoo.LeftInputAdapterNode.doDeleteSegmentMemory(LeftInputAdapterNode.java:340)
at org.drools.core.reteoo.LeftInputAdapterNode.doDeleteObject(LeftInputAdapterNode.java:302)
at org.drools.core.reteoo.LeftInputAdapterNode.retractLeftTuple(LeftInputAdapterNode.java:414)
at org.drools.core.reteoo.ObjectTypeNode.doRetractObject(ObjectTypeNode.java:354)
at org.drools.core.reteoo.ObjectTypeNode.retractObject(ObjectTypeNode.java:337)
at org.drools.core.reteoo.EntryPointNode.retractObject(EntryPointNode.java:381)
at org.drools.core.common.NamedEntryPoint.delete(NamedEntryPoint.java:615)
at org.drools.core.impl.StatefulKnowledgeSessionImpl.delete(StatefulKnowledgeSessionImpl.java:1517)
at org.drools.core.impl.StatefulKnowledgeSessionImpl.retract(StatefulKnowledgeSessionImpl.java:1502)
at org.drools.compiler.integrationtests.MultithreadTest$2.call(MultithreadTest.java:92)
at org.drools.compiler.integrationtests.MultithreadTest$2.call(MultithreadTest.java:86)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
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)
> Missing nullchecks in LeftTupleSetsImpl
> ---------------------------------------
>
> Key: DROOLS-751
> URL: https://issues.jboss.org/browse/DROOLS-751
> Project: Drools
> Issue Type: Bug
> Reporter: Tibor Zimányi
> Assignee: Mark Proctor
>
> In class LeftTupleSetsImpl there are missing nullchecks in some methods that contains handling LeftTuple instances. I.e. in method removeInsert there is LeftTuple variable previous that is not nullchecked.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (DROOLS-751) Missing nullchecks in LeftTupleSetsImpl
by Tibor Zimányi (JIRA)
Tibor Zimányi created DROOLS-751:
------------------------------------
Summary: Missing nullchecks in LeftTupleSetsImpl
Key: DROOLS-751
URL: https://issues.jboss.org/browse/DROOLS-751
Project: Drools
Issue Type: Bug
Reporter: Tibor Zimányi
Assignee: Mark Proctor
In class LeftTupleSetsImpl there are missing nullchecks in some methods that contains handling LeftTuple instances. I.e. in method removeInsert there is LeftTuple variable previous that is not nullchecked.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (WFCORE-615) Invalid package exclusion in security manager module.
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFCORE-615?page=com.atlassian.jira.plugin... ]
Darran Lofthouse updated WFCORE-615:
------------------------------------
Description:
Has the following export exclusion defined: -
{code}
<exports>
<exclude path="org/jboss/wildfly/security/manager/_private"/>
</exports>
{code}
But should be: -
{code}
<exports>
<exclude path="org/wildfly/security/manager/_private"/>
</exports>
{code}
> Invalid package exclusion in security manager module.
> -----------------------------------------------------
>
> Key: WFCORE-615
> URL: https://issues.jboss.org/browse/WFCORE-615
> Project: WildFly Core
> Issue Type: Bug
> Components: Security
> Affects Versions: 1.0.0.Beta1
> Reporter: Darran Lofthouse
> Assignee: Darran Lofthouse
> Fix For: 1.0.0.CR1
>
>
> Has the following export exclusion defined: -
> {code}
> <exports>
> <exclude path="org/jboss/wildfly/security/manager/_private"/>
> </exports>
> {code}
> But should be: -
> {code}
> <exports>
> <exclude path="org/wildfly/security/manager/_private"/>
> </exports>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months