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

Better error reporting in case of unmarshallable classes.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 1.6
    • None
    • compute, messaging

    Description

      When trying to execute Thread's derived class implementing IgniteRunnable using compute API, it silently serializes to null because Thread serialization is prohibited in MarshallerExclusions and throws NPE on executing node.

      We need to throw more informative exception for such case.

      Reproducer in the attachment.

      Attachments

        1. PureIgniteRunTest.java
          2 kB
          Alexey Scherbakov
        2. IGNITE-4358-GridClosureProcessor-05Dec2016.patch
          1 kB
          Rohit Mohta
        3. IGNITE-4358-Exceptionlog-05Dec2016.txt
          14 kB
          Rohit Mohta

        Issue Links

          Activity

            People

              rmohta Rohit Mohta
              ascherbakov Alexey Scherbakov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: