Comments (5)
Mockito dep (1.9.5 version) should be upgraded
from fiware-cygnus.
Failed tests: testLoadNameMappingsError(com.telefonica.iot.cygnus.interceptors.NGSINameMappingsInterceptorTest): Unable to make field private java.lang.String java.util.regex.Pattern.pattern accessible: module java.base does not "opens java.util.regex" to unnamed module @7cb756fe
Tests in error:
testNameMappingsSuccessfullyParsed(com.telefonica.iot.cygnus.containers.NameMappingsTest): Unable to make field private java.lang.String java.util.regex.Pattern.pattern accessible: module java.base does not "opens java.util.regex" to unnamed module @7cb756fe
testNameMappingsPatternsCompiled(com.telefonica.iot.cygnus.containers.NameMappingsTest): Unable to make field private java.lang.String java.util.regex.Pattern.pattern accessible: module java.base does not "opens java.util.regex" to unnamed module @7cb756fe
testDoMapConfig(com.telefonica.iot.cygnus.interceptors.NGSINameMappingsInterceptorTest): Unable to make field private java.lang.String java.util.regex.Pattern.pattern accessible: module java.base does not "opens java.util.regex" to unnamed module @7cb756fe
testDoMapConfig2(com.telefonica.iot.cygnus.interceptors.NGSINameMappingsInterceptorTest): Unable to make field private java.lang.String java.util.regex.Pattern.pattern accessible: module java.base does not "opens java.util.regex" to unnamed module @7cb756fe
testDoMapConfig3(com.telefonica.iot.cygnus.interceptors.NGSINameMappingsInterceptorTest): Unable to make field private java.lang.String java.util.regex.Pattern.pattern accessible: module java.base does not "opens java.util.regex" to unnamed module @7cb756fe
testDoMapConfig4(com.telefonica.iot.cygnus.interceptors.NGSINameMappingsInterceptorTest): Unable to make field private java.lang.String java.util.regex.Pattern.pattern accessible: module java.base does not "opens java.util.regex" to unnamed module @7cb756fe
testDoMapRegex(com.telefonica.iot.cygnus.interceptors.NGSINameMappingsInterceptorTest): Unable to make field private java.lang.String java.util.regex.Pattern.pattern accessible: module java.base does not "opens java.util.regex" to unnamed module @7cb756fe
testGetBodyInNGSIEvent(com.telefonica.iot.cygnus.interceptors.NGSINameMappingsInterceptorTest): Unable to make field private java.lang.String java.util.regex.Pattern.pattern accessible: module java.base does not "opens java.util.regex" to unnamed module @7cb756fe
testDoMap(com.telefonica.iot.cygnus.interceptors.NGSINameMappingsInterceptorTest): Unable to make field private java.lang.String java.util.regex.Pattern.pattern accessible: module java.base does not "opens java.util.regex" to unnamed module @7cb756fe
testGetContextElementsInNGSIEvent(com.telefonica.iot.cygnus.interceptors.NGSINameMappingsInterceptorTest): Unable to make field private java.lang.String java.util.regex.Pattern.pattern accessible: module java.base does not "opens java.util.regex" to unnamed module @7cb756fe
Tests run: 807, Failures: 1, Errors: 10, Skipped: 0
from fiware-cygnus.
Tests run: 12, Failures: 1, Errors: 8, Skipped: 0, Time elapsed: 0.044 sec <<< FAILURE!
testDoMapConfig(com.telefonica.iot.cygnus.interceptors.NGSINameMappingsInterceptorTest) Time elapsed: 0.002 sec <<< ERROR!
java.lang.reflect.InaccessibleObjectException: Unable to make field private java.lang.String java.util.regex.Pattern.pattern accessible: module java.base does not "opens java.util.regex" to unnamed module @7cb756fe
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:357)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:177)
at java.base/java.lang.reflect.Field.setAccessible(Field.java:171)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:153)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:96)
at com.google.gson.Gson.getAdapter(Gson.java:416)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getFieldAdapter(ReflectiveTypeAdapterFactory.java:135)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.(ReflectiveTypeAdapterFactory.java:105)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField(ReflectiveTypeAdapterFactory.java:104)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:160)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:96)
at com.google.gson.Gson.getAdapter(Gson.java:416)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory.create(CollectionTypeAdapterFactory.java:53)
at com.google.gson.Gson.getAdapter(Gson.java:416)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getFieldAdapter(ReflectiveTypeAdapterFactory.java:135)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.(ReflectiveTypeAdapterFactory.java:105)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField(ReflectiveTypeAdapterFactory.java:104)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:160)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:96)
at com.google.gson.Gson.getAdapter(Gson.java:416)
at com.google.gson.Gson.fromJson(Gson.java:878)
at com.google.gson.Gson.fromJson(Gson.java:844)
at com.google.gson.Gson.fromJson(Gson.java:793)
at com.google.gson.Gson.fromJson(Gson.java:765)
at com.telefonica.iot.cygnus.interceptors.NGSINameMappingsInterceptor.loadNameMappings(NGSINameMappingsInterceptor.java:278)
at com.telefonica.iot.cygnus.interceptors.NGSINameMappingsInterceptorTest.testDoMapConfig(NGSINameMappingsInterceptorTest.java:501)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
from fiware-cygnus.
This is a JDK bug https://bugs.openjdk.org/browse/JDK-8256358
from fiware-cygnus.
Fixed by PR #2343
from fiware-cygnus.
Related Issues (20)
- MongoDB indexes cyg_raw_opt could have worsened in newers versions HOT 9
- Cannot invoke "java.util.ArrayList.size()" because the return value of "java.util.LinkedHashMap.get(Object)" is null Sink: HOT 2
- add primary key to error log table creation (mysql percona does not allow tables without primary key) HOT 1
- STH Aggregator does not support more than one event HOT 2
- Runtime error (Failed making field 'java.util.regex.Pattern#pattern' accessible; (JDK17) HOT 1
- Support for MongoDB 6.0 and 7.0 HOT 2
- Defined enum GisAttributeType does not fit current Arcgis field types HOT 1
- Arcgis sink. Should quote unique id when is a esriFieldTypeString HOT 1
- Arcgis sink. Wrong objectid in UpdateFeatures HOT 4
- Docu: DM sections for STH sinks HOT 2
- Arcgis. Cygnus is using case sensitivity with attributes although arcgis is not case sensitive HOT 5
- Typo on image provided with README.md HOT 3
- Arcgis. esriFieldTypeSingle is not included in the cases of GisAttributeType HOT 3
- arcgis sink: transform vales for esriFieldTypeDate field automatically to timeinstamp from DateTime HOT 4
- Arcgis. Error when change the unique field value after a working persistence HOT 2
- arcgis sink uniqueId is not updated when customNotification is modified HOT 4
- mongoDB Unsupported OP_QUERY command HOT 19
- CygnusLD-MongoDB sink HOT 1
- reduce idle connections from sql pools HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fiware-cygnus.