java.lang.IllegalStateException: Profile not locked due to exception: eclipse -3.6M7/p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile.profile/.lock (Permission denied)

Eclipse Bugzilla | dan | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    PDE build uses incorrect profile area if Eclipse is read-only

    Eclipse Bugzilla | 7 years ago | dan
    java.lang.IllegalStateException: Profile not locked due to exception: eclipse -3.6M7/p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile.profile/.lock (Permission denied)

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Profile not locked due to exception: eclipse -3.6M7/p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile.profile/.lock (Permission denied)

      at org.eclipse.equinox.internal.p2.engine.ProfileLock.lock()
    2. org.eclipse.equinox
      SimpleProfileRegistry.getProfile
      1. org.eclipse.equinox.internal.p2.engine.ProfileLock.lock(ProfileLock.java:106)
      2. org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.restore(SimpleProfileRegistry.java:428)
      3. org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.getProfileMap(SimpleProfileRegistry.java:274)
      4. org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.internalGetProfile(SimpleProfileRegistry.java:235)
      5. org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry.getProfile(SimpleProfileRegistry.java:165)
      5 frames
    3. org.eclipse.pde
      AbstractScriptGenerator.getSite
      1. org.eclipse.pde.internal.build.AbstractScriptGenerator.getAssociatedRepositories(AbstractScriptGenerator.java:621)
      2. org.eclipse.pde.internal.build.AbstractScriptGenerator.getSite(AbstractScriptGenerator.java:329)
      2 frames