java.lang.IllegalArgumentException: Negative position

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 deathy
, 1 year ago
Negative position
via Google Groups by Igor Castang, 2 years ago
via GitHub by RonyK
, 1 year ago
Negative position
java.lang.IllegalArgumentException: Negative position
at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:688)
at com.turn.ttorrent.client.storage.FileStorage.write(FileStorage.java:130)
at com.turn.ttorrent.client.storage.FileCollectionStorage.write(FileCollectionStorage.java:97)
at com.turn.ttorrent.client.Piece.record(Piece.java:265)
at com.turn.ttorrent.client.peer.SharingPeer.handleMessage(SharingPeer.java:614)

Users with the same issue

You are the first who have seen this exception.

Write tip

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