SAP Knowledge Base Article - Preview

3467229 - Multi-Target Application Archive Builder tool shows error java.lang.IllegalStateException: Unable to load cache item

Symptom

You are using the Multi-Target Application Archive Builder tool and receive errors similar to the below:

"[main] ERROR com.sap.di.ext.mta.cli.CliExecutor - Fatal error
com.google.common.util.concurrent.UncheckedExecutionException: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: Unable to load cache item
	at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2050)"

"Caused by: java.lang.ExceptionInInitializerError: Exception com.google.inject.internal.cglib.core.$CodeGenerationException: java.lang.reflect.InaccessibleObjectException-->Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @76a3e297 [in thread "main"]
    at com.google.inject.internal.cglib.core.$ReflectUtils.defineClass(ReflectUtils.java:464)
...
    at com.sap.di.ext.mta.cli.CliModule.configure(CliModule.java:65)
..."


Read more...

Environment

  • SAP Business Technology Platform
  • Multi-Target Application Archive Builder

Product

SAP BTP, Cloud Foundry runtime and environment all versions ; SAP Business Technology Platform all versions

Keywords

mta, build, failing, failure, java, jdk, jre , KBA , HAN-WDE-MTA , SAP Web IDE for HANA Multi Targeted Application , CA-BAS-BLD , Build Application - SAP Business Application Studio , 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.