I can only see the deployment logs in ApigeeX but not runtime logs. I've tried adding the MessageLogging policy as PreFlow and PostFlow to the proxy. The deployment fails with a general error
" instance "usw2-instance" reported error entities.ConfigurationFailed: "Configuration failure: Caused by: java.lang.IndexOutOfBoundsException: Index: 0\n\tat java.base/java.util.Collections$EmptyList.get(Collections.java:4483)\n\tat java.base/java.util.Collections$UnmodifiableList.get(Collections.java:1310)\n\tat com.apigee.syslogger.SysLogger.<init>(SysLogger.java:57)\n\tat"
Solved! Go to Solution.
That seems like a bug. Apigee should never generate an error like that.
You should contact Apigee support with that information. Or, if you don't have a support contract., post the contents of your messagelogging policy configuration. And I can try to file a bug on your behalf.
Just guessing, but it seems like you have misconfigured something. Even so, Apigee should tolerate that , and should issue an appropriate error message, rather that showing you a stacktrace.
Have you tried running apigeelint on your proxy? It may provide more diagnostic information.
That seems like a bug. Apigee should never generate an error like that.
You should contact Apigee support with that information. Or, if you don't have a support contract., post the contents of your messagelogging policy configuration. And I can try to file a bug on your behalf.
Just guessing, but it seems like you have misconfigured something. Even so, Apigee should tolerate that , and should issue an appropriate error message, rather that showing you a stacktrace.
Have you tried running apigeelint on your proxy? It may provide more diagnostic information.
Hi
Thank you. I haven't tried apigeelint yet. Here's the policy I am trying to apply.
Spurthy, can you please check the service account permissions you're using to deploy?