david-streamlio opened a new issue #13128: URL: https://github.com/apache/pulsar/issues/13128
**Describe the bug** If you are running Apache Pulsar in standalone mode, either via a docker image, minikube, or locally and submit a Pulsar Function that references a class that is included in a separate jar file inside the META-INF/bundled-dependencies folder of the NAR file you will get a java.lang.TypeNotPresentException **To Reproduce** Steps to reproduce the behavior: 1. Start Pulsar in standalone mode following the instructions here: https://pulsar.apache.org/docs/en/standalone-docker/ 2. Download the following NAR [file](https://github.com/david-streamlio/GottaEat/releases/download/v.0.0.1/order-validation-service-1.0.0.nar) to the /tmp folder inside the docker container using "docker cp" 3. Copy the attached function config file to the /tmp folder inside the docker container using "docker cp" (https://docs.docker.com/engine/reference/commandline/cp/) 4. Create the Function using the following command: `/pulsar/bin/pulsar-admin functions create --jar /tmp/order-validation-service-1.0.0.nar --function-config-file /tmp/service-config.yml` 5. See error **Expected behavior** The Pulsar Function should be created and the call to create should complete successfully. **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: iOS [order-validation-service-config.yml.txt](https://github.com/apache/pulsar/files/7651462/order-validation-service-config.yml.txt) **Additional context** This had previously worked in prior versions. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
