Symptom
- Creating an HMAC SHA-256 signature with a Groovy script in an Integration Flow fails.
- Error: class javax.crypto.Mac (in unnamed module @0x52c3acdf) cannot access class sun.security.util.Debug (in module java.base) because module java.base does not export sun.security.util to unnamed module @0x52c3acdf
- The error occurs in both simulation and runtime (HTTPS) execution.
- The same script works in a local GroovyConsole.
- The issue is observed when calling Mac.getInstance("HmacSHA256") in the script step.
Read more...
Environment
-
Cloud Integration
- SAP Integration Suite
Product
SAP Integration Suite all versions
Keywords
groovy, hmac, hmac sha-256, javax.crypto.Mac, Mac.getInstance, sun.security.util.Debug, java 17, module access error, unnamed module, cloud integration, integration flow, script step, api signature, crypto, runtime error , KBA , LOD-HCI-PI-WT-IFL , Integration Designer , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview