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

Exception when calling Function Import for JPA Model

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • V2 2.0.11
    • V2 2.0.11
    • odata2-jpa
    • None
    • macOS 10.14.3, eclipse Oxygen.3a Release (4.7.3a)

    Description

      Hi,

       

      Your support is highly appreciated on below Function Import issue.

       

      I have followed the tutorial to add function import for JPA Model in the following Olingo documentation link.

      https://olingo.apache.org/doc/odata2/tutorials/jpafunctionimport.html

       

      When I call the function import I am receiving the following exception:

      "OData - JPA Runtime: Internal error [null]"class java.lang.reflect.InvocationTargetException : null

       

      When I remove the function import parameter from the url. The service will through the following message: Missing parameter.

       

      FYI, other than the function import every thing is working fine like calling the service metadata, calling JPA Models, calling JPA Models with their keys, and calling JPA Models with filters.

       

      Here is my eclipse project library versions in case they need to be communicated:

      commons-codec-1.6.jar

      cxf-api-2.7.6.jar

      cxf-rt-bindings-xml-2.7.6.jar

      cxf-rt-core-2.7.6.jar

      cxf-rt-frontend-jaxrs-2.7.6.jar

      cxf-rt-transports-http-2.7.6.jar

      db2jcc-db2jcc4.jar

      eclipselink-2.7.4.jar

      geronimo-javamail_1.4_spec-1.7.1.jar

      gson-2.4.jar

      javax.persistence_2.1.1.v201509150925.jar

      javax.ws.rs-api-2.0-m10.jar

      jaxb-impl-2.1.13.jar

      log4j-1.2.17.jar

      mysql-connector-java-5.1.47-bin.jar

      org.apache.olingo-olingo-odata2-api-2.0.11.jar

      org.apache.olingo-olingo-odata2-api-annotation-2.0.11.jar

      org.apache.olingo-olingo-odata2-core-2.0.11.jar

      org.apache.olingo-olingo-odata2-jpa-processor-api-2.0.11.jar

      org.apache.olingo-olingo-odata2-jpa-processor-core-2.0.11.jar

      slf4j-api-1.7.1.jar

      slf4j-log4j12-1.7.1.jar

      stax2-api-3.1.1.jar

      woodstox-core-asl-4.2.0.jar

      wsdl4j-1.6.3.jar

      xmlschema-core-2.0.3.jar

       

      Kind Regards,

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              muyyed Muyyed
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: