Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1911

MarshalledInvocation should not eat errors deserializing arguments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-3.2.6 Final, JBossAS-3.2.7 Final, JBossAS-4.0.1 Final, JBossAS-4.0.1 SP1, JBossAS-4.0.2RC1, JBossAS-4.0.2 Final
    • None
    • None

      When MarshalledInvocation tries to unmarshall the arguments, it just ignores any errors:

      public Object[] getArguments()
      {
      if (this.args == null)
      {
      try

      { this.args = (Object[]) marshalledArgs.get(); }

      catch (Exception e)

      { e.printStackTrace(); }

      }
      return args;
      }

      The error should be rethrown as a RuntimeException NOT ignored and dumped to STDERR

              starksm64 Scott Stark (Inactive)
              adrian.brock Adrian Brock (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: