[ 
https://issues.apache.org/jira/browse/OLINGO-756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Bolz resolved OLINGO-756.
---------------------------------
       Resolution: Fixed
    Fix Version/s: (Java) V4 4.0.0

Fixed with [\[OLINGO-756\] Added expand with star support in 
TecSvc|https://git1-us-west.apache.org/repos/asf?p=olingo-odata4.git;a=commit;h=970086ee981c9083394efb054bcbb43d8ba96d05].

> 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
>             Fix For: (Java) V4 4.0.0
>
>
> 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)

Reply via email to