JAVA - Exception raised after submitting some modification.RejectedExecutionException: event executor terminated

921 views
Skip to first unread message

Luke

unread,
Oct 20, 2019, 4:32:02 AM10/20/19
to AdWords API and Google Ads API Forum
Hi,
Exception raised after doing some modification to app campaigns.

Caused by: java.util.concurrent.RejectedExecutionException: event executor terminated
        at io
.grpc.netty.shaded.io.netty.util.concurrent.SingleThreadEventExecutor.reject(SingleThreadEventExecutor.java:845)
        at io
.grpc.netty.shaded.io.netty.util.concurrent.SingleThreadEventExecutor.offerTask(SingleThreadEventExecutor.java:328)
        at io
.grpc.netty.shaded.io.netty.util.concurrent.SingleThreadEventExecutor.addTask(SingleThreadEventExecutor.java:321)
        at io
.grpc.netty.shaded.io.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:756)
        at io
.grpc.netty.shaded.io.netty.util.concurrent.AbstractScheduledEventExecutor.schedule(AbstractScheduledEventExecutor.java:232)
        at io
.grpc.netty.shaded.io.netty.util.concurrent.AbstractScheduledEventExecutor.schedule(AbstractScheduledEventExecutor.java:155)
        at io
.grpc.netty.shaded.io.netty.util.concurrent.AbstractEventExecutorGroup.schedule(AbstractEventExecutorGroup.java:50)
        at io
.grpc.netty.shaded.io.netty.util.concurrent.AbstractEventExecutorGroup.schedule(AbstractEventExecutorGroup.java:32)
        at io
.grpc.internal.Rescheduler.reschedule(Rescheduler.java:63)
        at io
.grpc.internal.ManagedChannelImpl.rescheduleIdleTimer(ManagedChannelImpl.java:408)
        at io
.grpc.internal.ManagedChannelImpl.exitIdleMode(ManagedChannelImpl.java:366)
        at io
.grpc.internal.ManagedChannelImpl$ChannelTransportProvider$1ExitIdleModeForTransport.run(ManagedChannelImpl.java:467)
        at io
.grpc.SynchronizationContext.drain(SynchronizationContext.java:88)
        at io
.grpc.SynchronizationContext.execute(SynchronizationContext.java:120)
        at io
.grpc.internal.ManagedChannelImpl$ChannelTransportProvider.get(ManagedChannelImpl.java:471)
        at io
.grpc.internal.ClientCallImpl.startInternal(ClientCallImpl.java:255)
        at io
.grpc.internal.ClientCallImpl.start(ClientCallImpl.java:188)
        at io
.grpc.internal.CensusTracingModule$TracingClientInterceptor$1.start(CensusTracingModule.java:394)
        at io
.grpc.internal.CensusStatsModule$StatsClientInterceptor$1.start(CensusStatsModule.java:695)
        at io
.grpc.ForwardingClientCall.start(ForwardingClientCall.java:32)
        at com
.google.api.gax.grpc.GrpcHeaderInterceptor$1.start(GrpcHeaderInterceptor.java:94)
        at io
.grpc.ForwardingClientCall.start(ForwardingClientCall.java:32)
        at com
.google.ads.googleads.lib.logging.LoggingInterceptor$1.start(LoggingInterceptor.java:78)
        at io
.grpc.stub.ClientCalls.startCall(ClientCalls.java:310)
        at io
.grpc.stub.ClientCalls.asyncUnaryRequestCall(ClientCalls.java:282)
        at io
.grpc.stub.ClientCalls.futureUnaryCall(ClientCalls.java:191)
        at com
.google.api.gax.grpc.GrpcDirectCallable.futureCall(GrpcDirectCallable.java:58)
        at com
.google.api.gax.grpc.GrpcUnaryRequestParamCallable.futureCall(GrpcUnaryRequestParamCallable.java:65)
        at com
.google.api.gax.grpc.GrpcExceptionCallable.futureCall(GrpcExceptionCallable.java:64)
        at com
.google.api.gax.rpc.UnaryCallable$1.futureCall(UnaryCallable.java:126)
        at com
.google.ads.googleads.lib.ExceptionTransformingCallable.futureCall(ExceptionTransformingCallable.java:51)
        at com
.google.api.gax.rpc.UnaryCallable$1.futureCall(UnaryCallable.java:126)
        at com
.google.api.gax.rpc.UnaryCallable.futureCall(UnaryCallable.java:87)
        at com
.google.api.gax.rpc.UnaryCallable.call(UnaryCallable.java:112)
        at com
.google.ads.googleads.v2.services.CampaignBudgetServiceClient.mutateCampaignBudgets(CampaignBudgetServiceClient.java:350)
        at com
.google.ads.googleads.v2.services.CampaignBudgetServiceClient.mutateCampaignBudgets(CampaignBudgetServiceClient.java:324)

Another exception:
SEVERE: Exception while executing runnable io.grpc.internal.SharedResourceHolder$2@db94e34
io
.grpc.netty.shaded.io.netty.channel.ChannelException: eventfd_write() failed: Bad file descriptor
        at io
.grpc.netty.shaded.io.netty.channel.epoll.Native.eventFdWrite(Native Method)
        at io
.grpc.netty.shaded.io.netty.channel.epoll.EpollEventLoop.wakeup(EpollEventLoop.java:167)
        at io
.grpc.netty.shaded.io.netty.util.concurrent.SingleThreadEventExecutor.shutdownGracefully(SingleThreadEventExecutor.java:603)
        at io
.grpc.netty.shaded.io.netty.util.concurrent.MultithreadEventExecutorGroup.shutdownGracefully(MultithreadEventExecutorGroup.java:163)
        at io
.grpc.netty.shaded.io.grpc.netty.Utils$DefaultEventLoopGroupResource.close(Utils.java:346)
        at io
.grpc.netty.shaded.io.grpc.netty.Utils$DefaultEventLoopGroupResource.close(Utils.java:318)
        at io
.grpc.internal.SharedResourceHolder$2.run(SharedResourceHolder.java:145)
        at io
.grpc.internal.LogExceptionRunnable.run(LogExceptionRunnable.java:43)
        at java
.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java
.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java
.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at java
.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java
.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java
.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java
.lang.Thread.run(Thread.java:745)

We can't find out any solutions about this issue,please help,
Regards,


Google Ads API Forum Advisor Prod

unread,
Oct 21, 2019, 1:13:11 AM10/21/19
to adwor...@googlegroups.com

Hi Luke,

Thank you for reaching out. I'm from the AdWords / Google Ads API Team and I've been notified of your concern.

So I can further investigate the issue, could you provide the complete SOAP request and response logs via Reply privately to author? If you haven't enabled the SOAP logging yet, you may refer to the README section of the respective client library for instructions on how to do it.

However, if your concern is about the Java client library, I would recommend you to reach out to the owner of the library via this link for further assistance.

Regards,
Hiroyuki
Google Ads API Team



ref:_00D1U1174p._5001UKNtmF:ref
Reply all
Reply to author
Forward
0 new messages