java.io.IOException: An error occurred while locking file "Operation not supported". A common reason is that the file system or Runtime Environment does not support file locking for that location. Please choose a different location, or disable file locking by passing "-Dosgi.locking=none" as a VM argument.

narkive.com | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    [Samba] Eclipse (Java) locking issues after upgrade (3.6.23 -> 4.4.3)

    narkive.com | 6 months ago
    java.io.IOException: An error occurred while locking file "Operation not supported". A common reason is that the file system or Runtime Environment does not support file locking for that location. Please choose a different location, or disable file locking by passing "-Dosgi.locking=none" as a VM argument.

    Root Cause Analysis

    1. java.io.IOException

      An error occurred while locking file "Operation not supported". A common reason is that the file system or Runtime Environment does not support file locking for that location. Please choose a different location, or disable file locking by passing "-Dosgi.locking=none" as a VM argument.

      at org.eclipse.osgi.internal.location.Locker_JavaNio.lock()
    2. Eclipse OSGi
      EquinoxContainer.<init>
      1. org.eclipse.osgi.internal.location.Locker_JavaNio.lock(Locker_JavaNio.java:49)
      2. org.eclipse.osgi.storagemanager.StorageManager.lock(StorageManager.java:388)
      3. org.eclipse.osgi.storagemanager.StorageManager.open(StorageManager.java:701)
      4. org.eclipse.osgi.storage.Storage.getChildStorageManager(Storage.java:1785)
      5. org.eclipse.osgi.storage.Storage.getInfoInputStream(Storage.java:1802)
      6. org.eclipse.osgi.storage.Storage.<init>(Storage.java:128)
      7. org.eclipse.osgi.storage.Storage.createStorage(Storage.java:87)
      8. org.eclipse.osgi.internal.framework.EquinoxContainer.<init>(EquinoxContainer.java:66)
      8 frames