Uploaded image for project: 'XML-RPC'
  1. XML-RPC
  2. XMLRPC-96

Dynamic proxy implementation throws NullPointerException if called methods doesn't have any parameters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0b1
    • None
    • None
    • None

    Description

      I'm using the Dynamic Proxy solution and created an interface with a method that doesn't take any parameters.

      When I call it I get a NPE: "java.lang.NullPointerException: The parameter list must not be null.".

      If I add a parameter, e.g. an int, to the method it works without and doesn't throw this exception.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jimisola Jimisola Laursen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: