Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue while running on JDK 17 #279

Open
ChrisBafaro opened this issue Aug 26, 2024 · 0 comments
Open

Issue while running on JDK 17 #279

ChrisBafaro opened this issue Aug 26, 2024 · 0 comments

Comments

@ChrisBafaro
Copy link

Hi,

We are having the following issue while running on JDK 17.

How can we fix this error? We are using it in our Mule application while running on the latest version of the dependencie.

"Invocation of static Method 'getOrderId(java.lang.String,java.lang.String,java.lang.String,java.lang.String)' from Class 'admanager.axis.v202408.approveorders' with arguments [java.lang.String orderId, java.lang.String networkCode, java.lang.String applicationName, java.lang.String filePath] resulted in an error.
Expected arguments are [java.lang.String orderId, java.lang.String networkCode, java.lang.String applicationName, java.lang.String filePath].
Cause: com.google.inject.CreationException - Unable to create injector, see the following errors:



1) [Guice/ErrorInjectingConstructor]: ExceptionInInitializerError
  at AdsAxisEngineConfigurationFactory.<init>(AdsAxisEngineConfigurationFactory.java:34)
  while locating AdsAxisEngineConfigurationFactory
  at AxisHandler.<init>(AxisHandler.java:56)
      \_ for 1st parameter
  while locating AxisHandler
  at AxisModule.configure(AxisModule.java:59)
      \_ installed by: AdManagerAxisModule -> AxisModule
  while locating SoapClientHandlerInterface



Learn more:

  https://github.com/google/guice/wiki/ERROR_INJECTING_CONSTRUCTOR



1 error

======================
Full classname legend:
======================
AdManagerAxisModule:               "com.google.api.ads.admanager.axis.AdManagerAxisModule"
AdsAxisEngineConfigurationFactory: "com.google.api.ads.common.lib.soap.axis.conf.AdsAxisEngineConfigurationFactory"
AxisHandler:                       "com.google.api.ads.common.lib.soap.axis.AxisHandler"
AxisModule:                        "com.google.api.ads.common.lib.soap.axis.AxisModule"
SoapClientHandlerInterface:        "com.google.api.ads.common.lib.soap.SoapClientHandlerInterface"
========================
End of classname legend:
========================
 [Not accessible. Value obtained from method: getDetailedDescription()]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@ChrisBafaro and others