tpiekarski / coupon-engine Goto Github PK
View Code? Open in Web Editor NEWPrototype for a Coupon-Engine driven by Easy Rules and Spring Expression Language
Prototype for a Coupon-Engine driven by Easy Rules and Spring Expression Language
At the moment running tests with JDK 11 fails due to following exception:
Exception in thread "main" java.lang.reflect.InvocationTargetException
1361 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1362 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
1363 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
1364 at java.base/java.lang.reflect.Method.invoke(Method.java:566)
1365 at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:513)
1366 at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:525)
1367Caused by: java.lang.RuntimeException: Class java/util/UUID could not be instrumented.
1368 at org.jacoco.agent.rt.internal_6da5971.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:140)
1369 at org.jacoco.agent.rt.internal_6da5971.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:101)
1370 at org.jacoco.agent.rt.internal_6da5971.PreMain.createRuntime(PreMain.java:55)
1371 at org.jacoco.agent.rt.internal_6da5971.PreMain.premain(PreMain.java:47)
1372 ... 6 more
1373Caused by: java.lang.NoSuchFieldException: $jacocoAccess
1374 at java.base/java.lang.Class.getField(Class.java:2000)
1375 at org.jacoco.agent.rt.internal_6da5971.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:138)
1376 ... 9 more
1377FATAL ERROR in native method: processing of -javaagent failed
1378Aborted (core dumped)
Master branch can not be build anymore, see logs for details:
https://travis-ci.org/github/tpiekarski/coupon-engine/builds/406571391
install-jdk.sh 2020-03-17
426/home/travis/bin/install-jdk.sh: line 183: [[: 8openjdk8: value too great for base (error token is "8openjdk8")
427/home/travis/bin/install-jdk.sh: line 183: [[: 8openjdk8: value too great for base (error token is "8openjdk8")
428Couldn't determine a download url for 8openjdk8-GPL on linux-x64
429The command "~/bin/install-jdk.sh --target "/home/travis/oraclejdk8openjdk8" --workspace "/home/travis/.cache/install-jdk" --feature "8openjdk8" --license "BCL"" failed and exited with 1 during .
The test testANDValidationRulesCombination in ValidationTest is suddenly failing.
java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertTrue(Assert.java:52)
at de.delinero.copt.combinations.ValidationTest.testANDValidationRulesCombination(ValidationTest.java:53)
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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
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.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33)
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:230)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:58)
Check and upgrade used dependencies and toolchain to most recent versions.
# | Dependency |
---|---|
1. | Apache Commons IO |
2. | Apache Maven Shade Plugin |
3. | Maven Coveralls Plugin |
4. | Easy Rules Core |
5. | FasterXML Jackson Core |
6. | Google Guice Inject |
7. | Jacoco |
8. | jUnit |
9. | Pitest |
10. | Spring Expression Language |
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.