Error creating object while using a specific Jar file

Not applicable

Hi,

I am using one jar file in java callout policy in one shared flow. There is no compilation error and I have also not bundled the dependacy jars.

When I am refering that jar, I am seeing tw issue

#1. the revision is not getting saved. I am getting "Error creating object" error.

#2. In some other revision, I was able to save(Do not know how!!). But after deploying that revison. When I am accessing that shared flow, it is saying shared flow not found!!

Have anyone seen this error before.

0 1 184
1 REPLY 1

Hi @

1. In trace, next to the shared flow, if you click on small icon(pipe kind of) you will see error details.

2. If you are on SaaS version, there are limitations to allowed Java classes, that could be the reason behind this run time error

3. If you are developing Java Callout policies, you need to know which permission policies are in effect in the Edge JVM and how they will affect your code. Permissions can be found here:

https://docs.apigee.com/api-platform/reference/java-permission-reference