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

Running with logging set to DEBUG reveals format exception #68

Closed
Paul424 opened this issue May 12, 2016 · 1 comment
Closed

Running with logging set to DEBUG reveals format exception #68

Paul424 opened this issue May 12, 2016 · 1 comment

Comments

@Paul424
Copy link

Paul424 commented May 12, 2016

When running an application using Kinesis Connectors Library 1.6.2 i encountered a string format exception.

Relevant part of the callstack:

2016-05-12 11:14:48,123 @LeaseCoordinator-1 ERROR LeaseCoordinator Throwable encountered in lease taking thread LeaseCoordinator.java(167)
java.util.IllegalFormatConversionException: d != java.lang.String
at java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4302)
at java.util.Formatter$FormatSpecifier.printInteger(Formatter.java:2793)
at java.util.Formatter$FormatSpecifier.print(Formatter.java:2747)
at java.util.Formatter.format(Formatter.java:2520)
at java.util.Formatter.format(Formatter.java:2455)
at java.lang.String.format(String.java:2940)
at com.amazonaws.services.kinesis.leases.impl.LeaseTaker.chooseLeasesToSteal(LeaseTaker.java:471)
at com.amazonaws.services.kinesis.leases.impl.LeaseTaker.computeLeasesToTake(LeaseTaker.java:391)
at com.amazonaws.services.kinesis.leases.impl.LeaseTaker.takeLeases(LeaseTaker.java:169)
at com.amazonaws.services.kinesis.leases.impl.LeaseTaker.takeLeases(LeaseTaker.java:118)
at com.amazonaws.services.kinesis.leases.impl.LeaseCoordinator.runTaker(LeaseCoordinator.java:219)
at com.amazonaws.services.kinesis.leases.impl.LeaseCoordinator$TakerRunnable.run(LeaseCoordinator.java:163)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
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)

@manango
Copy link
Contributor

manango commented May 12, 2016

@Paul424, thanks for reporting the issue. Release 1.6.3 has the fix for this issue.

@manango manango closed this as completed May 12, 2016
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