Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-756

Request $expand=* leads to NPE in TecSvc and Tutorial (P6)

    XMLWordPrintableJSON

Details

    Description

      http://localhost:8080/odata.svc/ESAllPrim?$expand=*&$format=json&odata-debug=json

      {
      code: "500",
      info: "Internal Server Error"
      },
      headers: {
      OData-Version: "4.0",
      Content-Type: "application/json;odata.metadata=minimal"
      },
      body: "{"error":{"code":null,"message":"OData Library: An exception without message text was thrown."}}"
      

      Stacktrace

      exceptions: [
      {
      class: "java.lang.NullPointerException",
      message: null,
      invocation: {
      class: "org.apache.olingo.server.tecsvc.processor.queryoptions.ExpandSystemQueryOptionHandler",
      method: "getInnerExpandOption",
      line: "241"
      }
      }
      ],
      stacktrace: [
      {
      class: "org.apache.olingo.server.tecsvc.processor.queryoptions.ExpandSystemQueryOptionHandler",
      method: "getInnerExpandOption",
      line: "241"
      },
      {
      class: "org.apache.olingo.server.tecsvc.processor.queryoptions.ExpandSystemQueryOptionHandler",
      method: "transformEntityGraphToTree",
      line: "149"
      },
      {
      class: "org.apache.olingo.server.tecsvc.processor.queryoptions.ExpandSystemQueryOptionHandler",
      method: "transformEntitySetGraphToTree",
      line: "127"
      },
      {
      class: "org.apache.olingo.server.tecsvc.processor.TechnicalEntityProcessor",
      method: "readEntityCollection",
      line: "510"
      }
      

      Attachments

        Activity

          People

            mirbo mibo
            mirbo mibo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: