java.lang.RuntimeException: Could not copy native binaries to temp directory /tmp/amazon-kinesis-producer-native-binaries

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by eoconnor
, 1 year ago
Could not copy native binaries to temp directory /tmp/amazon-kinesis-producer-native-binaries
via GitHub by ramtg
, 1 year ago
Could not copy native binaries to temp directory C:\Users\...\AppData\Local\Temp\amazon-kinesis-producer-native-binaries
via Stack Overflow by LeythG
, 1 year ago
Could not copy native binaries to temp directory C:\Users\************\AppData\Local\Temp\amazon-kinesis-producer-native-binaries
java.lang.RuntimeException: Could not copy native binaries to temp directory /tmp/amazon-kinesis-producer-native-binaries
at sun.nio.ch.FileChannelImpl.lock(FileChannelImpl.java:1071)
at java.nio.channels.FileChannel.lock(FileChannel.java:1052)
at com.amazonaws.services.kinesis.producer.KinesisProducer.extractBinaries(KinesisProducer.java:818)
at com.amazonaws.services.kinesis.producer.KinesisProducer.extractBinaries(KinesisProducer.java:826)
at com.amazonaws.services.kinesis.producer.KinesisProducer.(KinesisProducer.java:236)
at com.mypackage.MyKinesisWriter.run(MyKinesisWriter.java:32)
at com.netflix.hystrix.HystrixCommand$1.call(HystrixCommand.java:294)
at com.netflix.hystrix.HystrixCommand$1.call(HystrixCommand.java:289)
at rx.Observable$1.call(Observable.java:145)
at rx.Observable$1.call(Observable.java:137)
at rx.Observable$1.call(Observable.java:145)
at rx.Observable$1.call(Observable.java:137)
at rx.Observable$1.call(Observable.java:145)
at rx.Observable$1.call(Observable.java:137)
at rx.Observable.unsafeSubscribe(Observable.java:7713)
at com.netflix.hystrix.AbstractCommand$5.call(AbstractCommand.java:534)
at com.netflix.hystrix.AbstractCommand$5.call(AbstractCommand.java:509)
at rx.Observable.unsafeSubscribe(Observable.java:7713)
at com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction$1.call(HystrixContexSchedulerAction.java:56)
at com.nike.trace.hystrix.TraceCallableWrapper.call(TraceCallableWrapper.java:32)
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

2 times, 1 year ago
5 times, 1 year ago
Once, 1 year ago
3 times, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.