A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Azure/azure-functions-java-worker/issues/341 below:

Function Fails on NoClassDefFoundError · Issue #341 · Azure/azure-functions-java-worker · GitHub

Investigative information

Please provide the following:

Expected behavior

The function app suppose to work and continue handling EventHub requests.

Actual behavior

This issue is transient, the function stops working after initialization.
.Jar modules import completes before handling request.
First EventHub request fails on the Java function instance.

Microsoft.Azure.WebJobs.Script.Workers.Rpc.RpcException : Result: Failure
Exception: NoClassDefFoundError: Could not initialize class xxx.xxx.xxx.datasource.statusmappingcache.CtaUpsCarrierStatusMappingCache
Stack: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Known workarounds

None. The issue is transient.

Related information

I check the storage account, and connection to it, everything is fine.
Function package is deployed using WEBSITE_RUN_FROM_PACKAGE=1, all content mounting operations happen on the VM memory, network is not a concern.

The .jar files does contain the classes, it could be a module import on our Java worker, or a generic Zulu 8.36.0.1-jre8.0.202 JVM issue.

Please contact @Hazhzeng for more information on customer's app.

cc: @ankitkumarr @pragnagopa

-->


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4