Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-5417

Implement JSON marshaller through BinaryObject in ignite-rest-http

    XMLWordPrintableJSON

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 
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            v.pyatkov Vladislav Pyatkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: