Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
In ignite-rest-http works with cache object classes itself, it will be lead to exception on invocation property method or other side effect bounded with custom class implementation.
Also we should have classes of object, where the service was started.
We could avoid exception like this:
Caused by: java.lang.NullPointerException at some.of.custom.class.CommonInterceptor.getType(CommonInterceptor.java:61) at some.of.custom.class.CollectionFactoryInterceptorImpl.getCollection(CollectionFactoryInterceptorImpl.java:27) at some.of.custom.class.CollectionFactoryInterceptor.getCollection(CollectionFactoryInterceptor.java:35) at some.of.custom.class.proxy.ProductŃPROXY.getStates(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:633) at com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:678) ... 26 more