[JBoss JIRA] (DROOLS-1768) unable to resolve method using strict-mode
by gabry.wu gabry.wu (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1768?page=com.atlassian.jira.plugi... ]
gabry.wu gabry.wu reopened DROOLS-1768:
---------------------------------------
wef
> unable to resolve method using strict-mode
> ------------------------------------------
>
> Key: DROOLS-1768
> URL: https://issues.jboss.org/browse/DROOLS-1768
> Project: Drools
> Issue Type: Feature Request
> Components: core engine
> Affects Versions: 7.0.0.Final
> Reporter: gabry.wu gabry.wu
> Assignee: Mario Fusco
> Labels: support
> Fix For: 7.0.0.Final
>
> Attachments: 374.drl, session.log
>
>
> when i build drools project in linux ,error occors as flow,but in windows 10,error cannot reproduce
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building shrbank-shrools-riskControl 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ shrbank-shrools-riskControl ---
> [INFO] Deleting /home/gabry/shrools/project/riskcontrol/target
> [INFO]
> [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ shrbank-shrools-riskControl ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 19 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ shrbank-shrools-riskControl ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 2 source files to /home/gabry/shrools/project/riskcontrol/target/classes
> [INFO] /home/gabry/shrools/project/riskcontrol/src/main/java/com/shrbank/shrools/riskControl/model/RiskEvent.java: Some input files use unchecked or unsafe operations.
> [INFO] /home/gabry/shrools/project/riskcontrol/src/main/java/com/shrbank/shrools/riskControl/model/RiskEvent.java: Recompile with -Xlint:unchecked for details.
> [INFO]
> [INFO] --- kie-maven-plugin:7.3.0.Final:build (default-build) @ shrbank-shrools-riskControl ---
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-core/7.3.0.Final/drools-core-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.drools.core.io.impl.ResourceFactoryServiceImpl
> [INFO] Adding Service org.drools.core.marshalling.impl.MarshallerProviderImpl
> [INFO] Adding Service org.drools.core.concurrent.ExecutorProviderImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-compiler/7.3.0.Final/drools-compiler-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.drools.compiler.kie.builder.impl.KieServicesImpl
> [INFO] Adding Service org.drools.compiler.builder.impl.KnowledgeBuilderFactoryServiceImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/kie/kie-internal/7.3.0.Final/kie-internal-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.kie.internal.services.KieWeaversImpl
> [INFO] Adding Service org.kie.internal.services.KieBeliefsImpl
> [INFO] Adding Service org.kie.internal.services.KieAssemblersImpl
> [INFO] Adding Service org.kie.internal.services.KieRuntimesImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/kie/kie-ci/7.3.0.Final/kie-ci-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.kie.scanner.KieScannerFactoryServiceImpl
> [INFO] Adding Service org.kie.scanner.MavenClassLoaderResolver
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-decisiontables/7.3.0.Final/drools-decisiontables-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.drools.decisiontable.DecisionTableProviderImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-scorecards/7.3.0.Final/drools-scorecards-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.drools.scorecards.ScoreCardProviderImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-pmml/7.3.0.Final/drools-pmml-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.drools.pmml.pmml_4_2.PMML4Compiler
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/jbpm/jbpm-bpmn2/7.3.0.Final/jbpm-bpmn2-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.jbpm.bpmn2.BPMN2ProcessProviderImpl
> [INFO] Adding Service org.jbpm.bpmn2.xml.XmlProcessDumperFactoryServiceImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/jbpm/jbpm-flow-builder/7.3.0.Final/jbpm-flow-builder-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.jbpm.process.builder.ProcessBuilderFactoryServiceImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/jbpm/jbpm-flow/7.3.0.Final/jbpm-flow-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.jbpm.marshalling.impl.ProcessMarshallerFactoryServiceImpl
> [INFO] Adding Service org.jbpm.process.instance.ProcessRuntimeFactoryServiceImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-workbench-models-guided-dtable/7.3.0.Final/drools-workbench-models-guided-dtable-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.drools.workbench.models.guided.dtable.backend.GuidedDecisionTableProviderImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-workbench-models-guided-template/7.3.0.Final/drools-workbench-models-guided-template-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.drools.workbench.models.guided.template.backend.GuidedRuleTemplateProviderImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-workbench-models-guided-scorecard/7.3.0.Final/drools-workbench-models-guided-scorecard-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.drools.workbench.models.guided.scorecard.backend.GuidedScoreCardProviderImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/optaplanner/optaplanner-core/7.3.0.Final/optaplanner-core-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service +org.optaplanner.core.impl.solver.kie.KieSolverAssemblerService
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/kie/kie-dmn-core/7.3.0.Final/kie-dmn-core-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service +org.kie.dmn.core.weaver.DMNWeaverService
> [INFO] Adding Service +org.kie.dmn.core.assembler.DMNAssemblerService
> [INFO] Adding Service +org.kie.dmn.core.runtime.DMNRuntimeService
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/kie/kie-internal/7.3.0.Final/kie-internal-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.kie.internal.services.KieWeaversImpl
> [INFO] Adding Service org.kie.internal.services.KieBeliefsImpl
> [INFO] Adding Service org.kie.internal.services.KieAssemblersImpl
> [INFO] Adding Service org.kie.internal.services.KieRuntimesImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-core/7.3.0.Final/drools-core-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.drools.core.io.impl.ResourceFactoryServiceImpl
> [INFO] Adding Service org.drools.core.marshalling.impl.MarshallerProviderImpl
> [INFO] Adding Service org.drools.core.concurrent.ExecutorProviderImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-compiler/7.3.0.Final/drools-compiler-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.drools.compiler.kie.builder.impl.KieServicesImpl
> [INFO] Adding Service org.drools.compiler.builder.impl.KnowledgeBuilderFactoryServiceImpl
> [INFO] Adding KieModule from resource: FileResource[file=/home/gabry/shrools/project/riskcontrol/src/main/resources]
> [WARNING] Unable to find pom.properties in /home/gabry/shrools/project/riskcontrol/src/main/resources
> [INFO] Recursed up folders, found and used pom.xml /home/gabry/shrools/project/riskcontrol/pom.xml
> [INFO] KieModule was added: FileKieModule[releaseId=com.shrbank.shrools.riskControl:shrbank-shrools-riskControl:1.0-SNAPSHOT,file=/home/gabry/shrools/project/riskcontrol/src/main/resources]
> [ERROR] Unable to build KieBaseModel:defaultKBase
> Unable to Analyse Expression occurTime >= Utils.addSeconds($con0.occurTime,-3600):
> [Error: unable to resolve method using strict-mode: com.shrbank.shrools.riskControl.model.RiskEvent.Utils()]
> [Near : {... occurTime >= Utils.addSeconds($con0.occurTi ....}]
> ^ : [Rule name='374-PAYMENT_RISK_EXCEPTION_1-1小时内设备上支付次数频繁']
> Unable to Analyse Expression relateEventId != $resList.relateEventId && occurTime >= Utils.addSeconds($con0.occurTime,-3600):
> [Error: unable to resolve method using strict-mode: com.shrbank.shrools.riskControl.model.RiskEvent.Utils()]
> [Near : {... tId && occurTime >= Utils.addSeconds($con0.occurTi ....}]
> ^ : [Rule name='374-PAYMENT_RISK_EXCEPTION_1-1小时内设备上支付次数频繁']
> [ERROR] Message [id=1, kieBase=defaultKBase, level=ERROR, path=374.drl, line=-1, column=0
> text=Unable to Analyse Expression occurTime >= Utils.addSeconds($con0.occurTime,-3600):
> [Error: unable to resolve method using strict-mode: com.shrbank.shrools.riskControl.model.RiskEvent.Utils()]
> [Near : {... occurTime >= Utils.addSeconds($con0.occurTi ....}]
> ^]
> [ERROR] Message [id=2, kieBase=defaultKBase, level=ERROR, path=374.drl, line=-1, column=0
> text=Unable to Analyse Expression relateEventId != $resList.relateEventId && occurTime >= Utils.addSeconds($con0.occurTime,-3600):
> [Error: unable to resolve method using strict-mode: com.shrbank.shrools.riskControl.model.RiskEvent.Utils()]
> [Near : {... tId && occurTime >= Utils.addSeconds($con0.occurTi ....}]
> ^]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 4.579 s
> [INFO] Finished at: 2017-10-19T09:26:52+08:00
> [INFO] Final Memory: 60M/1409M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.3.0.Final:build (default-build) on project shrbank-shrools-riskControl: Build failed! -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 9 months
[JBoss JIRA] (DROOLS-1768) unable to resolve method using strict-mode
by gabry.wu gabry.wu (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1768?page=com.atlassian.jira.plugi... ]
gabry.wu gabry.wu closed DROOLS-1768.
-------------------------------------
Resolution: Done
a maven dependency missing!
> unable to resolve method using strict-mode
> ------------------------------------------
>
> Key: DROOLS-1768
> URL: https://issues.jboss.org/browse/DROOLS-1768
> Project: Drools
> Issue Type: Feature Request
> Components: core engine
> Affects Versions: 7.0.0.Final
> Reporter: gabry.wu gabry.wu
> Assignee: Mario Fusco
> Labels: support
> Fix For: 7.0.0.Final
>
> Attachments: 374.drl, session.log
>
>
> when i build drools project in linux ,error occors as flow,but in windows 10,error cannot reproduce
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building shrbank-shrools-riskControl 1.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ shrbank-shrools-riskControl ---
> [INFO] Deleting /home/gabry/shrools/project/riskcontrol/target
> [INFO]
> [INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ shrbank-shrools-riskControl ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 19 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ shrbank-shrools-riskControl ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 2 source files to /home/gabry/shrools/project/riskcontrol/target/classes
> [INFO] /home/gabry/shrools/project/riskcontrol/src/main/java/com/shrbank/shrools/riskControl/model/RiskEvent.java: Some input files use unchecked or unsafe operations.
> [INFO] /home/gabry/shrools/project/riskcontrol/src/main/java/com/shrbank/shrools/riskControl/model/RiskEvent.java: Recompile with -Xlint:unchecked for details.
> [INFO]
> [INFO] --- kie-maven-plugin:7.3.0.Final:build (default-build) @ shrbank-shrools-riskControl ---
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-core/7.3.0.Final/drools-core-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.drools.core.io.impl.ResourceFactoryServiceImpl
> [INFO] Adding Service org.drools.core.marshalling.impl.MarshallerProviderImpl
> [INFO] Adding Service org.drools.core.concurrent.ExecutorProviderImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-compiler/7.3.0.Final/drools-compiler-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.drools.compiler.kie.builder.impl.KieServicesImpl
> [INFO] Adding Service org.drools.compiler.builder.impl.KnowledgeBuilderFactoryServiceImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/kie/kie-internal/7.3.0.Final/kie-internal-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.kie.internal.services.KieWeaversImpl
> [INFO] Adding Service org.kie.internal.services.KieBeliefsImpl
> [INFO] Adding Service org.kie.internal.services.KieAssemblersImpl
> [INFO] Adding Service org.kie.internal.services.KieRuntimesImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/kie/kie-ci/7.3.0.Final/kie-ci-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.kie.scanner.KieScannerFactoryServiceImpl
> [INFO] Adding Service org.kie.scanner.MavenClassLoaderResolver
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-decisiontables/7.3.0.Final/drools-decisiontables-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.drools.decisiontable.DecisionTableProviderImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-scorecards/7.3.0.Final/drools-scorecards-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.drools.scorecards.ScoreCardProviderImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-pmml/7.3.0.Final/drools-pmml-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.drools.pmml.pmml_4_2.PMML4Compiler
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/jbpm/jbpm-bpmn2/7.3.0.Final/jbpm-bpmn2-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.jbpm.bpmn2.BPMN2ProcessProviderImpl
> [INFO] Adding Service org.jbpm.bpmn2.xml.XmlProcessDumperFactoryServiceImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/jbpm/jbpm-flow-builder/7.3.0.Final/jbpm-flow-builder-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.jbpm.process.builder.ProcessBuilderFactoryServiceImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/jbpm/jbpm-flow/7.3.0.Final/jbpm-flow-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.jbpm.marshalling.impl.ProcessMarshallerFactoryServiceImpl
> [INFO] Adding Service org.jbpm.process.instance.ProcessRuntimeFactoryServiceImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-workbench-models-guided-dtable/7.3.0.Final/drools-workbench-models-guided-dtable-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.drools.workbench.models.guided.dtable.backend.GuidedDecisionTableProviderImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-workbench-models-guided-template/7.3.0.Final/drools-workbench-models-guided-template-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.drools.workbench.models.guided.template.backend.GuidedRuleTemplateProviderImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-workbench-models-guided-scorecard/7.3.0.Final/drools-workbench-models-guided-scorecard-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.drools.workbench.models.guided.scorecard.backend.GuidedScoreCardProviderImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/optaplanner/optaplanner-core/7.3.0.Final/optaplanner-core-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service +org.optaplanner.core.impl.solver.kie.KieSolverAssemblerService
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/kie/kie-dmn-core/7.3.0.Final/kie-dmn-core-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service +org.kie.dmn.core.weaver.DMNWeaverService
> [INFO] Adding Service +org.kie.dmn.core.assembler.DMNAssemblerService
> [INFO] Adding Service +org.kie.dmn.core.runtime.DMNRuntimeService
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/kie/kie-internal/7.3.0.Final/kie-internal-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.kie.internal.services.KieWeaversImpl
> [INFO] Adding Service org.kie.internal.services.KieBeliefsImpl
> [INFO] Adding Service org.kie.internal.services.KieAssemblersImpl
> [INFO] Adding Service org.kie.internal.services.KieRuntimesImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-core/7.3.0.Final/drools-core-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.drools.core.io.impl.ResourceFactoryServiceImpl
> [INFO] Adding Service org.drools.core.marshalling.impl.MarshallerProviderImpl
> [INFO] Adding Service org.drools.core.concurrent.ExecutorProviderImpl
> [INFO] Loading kie.conf from
> [INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-compiler/7.3.0.Final/drools-compiler-7.3.0.Final.jar!/META-INF/kie.conf
> [INFO] Adding Service org.drools.compiler.kie.builder.impl.KieServicesImpl
> [INFO] Adding Service org.drools.compiler.builder.impl.KnowledgeBuilderFactoryServiceImpl
> [INFO] Adding KieModule from resource: FileResource[file=/home/gabry/shrools/project/riskcontrol/src/main/resources]
> [WARNING] Unable to find pom.properties in /home/gabry/shrools/project/riskcontrol/src/main/resources
> [INFO] Recursed up folders, found and used pom.xml /home/gabry/shrools/project/riskcontrol/pom.xml
> [INFO] KieModule was added: FileKieModule[releaseId=com.shrbank.shrools.riskControl:shrbank-shrools-riskControl:1.0-SNAPSHOT,file=/home/gabry/shrools/project/riskcontrol/src/main/resources]
> [ERROR] Unable to build KieBaseModel:defaultKBase
> Unable to Analyse Expression occurTime >= Utils.addSeconds($con0.occurTime,-3600):
> [Error: unable to resolve method using strict-mode: com.shrbank.shrools.riskControl.model.RiskEvent.Utils()]
> [Near : {... occurTime >= Utils.addSeconds($con0.occurTi ....}]
> ^ : [Rule name='374-PAYMENT_RISK_EXCEPTION_1-1小时内设备上支付次数频繁']
> Unable to Analyse Expression relateEventId != $resList.relateEventId && occurTime >= Utils.addSeconds($con0.occurTime,-3600):
> [Error: unable to resolve method using strict-mode: com.shrbank.shrools.riskControl.model.RiskEvent.Utils()]
> [Near : {... tId && occurTime >= Utils.addSeconds($con0.occurTi ....}]
> ^ : [Rule name='374-PAYMENT_RISK_EXCEPTION_1-1小时内设备上支付次数频繁']
> [ERROR] Message [id=1, kieBase=defaultKBase, level=ERROR, path=374.drl, line=-1, column=0
> text=Unable to Analyse Expression occurTime >= Utils.addSeconds($con0.occurTime,-3600):
> [Error: unable to resolve method using strict-mode: com.shrbank.shrools.riskControl.model.RiskEvent.Utils()]
> [Near : {... occurTime >= Utils.addSeconds($con0.occurTi ....}]
> ^]
> [ERROR] Message [id=2, kieBase=defaultKBase, level=ERROR, path=374.drl, line=-1, column=0
> text=Unable to Analyse Expression relateEventId != $resList.relateEventId && occurTime >= Utils.addSeconds($con0.occurTime,-3600):
> [Error: unable to resolve method using strict-mode: com.shrbank.shrools.riskControl.model.RiskEvent.Utils()]
> [Near : {... tId && occurTime >= Utils.addSeconds($con0.occurTi ....}]
> ^]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 4.579 s
> [INFO] Finished at: 2017-10-19T09:26:52+08:00
> [INFO] Final Memory: 60M/1409M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.3.0.Final:build (default-build) on project shrbank-shrools-riskControl: Build failed! -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 9 months
[JBoss JIRA] (DROOLS-1768) unable to resolve method using strict-mode
by gabry.wu gabry.wu (JIRA)
gabry.wu gabry.wu created DROOLS-1768:
-----------------------------------------
Summary: unable to resolve method using strict-mode
Key: DROOLS-1768
URL: https://issues.jboss.org/browse/DROOLS-1768
Project: Drools
Issue Type: Feature Request
Components: core engine
Affects Versions: 7.0.0.Final
Reporter: gabry.wu gabry.wu
Assignee: Mario Fusco
Fix For: 7.0.0.Final
Attachments: 374.drl, session.log
when i build drools project in linux ,error occors as flow,but in windows 10,error cannot reproduce
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building shrbank-shrools-riskControl 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ shrbank-shrools-riskControl ---
[INFO] Deleting /home/gabry/shrools/project/riskcontrol/target
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ shrbank-shrools-riskControl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 19 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ shrbank-shrools-riskControl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to /home/gabry/shrools/project/riskcontrol/target/classes
[INFO] /home/gabry/shrools/project/riskcontrol/src/main/java/com/shrbank/shrools/riskControl/model/RiskEvent.java: Some input files use unchecked or unsafe operations.
[INFO] /home/gabry/shrools/project/riskcontrol/src/main/java/com/shrbank/shrools/riskControl/model/RiskEvent.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- kie-maven-plugin:7.3.0.Final:build (default-build) @ shrbank-shrools-riskControl ---
[INFO] Loading kie.conf from
[INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-core/7.3.0.Final/drools-core-7.3.0.Final.jar!/META-INF/kie.conf
[INFO] Adding Service org.drools.core.io.impl.ResourceFactoryServiceImpl
[INFO] Adding Service org.drools.core.marshalling.impl.MarshallerProviderImpl
[INFO] Adding Service org.drools.core.concurrent.ExecutorProviderImpl
[INFO] Loading kie.conf from
[INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-compiler/7.3.0.Final/drools-compiler-7.3.0.Final.jar!/META-INF/kie.conf
[INFO] Adding Service org.drools.compiler.kie.builder.impl.KieServicesImpl
[INFO] Adding Service org.drools.compiler.builder.impl.KnowledgeBuilderFactoryServiceImpl
[INFO] Loading kie.conf from
[INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/kie/kie-internal/7.3.0.Final/kie-internal-7.3.0.Final.jar!/META-INF/kie.conf
[INFO] Adding Service org.kie.internal.services.KieWeaversImpl
[INFO] Adding Service org.kie.internal.services.KieBeliefsImpl
[INFO] Adding Service org.kie.internal.services.KieAssemblersImpl
[INFO] Adding Service org.kie.internal.services.KieRuntimesImpl
[INFO] Loading kie.conf from
[INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/kie/kie-ci/7.3.0.Final/kie-ci-7.3.0.Final.jar!/META-INF/kie.conf
[INFO] Adding Service org.kie.scanner.KieScannerFactoryServiceImpl
[INFO] Adding Service org.kie.scanner.MavenClassLoaderResolver
[INFO] Loading kie.conf from
[INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-decisiontables/7.3.0.Final/drools-decisiontables-7.3.0.Final.jar!/META-INF/kie.conf
[INFO] Adding Service org.drools.decisiontable.DecisionTableProviderImpl
[INFO] Loading kie.conf from
[INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-scorecards/7.3.0.Final/drools-scorecards-7.3.0.Final.jar!/META-INF/kie.conf
[INFO] Adding Service org.drools.scorecards.ScoreCardProviderImpl
[INFO] Loading kie.conf from
[INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-pmml/7.3.0.Final/drools-pmml-7.3.0.Final.jar!/META-INF/kie.conf
[INFO] Adding Service org.drools.pmml.pmml_4_2.PMML4Compiler
[INFO] Loading kie.conf from
[INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/jbpm/jbpm-bpmn2/7.3.0.Final/jbpm-bpmn2-7.3.0.Final.jar!/META-INF/kie.conf
[INFO] Adding Service org.jbpm.bpmn2.BPMN2ProcessProviderImpl
[INFO] Adding Service org.jbpm.bpmn2.xml.XmlProcessDumperFactoryServiceImpl
[INFO] Loading kie.conf from
[INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/jbpm/jbpm-flow-builder/7.3.0.Final/jbpm-flow-builder-7.3.0.Final.jar!/META-INF/kie.conf
[INFO] Adding Service org.jbpm.process.builder.ProcessBuilderFactoryServiceImpl
[INFO] Loading kie.conf from
[INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/jbpm/jbpm-flow/7.3.0.Final/jbpm-flow-7.3.0.Final.jar!/META-INF/kie.conf
[INFO] Adding Service org.jbpm.marshalling.impl.ProcessMarshallerFactoryServiceImpl
[INFO] Adding Service org.jbpm.process.instance.ProcessRuntimeFactoryServiceImpl
[INFO] Loading kie.conf from
[INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-workbench-models-guided-dtable/7.3.0.Final/drools-workbench-models-guided-dtable-7.3.0.Final.jar!/META-INF/kie.conf
[INFO] Adding Service org.drools.workbench.models.guided.dtable.backend.GuidedDecisionTableProviderImpl
[INFO] Loading kie.conf from
[INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-workbench-models-guided-template/7.3.0.Final/drools-workbench-models-guided-template-7.3.0.Final.jar!/META-INF/kie.conf
[INFO] Adding Service org.drools.workbench.models.guided.template.backend.GuidedRuleTemplateProviderImpl
[INFO] Loading kie.conf from
[INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-workbench-models-guided-scorecard/7.3.0.Final/drools-workbench-models-guided-scorecard-7.3.0.Final.jar!/META-INF/kie.conf
[INFO] Adding Service org.drools.workbench.models.guided.scorecard.backend.GuidedScoreCardProviderImpl
[INFO] Loading kie.conf from
[INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/optaplanner/optaplanner-core/7.3.0.Final/optaplanner-core-7.3.0.Final.jar!/META-INF/kie.conf
[INFO] Adding Service +org.optaplanner.core.impl.solver.kie.KieSolverAssemblerService
[INFO] Loading kie.conf from
[INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/kie/kie-dmn-core/7.3.0.Final/kie-dmn-core-7.3.0.Final.jar!/META-INF/kie.conf
[INFO] Adding Service +org.kie.dmn.core.weaver.DMNWeaverService
[INFO] Adding Service +org.kie.dmn.core.assembler.DMNAssemblerService
[INFO] Adding Service +org.kie.dmn.core.runtime.DMNRuntimeService
[INFO] Loading kie.conf from
[INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/kie/kie-internal/7.3.0.Final/kie-internal-7.3.0.Final.jar!/META-INF/kie.conf
[INFO] Adding Service org.kie.internal.services.KieWeaversImpl
[INFO] Adding Service org.kie.internal.services.KieBeliefsImpl
[INFO] Adding Service org.kie.internal.services.KieAssemblersImpl
[INFO] Adding Service org.kie.internal.services.KieRuntimesImpl
[INFO] Loading kie.conf from
[INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-core/7.3.0.Final/drools-core-7.3.0.Final.jar!/META-INF/kie.conf
[INFO] Adding Service org.drools.core.io.impl.ResourceFactoryServiceImpl
[INFO] Adding Service org.drools.core.marshalling.impl.MarshallerProviderImpl
[INFO] Adding Service org.drools.core.concurrent.ExecutorProviderImpl
[INFO] Loading kie.conf from
[INFO] Discovered kie.conf url=jar:file:/home/gabry/.m2/repository/org/drools/drools-compiler/7.3.0.Final/drools-compiler-7.3.0.Final.jar!/META-INF/kie.conf
[INFO] Adding Service org.drools.compiler.kie.builder.impl.KieServicesImpl
[INFO] Adding Service org.drools.compiler.builder.impl.KnowledgeBuilderFactoryServiceImpl
[INFO] Adding KieModule from resource: FileResource[file=/home/gabry/shrools/project/riskcontrol/src/main/resources]
[WARNING] Unable to find pom.properties in /home/gabry/shrools/project/riskcontrol/src/main/resources
[INFO] Recursed up folders, found and used pom.xml /home/gabry/shrools/project/riskcontrol/pom.xml
[INFO] KieModule was added: FileKieModule[releaseId=com.shrbank.shrools.riskControl:shrbank-shrools-riskControl:1.0-SNAPSHOT,file=/home/gabry/shrools/project/riskcontrol/src/main/resources]
[ERROR] Unable to build KieBaseModel:defaultKBase
Unable to Analyse Expression occurTime >= Utils.addSeconds($con0.occurTime,-3600):
[Error: unable to resolve method using strict-mode: com.shrbank.shrools.riskControl.model.RiskEvent.Utils()]
[Near : {... occurTime >= Utils.addSeconds($con0.occurTi ....}]
^ : [Rule name='374-PAYMENT_RISK_EXCEPTION_1-1小时内设备上支付次数频繁']
Unable to Analyse Expression relateEventId != $resList.relateEventId && occurTime >= Utils.addSeconds($con0.occurTime,-3600):
[Error: unable to resolve method using strict-mode: com.shrbank.shrools.riskControl.model.RiskEvent.Utils()]
[Near : {... tId && occurTime >= Utils.addSeconds($con0.occurTi ....}]
^ : [Rule name='374-PAYMENT_RISK_EXCEPTION_1-1小时内设备上支付次数频繁']
[ERROR] Message [id=1, kieBase=defaultKBase, level=ERROR, path=374.drl, line=-1, column=0
text=Unable to Analyse Expression occurTime >= Utils.addSeconds($con0.occurTime,-3600):
[Error: unable to resolve method using strict-mode: com.shrbank.shrools.riskControl.model.RiskEvent.Utils()]
[Near : {... occurTime >= Utils.addSeconds($con0.occurTi ....}]
^]
[ERROR] Message [id=2, kieBase=defaultKBase, level=ERROR, path=374.drl, line=-1, column=0
text=Unable to Analyse Expression relateEventId != $resList.relateEventId && occurTime >= Utils.addSeconds($con0.occurTime,-3600):
[Error: unable to resolve method using strict-mode: com.shrbank.shrools.riskControl.model.RiskEvent.Utils()]
[Near : {... tId && occurTime >= Utils.addSeconds($con0.occurTi ....}]
^]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.579 s
[INFO] Finished at: 2017-10-19T09:26:52+08:00
[INFO] Final Memory: 60M/1409M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.3.0.Final:build (default-build) on project shrbank-shrools-riskControl: Build failed! -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 9 months
[JBoss JIRA] (LOGMGR-180) Create new LogContextSelector which selects the first caller that is not a log API
by James Perkins (JIRA)
James Perkins created LOGMGR-180:
------------------------------------
Summary: Create new LogContextSelector which selects the first caller that is not a log API
Key: LOGMGR-180
URL: https://issues.jboss.org/browse/LOGMGR-180
Project: JBoss Log Manager
Issue Type: Enhancement
Reporter: James Perkins
Assignee: James Perkins
There is a need in WildFly for a log context selector that short-circuits after the first callers class loader that is not a log API. All log API's would have to be registered. The call stack would be walked and once a class loader is found that is not registered as a log API class loader, that caller would be used to determine whether or not a registered log context should be used. If no context is associated with the caller, the default log context will be used and the call stack walking will stop.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 9 months
[JBoss JIRA] (LOGMGR-180) Create new LogContextSelector which selects the first caller that is not a log API
by James Perkins (JIRA)
[ https://issues.jboss.org/browse/LOGMGR-180?page=com.atlassian.jira.plugin... ]
James Perkins updated LOGMGR-180:
---------------------------------
Fix Version/s: 1.5.9.Final
2.0.8.Final
2.1.0.Alpha6
> Create new LogContextSelector which selects the first caller that is not a log API
> ----------------------------------------------------------------------------------
>
> Key: LOGMGR-180
> URL: https://issues.jboss.org/browse/LOGMGR-180
> Project: JBoss Log Manager
> Issue Type: Enhancement
> Reporter: James Perkins
> Assignee: James Perkins
> Fix For: 1.5.9.Final, 2.0.8.Final, 2.1.0.Alpha6
>
>
> There is a need in WildFly for a log context selector that short-circuits after the first callers class loader that is not a log API. All log API's would have to be registered. The call stack would be walked and once a class loader is found that is not registered as a log API class loader, that caller would be used to determine whether or not a registered log context should be used. If no context is associated with the caller, the default log context will be used and the call stack walking will stop.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 9 months
[JBoss JIRA] (WFCORE-3364) Global domain config for unique GC log file name and path
by Aaron Ogburn (JIRA)
Aaron Ogburn created WFCORE-3364:
------------------------------------
Summary: Global domain config for unique GC log file name and path
Key: WFCORE-3364
URL: https://issues.jboss.org/browse/WFCORE-3364
Project: WildFly Core
Issue Type: Feature Request
Components: Domain Management
Reporter: Aaron Ogburn
Customers often try to do something like the following in their server group for domain mode to easily get a unique gc log path for all server group members:
{code}
<option value="-Xloggc:${jboss.server.log.dir}/gc.log"/>
{code}
But jboss.server.log.dir can't be resolved at that point so it fails. The next best thing that can be done is:
{code}
<option value="-Xloggc:${jboss.domain.servers.dir}/server-name/log/gc.log"/>
{code}
But then that has to be set for each server. It'd help if domain mode had some way of easily setting a gc.log path in a server-group level or higher that could be set once and result in unique gc log paths for all servers in the server-group.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 9 months
[JBoss JIRA] (WFLY-9446) mvn idea:idea in parent pom giving error
by Tomaz Cerar (JIRA)
[ https://issues.jboss.org/browse/WFLY-9446?page=com.atlassian.jira.plugin.... ]
Tomaz Cerar commented on WFLY-9446:
-----------------------------------
Since idea has no issue importing project directly, maven-plugin was pretty much abandoned and is no longer maintained.
we also removed it from jboss-parent a while ago.
> mvn idea:idea in parent pom giving error
> ----------------------------------------
>
> Key: WFLY-9446
> URL: https://issues.jboss.org/browse/WFLY-9446
> Project: WildFly
> Issue Type: Feature Request
> Reporter: sujay hegde
> Assignee: Jason Greene
>
> [INFO] WildFly Test Suite: Integration - Smoke ............ SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 04:48 min
> [INFO] Finished at: 2017-10-16T18:37:36+05:30
> [INFO] Final Memory: 148M/388M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-idea-plugin:2.2.1: idea (default-cli) on project wildfly-clustering: Execution default-cli of goal org.apache.maven.plugins:maven-idea-plugin:2.2.1:idea failed.: NullPointerExcept ion -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please rea d the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutio nException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR] mvn <goals> -rf :wildfly-clustering
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 9 months
[JBoss JIRA] (JGRP-2227) Use of AUTH does not result in a SecurityException, but instead nodes create separate clusters with the same name
by Bela Ban (JIRA)
[ https://issues.jboss.org/browse/JGRP-2227?page=com.atlassian.jira.plugin.... ]
Bela Ban updated JGRP-2227:
---------------------------
Fix Version/s: 4.0.8
> Use of AUTH does not result in a SecurityException, but instead nodes create separate clusters with the same name
> -----------------------------------------------------------------------------------------------------------------
>
> Key: JGRP-2227
> URL: https://issues.jboss.org/browse/JGRP-2227
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 4.0.6
> Reporter: Robert Cernak
> Assignee: Bela Ban
> Fix For: 4.0.8
>
>
> I implemented method org.jgroups.auth.AuthToken#authenticate(AuthToken token, Message msg) in my class and its body contained only one line: return false;
> In this way authentication should be false and I should get SecurityException.
> When I started joining of nodes together to form a cluster, instead of getting SecurityException, nodes formed 2 different clusters with the same name.
> I am sure method was evaluated, since I tried to run it also with breakpoint, which was triggered during joining process.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 9 months
[JBoss JIRA] (ELY-1385) Add option to override the TrustManager within <authentication-client ></authentication>
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/ELY-1385?page=com.atlassian.jira.plugin.s... ]
Darran Lofthouse updated ELY-1385:
----------------------------------
Description:
At the moment we can reference an alias from a KeyStore and reference a complete KeyStore for use by the TrustManager but there is not option to override which
trust managers are actually enabled.
was:At the moment we can reference an alias from a KeyStore and reference a complete KeyStore for use by the TrustManager but there is not option to override which key and trust managers are actually enabled.
> Add option to override the TrustManager within <authentication-client ></authentication>
> ----------------------------------------------------------------------------------------
>
> Key: ELY-1385
> URL: https://issues.jboss.org/browse/ELY-1385
> Project: WildFly Elytron
> Issue Type: Enhancement
> Components: Authentication Client
> Reporter: Darran Lofthouse
> Assignee: Darran Lofthouse
> Fix For: 1.2.0.Beta8
>
>
> At the moment we can reference an alias from a KeyStore and reference a complete KeyStore for use by the TrustManager but there is not option to override which
> trust managers are actually enabled.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 9 months