Skip to content

Instantly share code, notes, and snippets.

@hellowdan
Created March 23, 2020 12:46
Show Gist options
  • Save hellowdan/5f7a3e1cb5d71abc052559ecdd16d1e7 to your computer and use it in GitHub Desktop.
Save hellowdan/5f7a3e1cb5d71abc052559ecdd16d1e7 to your computer and use it in GitHub Desktop.
log_BAQE_1221
16:32:59 16:32:59.878
[org.drools.benchmarks.turtle.runtime.InsertLogicalFactsIntoWmExpertBenchmark.timeFactsInsertionAndRulesFiring-jmh-worker-1] ERROR org.drools.compiler.kie.builder.impl.KieProject - Unable to build KieBaseModel:defaultKieBase
16:32:59 Unable to build expression for 'consequence': [Error: unexpected end of statement]
16:32:59 [Near : {... .Transaction.class); ....}]
16:32:59 ^
16:32:59 [Line: 7535, Column: 0] '$trans.accountTo = new Account();
16:32:59 update($trans); // this invalidates previous rule and thus all the LogicalFacts should be retracted
16:32:59 ' : [Rule name='Set receiving account for each Transaction_18']
16:32:59
16:32:59 Unable to build expression for 'consequence': [Error: unexpected end of statement]
16:32:59 [Near : {... .Transaction.class); ....}]
16:32:59 ^
16:32:59 [Line: 5260, Column: 0] '$trans.accountTo = new Account();
16:32:59 update($trans); // this invalidates previous rule and thus all the LogicalFacts should be retracted
16:32:59 ' : [Rule name='Set receiving account for each Transaction_43']
16:32:59
16:32:59 Unable to build expression for 'consequence': [Error: unexpected end of statement]
16:32:59 [Near : {... .Transaction.class); ....}]
16:32:59 ^
16:32:59 [Line: 8900, Column: 0] '$trans.accountTo = new Account();
16:32:59 update($trans); // this invalidates previous rule and thus all the LogicalFacts should be retracted
16:32:59 ' : [Rule name='Set receiving account for each Transaction_3']
16:32:59
16:32:59
16:32:59 ERROR: org.openjdk.jmh.runner.RunnerException: Benchmark caught the exception
16:32:59 at org.openjdk.jmh.runner.Runner.runBenchmarks(Runner.java:578)
16:32:59 at org.openjdk.jmh.runner.Runner.internalRun(Runner.java:320)
16:32:59 at org.openjdk.jmh.runner.Runner.run(Runner.java:209)
16:32:59 at org.openjdk.jmh.Main.main(Main.java:71)
16:32:59 Caused by: org.openjdk.jmh.runner.BenchmarkException: Benchmark error during the run
16:32:59 at org.openjdk.jmh.runner.BenchmarkHandler.runIteration(BenchmarkHandler.java:428)
16:32:59 at org.openjdk.jmh.runner.BaseRunner.runBenchmark(BaseRunner.java:262)
16:32:59 at org.openjdk.jmh.runner.BaseRunner.runBenchmark(BaseRunner.java:234)
16:32:59 at org.openjdk.jmh.runner.BaseRunner.doSingle(BaseRunner.java:139)
16:32:59 at org.openjdk.jmh.runner.BaseRunner.runBenchmarksForked(BaseRunner.java:76)
16:32:59 at org.openjdk.jmh.runner.ForkedRunner.run(ForkedRunner.java:72)
16:32:59 at org.openjdk.jmh.runner.ForkedMain.main(ForkedMain.java:84)
16:32:59 Suppressed: java.lang.RuntimeException: [Message [id=1, kieBase=defaultKieBase, level=ERROR, path=turtle/expert-basic-insert-logical-facts-into-wm-1000.drl, line=7535, column=0
16:32:59 text=Unable to build expression for 'consequence': [Error: unexpected end of statement]
16:32:59 [Near : {... .Transaction.class); ....}]
16:32:59 ^
16:32:59 [Line: 7535, Column: 0] '$trans.accountTo = new Account();
16:32:59 update($trans); // this invalidates previous rule and thus all the LogicalFacts should be retracted
16:32:59 '], Message [id=2, kieBase=defaultKieBase, level=ERROR, path=turtle/expert-basic-insert-logical-facts-into-wm-1000.drl, line=5260, column=0
16:32:59 text=Unable to build expression for 'consequence': [Error: unexpected end of statement]
16:32:59 [Near : {... .Transaction.class); ....}]
16:32:59 ^
16:32:59 [Line: 5260, Column: 0] '$trans.accountTo = new Account();
16:32:59 update($trans); // this invalidates previous rule and thus all the LogicalFacts should be retracted
16:32:59 '], Message [id=3, kieBase=defaultKieBase, level=ERROR, path=turtle/expert-basic-insert-logical-facts-into-wm-1000.drl, line=8900, column=0
16:32:59 text=Unable to build expression for 'consequence': [Error: unexpected end of statement]
16:32:59 [Near : {... .Transaction.class); ....}]
16:32:59 ^
16:32:59 [Line: 8900, Column: 0] '$trans.accountTo = new Account();
16:32:59 update($trans); // this invalidates previous rule and thus all the LogicalFacts should be retracted
16:32:59 ']]
16:32:59 at org.kie.internal.utils.KieHelper.getKieContainer(KieHelper.java:87)
16:32:59 at org.kie.internal.utils.KieHelper.build(KieHelper.java:71)
16:32:59 at org.drools.benchmarks.turtle.runtime.AbstractSimpleRuntimeBenchmark.createKBase(AbstractSimpleRuntimeBenchmark.java:82)
16:32:59 at org.drools.benchmarks.turtle.runtime.generated.InsertLogicalFactsIntoWmExpertBenchmark_timeFactsInsertionAndRulesFiring_jmhTest._jmh_tryInit_f_insertlogicalfactsintowmexpertbenchmark0_0(InsertLogicalFactsIntoWmExpertBenchmark_timeFactsInsertionAndRulesFiring_jmhTest.java:342)
16:32:59 at org.drools.benchmarks.turtle.runtime.generated.InsertLogicalFactsIntoWmExpertBenchmark_timeFactsInsertionAndRulesFiring_jmhTest.timeFactsInsertionAndRulesFiring_SingleShotTime(InsertLogicalFactsIntoWmExpertBenchmark_timeFactsInsertionAndRulesFiring_jmhTest.java:297)
16:32:59 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
16:32:59 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
16:32:59 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
16:32:59 at java.lang.reflect.Method.invoke(Method.java:498)
16:32:59 at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:453)
16:32:59 at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:437)
16:32:59 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
16:32:59 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
16:32:59 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
16:32:59 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
16:32:59 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
16:32:59 at java.lang.Thread.run(Thread.java:748)
16:32:59 Build step 'Execute shell' marked build as failure
16:32:59 Archiving artifacts
16:33:00 [WS-CLEANUP] Deleting project workspace...
16:33:00 [WS-CLEANUP] Deferred wipeout is used...
16:33:00 [WS-CLEANUP] done
16:33:00 Finished: FAILURE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment