When trying to export a report to an Excel file, I get this error in UI and Logs:
2025-06-20 17:41:28,077 [ajp-nio-0.0.0.0-8009-exec-698] ERROR com.appiancorp.rest.shared.AppianExceptionMapper - Internal Server Error on REST API invocation.
com.appiancorp.exceptions.LocalizedAppianRuntimeException$LocalizedAppianException: Expression evaluation error [evaluation ID = 1Y9KI]
in rule 'taskfilters' (called by rules 'tasks' > 'dashboard') :
An error occurred while executing a save: java.lang.InternalError: java.lang.reflect.InvocationTargetException (APNX-1-4198-019)
I've searched in the community for similar behavior and tried some suggestions, but the problem persists and no one has resolved it.
Discussion posts and replies are publicly visible
Hello,
There’s limited action we can take directly, as the error is an InvocationTargetException. This typically indicates that the issue is occurring within the exportProcessReportToExcel function when it attempts to invoke a method.
InvocationTargetException
exportProcessReportToExcel
From reviewing your code, I noticed you're using a constant that includes "All PM", which appears to reference multiple process models. For testing purposes, could you try limiting this to just one process model and see if the error persists?
Sometimes, attempting to read multiple process models—especially to check their instances—can introduce delays or timeouts. Additionally, security restrictions or issues with one of the models may also trigger this exception.
Hope you tried all the above and if stll didn;t worked
Try to create a new task report.