You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Michael Bolz (JIRA)" <ji...@apache.org> on 2015/08/11 15:09:45 UTC

[jira] [Created] (OLINGO-756) Request $expand=* leads to NPE in TecSvc and Tutorial (P6)

Michael Bolz created OLINGO-756:
-----------------------------------

             Summary: Request $expand=* leads to NPE in TecSvc and Tutorial (P6)
                 Key: OLINGO-756
                 URL: https://issues.apache.org/jira/browse/OLINGO-756
             Project: Olingo
          Issue Type: Bug
          Components: odata4-samples, odata4-server
    Affects Versions: (Java) V4 4.0.0-beta-03
            Reporter: Michael Bolz
            Assignee: Michael Bolz


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

{code}
{
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."}}"
{code}

Stacktrace
{code}
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"
}
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)