SAP Knowledge Base Article - Preview

2573691 - IFlow deployment is failing with GBException

Symptom

The IFlow deployment in Web UI ends with this error:

deployment_failed.PNG

In the Tail log of the tmn node you can find these error messages:

2017 12 04 10:30:13#+00#ERROR#com.sap.it.gb.processor.GenerationAndBuild##anonymous#pool-121-thread-1#na#<accountID>#<tmn_node_name>#web##na#na#na#na#Generation, build and deploy failed for <IFlow_name> with error - while trying to invoke the method org.eclipse.emf.ecore.resource.Resource.load(java.io.InputStream, java.util.Map) of a null object loaded from local variable 'resource' com.sap.it.gb.core.GBException: Generation, build and deploy failed for <IFlow_name> with error - while trying to invoke the method org.eclipse.emf.ecore.resource.Resource.load(java.io.InputStream, java.util.Map) of a null object loaded from local variable 'resource'
 at com.sap.it.gb.processor.GBOperations.performGeneration(GBOperations.java:284)
 at com.sap.it.gb.processor.GenerationAndBuild.doValidateAndGenerate(GenerationAndBuild.java:237)
 at com.sap.it.gb.processor.GenerationAndBuild.doGenerateAndBuild(GenerationAndBuild.java:164)
 at com.sap.it.gb.processor.GenerationAndBuild.access$200(GenerationAndBuild.java:50)
 at com.sap.it.gb.processor.GenerationAndBuild$1.call(GenerationAndBuild.java:374)
 at com.sap.it.gb.processor.GenerationAndBuild$1.call(GenerationAndBuild.java:368)
 at java.util.concurrent.FutureTask.run(FutureTask.java:262)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
 at java.lang.Thread.run(Thread.java:807)
Caused by: java.lang.NullPointerException: while trying to invoke the method org.eclipse.emf.ecore.resource.Resource.load(java.io.InputStream, java.util.Map) of a null object loaded from local variable 'resource'
 at com.sap.it.ictools.mapping.gen.resource.GeneratorResProvider.getResource(GeneratorResProvider.java:104)
 at com.sap.it.ictools.mapping.gen.resource.GeneratorResProvider.getResource(GeneratorResProvider.java:90)
 at com.sap.it.ictools.mapping.gen.resource.GeneratorResProvider.getResource(GeneratorResProvider.java:75)
 at com.sap.it.ictools.mapping.context.xsd.SingleMessageStrategy.getMessage(SingleMessageStrategy.java:44)
 at com.sap.it.ictools.mapping.context.xsd.XSDRootContextProvider.getMessage(XSDRootContextProvider.java:59)
 at com.sap.it.ictools.mapping.context.xsd.XSDRootContextProvider.getRootContextObject(XSDRootContextProvider.java:41)
 at com.sap.it.ictools.mapping.context.ContextObjectFactory.getRootContextObject(ContextObjectFactory.java:21)
 at com.sap.it.ictools.mapping.generator.MappingTransformer.getContextRoot(MappingTransformer.java:199)
 at com.sap.it.ictools.mapping.generator.MappingTransformer.generateSource(MappingTransformer.java:108)
 at com.sap.it.ictools.mapping.generation.integration.SourceCodeGenerator.generateCompiledJar(SourceCodeGenerator.java:63)
 at com.sap.it.ictools.mapping.generation.integration.SourceCodeGenerator.generate(SourceCodeGenerator.java:118)
 at com.sap.it.gb.generation.GeneratorInvokerImpl.invoke(GeneratorInvokerImpl.java:85)
 at com.sap.it.gb.processor.GBOperations.performGeneration(GBOperations.java:267)
 ... 9 common frames omitted


Read more...

Environment

SAP Cloud Integration 

Product

SAP Integration Suite all versions

Keywords

SAP Cloud Integration, SAP CPI, SFSF, tenant, IFlow, Integration Flow, deployment, model configurator, properties, tracing, payload, HCI tooling, mapping, GBException, WEBUI, Eclipse, extension, wsdl, xsd, source, target structure , KBA , LOD-HCI-PI-MAP , Integration Mapping Service , LOD-HCI-PI-ET-IFL , Integration Designer , 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.