ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladislav Pyatkov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-5417) Implement JSON marshaller through BinaryObject in ignite-rest-http
Date Tue, 06 Jun 2017 09:26:18 GMT
Vladislav Pyatkov created IGNITE-5417:
-----------------------------------------

             Summary: Implement JSON marshaller through BinaryObject in ignite-rest-http 
                 Key: IGNITE-5417
                 URL: https://issues.apache.org/jira/browse/IGNITE-5417
             Project: Ignite
          Issue Type: Bug
            Reporter: Vladislav Pyatkov


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:
{code}
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 
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message