Skip to content

Instantly share code, notes, and snippets.

@baldimir
Created May 21, 2018 08:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baldimir/71809d454cce4e26ad7080b1fa5655a8 to your computer and use it in GitHub Desktop.
Save baldimir/71809d454cce4e26ad7080b1fa5655a8 to your computer and use it in GitHub Desktop.
10:04:53.710 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.registerConfs:107 - Loading kie.conf from
10:04:53.721 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.loadConfs:117 - Discovered kie.conf url=jar:file:/Users/tzimanyi/.m2/repository/org/kie/kie-internal/7.8.0-SNAPSHOT/kie-internal-7.8.0-20180509.224608-40.jar!/META-INF/kie.conf
10:04:53.724 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.processKieService:158 - Adding Service org.kie.internal.services.KieBeliefsImpl
10:04:53.725 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.processKieService:158 - Adding Service org.kie.internal.services.KieAssemblersImpl
10:04:53.726 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.processKieService:158 - Adding Service org.kie.internal.services.KieRuntimesImpl
10:04:53.726 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.processKieService:158 - Adding Service org.kie.internal.services.KieWeaversImpl
10:04:53.727 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.registerConfs:107 - Loading kie.conf from
10:04:53.728 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.loadConfs:117 - Discovered kie.conf url=file:/Users/tzimanyi/github/drools/drools-compiler/target/classes/META-INF/kie.conf
10:04:53.732 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.processKieService:158 - Adding Service org.drools.compiler.builder.impl.KnowledgeBuilderFactoryServiceImpl
10:04:53.737 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.processKieService:158 - Adding Service org.drools.compiler.kie.builder.impl.KieServicesImpl
10:04:53.737 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.registerConfs:107 - Loading kie.conf from
10:04:53.738 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.loadConfs:117 - Discovered kie.conf url=file:/Users/tzimanyi/github/drools/drools-core/target/classes/META-INF/kie.conf
10:04:53.739 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.processKieService:158 - Adding Service org.drools.core.concurrent.ExecutorProviderImpl
10:04:53.740 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.processKieService:158 - Adding Service org.drools.core.marshalling.impl.MarshallerProviderImpl
10:04:53.741 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.processKieService:158 - Adding Service org.drools.core.io.impl.ResourceFactoryServiceImpl
10:04:53.742 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.registerConfs:107 - Loading kie.conf from
10:04:53.743 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.loadConfs:117 - Discovered kie.conf url=file:/Users/tzimanyi/github/drools/drools-model/drools-model-compiler/target/classes/META-INF/kie.conf
10:04:53.745 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.processKieService:158 - Adding Service org.drools.modelcompiler.CanonicalKieModuleProvider
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/Users/tzimanyi/.m2/repository/com/thoughtworks/xstream/xstream/1.4.10/xstream-1.4.10.jar) to field java.util.TreeMap.comparator
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
10:04:55.229 [main] ERROR o.d.c.k.b.impl.AbstractKieProject.buildKnowledgePackages:253 - Unable to build KieBaseModel:KieBaseModelName
Unable to Analyse Expression type == ( getString2("stilton") ):
[Error: unable to resolve method using strict-mode: org.drools.testcoverage.common.model.Cheese.getString2(java.lang.String)]
[Near : {... type == ( getString2("stilton") ) ....}]
^ : [Rule name='test rule2']
Error importing : 'org.drools.compiler.integrationtests.drl.ImportsTest.StaticMethods.*'
Error importing : 'org.drools.compiler.integrationtests.drl.ImportsTest.StaticMethods2.getString3'
10:04:55.230 [main] ERROR o.d.testcoverage.common.util.KieUtil.getKieBuilderFromFileSystemWithResources:154 - KieBuilder errors: [Message [id=1, kieBase=KieBaseModelName, level=ERROR, path=src/main/resources/rules1.drl, line=-1, column=0
text=Unable to Analyse Expression type == ( getString2("stilton") ):
[Error: unable to resolve method using strict-mode: org.drools.testcoverage.common.model.Cheese.getString2(java.lang.String)]
[Near : {... type == ( getString2("stilton") ) ....}]
^], Message [id=2, kieBase=KieBaseModelName, level=ERROR, path=src/main/resources/rules1.drl, line=-1, column=0
text=Error importing : 'org.drools.compiler.integrationtests.drl.ImportsTest.StaticMethods.*'], Message [id=3, kieBase=KieBaseModelName, level=ERROR, path=src/main/resources/rules1.drl, line=-1, column=0
text=Error importing : 'org.drools.compiler.integrationtests.drl.ImportsTest.StaticMethods2.getString3']]
java.lang.AssertionError: [[Message [id=1, kieBase=KieBaseModelName, level=ERROR, path=src/main/resources/rules1.drl, line=-1, column=0
text=Unable to Analyse Expression type == ( getString2("stilton") ):
[Error: unable to resolve method using strict-mode: org.drools.testcoverage.common.model.Cheese.getString2(java.lang.String)]
[Near : {... type == ( getString2("stilton") ) ....}]
^], Message [id=2, kieBase=KieBaseModelName, level=ERROR, path=src/main/resources/rules1.drl, line=-1, column=0
text=Error importing : 'org.drools.compiler.integrationtests.drl.ImportsTest.StaticMethods.*'], Message [id=3, kieBase=KieBaseModelName, level=ERROR, path=src/main/resources/rules1.drl, line=-1, column=0
text=Error importing : 'org.drools.compiler.integrationtests.drl.ImportsTest.StaticMethods2.getString3']]]
Expecting empty but was:<[Message [id=1, kieBase=KieBaseModelName, level=ERROR, path=src/main/resources/rules1.drl, line=-1, column=0
text=Unable to Analyse Expression type == ( getString2("stilton") ):
[Error: unable to resolve method using strict-mode: org.drools.testcoverage.common.model.Cheese.getString2(java.lang.String)]
[Near : {... type == ( getString2("stilton") ) ....}]
^],
Message [id=2, kieBase=KieBaseModelName, level=ERROR, path=src/main/resources/rules1.drl, line=-1, column=0
text=Error importing : 'org.drools.compiler.integrationtests.drl.ImportsTest.StaticMethods.*'],
Message [id=3, kieBase=KieBaseModelName, level=ERROR, path=src/main/resources/rules1.drl, line=-1, column=0
text=Error importing : 'org.drools.compiler.integrationtests.drl.ImportsTest.StaticMethods2.getString3']]>
at org.drools.testcoverage.common.util.KieUtil.getKieBuilderFromFileSystemWithResources(KieUtil.java:158)
at org.drools.testcoverage.common.util.KieUtil.getKieBuilderFromKieFileSystem(KieUtil.java:94)
at org.drools.testcoverage.common.util.KieUtil.buildAndInstallKieModuleIntoRepo(KieUtil.java:65)
at org.drools.testcoverage.common.util.KieUtil.getKieModuleFromResources(KieUtil.java:230)
at org.drools.testcoverage.common.util.KieUtil.getKieModuleFromResources(KieUtil.java:217)
at org.drools.testcoverage.common.util.KieBaseUtil.getKieBaseFromKieModuleFromResources(KieBaseUtil.java:109)
at org.drools.testcoverage.common.util.KieBaseUtil.getKieBaseFromKieModuleFromDrl(KieBaseUtil.java:116)
at org.drools.compiler.integrationtests.drl.ImportsTest.testImportFunctions(ImportsTest.java:130)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment