java.io.FileNotFoundException: .../sts-cache/bundle60/bundle.state (No such file or directory)ERROR: Error writing persistent state to bundle archive. (java.io.FileNotFoundException: .../sts-cache/bundle60/bundle.state (No such file or directory))

SpringSource Issue Tracker | Steffen Pingel | 5 years ago
  1. 0

    Steps: 1. Open Roo shell on two projects at the same time When the Roo runtime does not have an sts-cache directory both instances will try to create it concurrently. ERROR: org.apache.felix.framework.cache.BundleArchive: Unable to record state - java.io.FileNotFoundException: .../sts-cache/bundle60/bundle.state (No such file or directory) java.io.FileNotFoundException: .../sts-cache/bundle60/bundle.state (No such file or directory)ERROR: Error writing persistent state to bundle archive. (java.io.FileNotFoundException: .../sts-cache/bundle60/bundle.state (No such file or directory)) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at org.apache.felix.framework.util.SecureAction.getFileOutputStream(SecureAction.java:461) at org.apache.felix.framework.cache.BundleArchive.setPersistentState(BundleArchive.java:361) at org.apache.felix.framework.BundleImpl.setPersistentStateActive(BundleImpl.java:756) at org.apache.felix.framework.Felix.startBundle(Felix.java:1613) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892) at org.springframework.roo.shell.eclipse.AutoProcessor.processAutoDeploy(AutoProcessor.java:266) at org.springframework.roo.shell.eclipse.AutoProcessor.process(AutoProcessor.java:89) at org.springframework.roo.shell.eclipse.Main.start(Main.java:247) at org.springframework.roo.shell.eclipse.Bootstrap.start(Bootstrap.java:158) at com.springsource.sts.roo.ui.internal.RooShellTab$8.run(RooShellTab.java:411) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.classpath.javaparser [37]: package; (&(package=org.springframework.roo.classpath.details.annotations)(version>=1.1.0)(!(version>=2.0.0))) at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3295) at org.apache.felix.framework.Felix.startBundle(Felix.java:1653) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1124) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264) at java.lang.Thread.run(Thread.java:619)

    SpringSource Issue Tracker | 5 years ago | Steffen Pingel
    java.io.FileNotFoundException: .../sts-cache/bundle60/bundle.state (No such file or directory)ERROR: Error writing persistent state to bundle archive. (java.io.FileNotFoundException: .../sts-cache/bundle60/bundle.state (No such file or directory))
  2. 0

    Steps: 1. Open Roo shell on two projects at the same time When the Roo runtime does not have an sts-cache directory both instances will try to create it concurrently. ERROR: org.apache.felix.framework.cache.BundleArchive: Unable to record state - java.io.FileNotFoundException: .../sts-cache/bundle60/bundle.state (No such file or directory) java.io.FileNotFoundException: .../sts-cache/bundle60/bundle.state (No such file or directory)ERROR: Error writing persistent state to bundle archive. (java.io.FileNotFoundException: .../sts-cache/bundle60/bundle.state (No such file or directory)) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at org.apache.felix.framework.util.SecureAction.getFileOutputStream(SecureAction.java:461) at org.apache.felix.framework.cache.BundleArchive.setPersistentState(BundleArchive.java:361) at org.apache.felix.framework.BundleImpl.setPersistentStateActive(BundleImpl.java:756) at org.apache.felix.framework.Felix.startBundle(Felix.java:1613) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892) at org.springframework.roo.shell.eclipse.AutoProcessor.processAutoDeploy(AutoProcessor.java:266) at org.springframework.roo.shell.eclipse.AutoProcessor.process(AutoProcessor.java:89) at org.springframework.roo.shell.eclipse.Main.start(Main.java:247) at org.springframework.roo.shell.eclipse.Bootstrap.start(Bootstrap.java:158) at com.springsource.sts.roo.ui.internal.RooShellTab$8.run(RooShellTab.java:411) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) org.osgi.framework.BundleException: Unresolved constraint in bundle org.springframework.roo.classpath.javaparser [37]: package; (&(package=org.springframework.roo.classpath.details.annotations)(version>=1.1.0)(!(version>=2.0.0))) at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3295) at org.apache.felix.framework.Felix.startBundle(Felix.java:1653) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1124) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264) at java.lang.Thread.run(Thread.java:619)

    SpringSource Issue Tracker | 5 years ago | Steffen Pingel
    java.io.FileNotFoundException: .../sts-cache/bundle60/bundle.state (No such file or directory)ERROR: Error writing persistent state to bundle archive. (java.io.FileNotFoundException: .../sts-cache/bundle60/bundle.state (No such file or directory))
  3. 0

    TeamCity is leaking caches/git file descriptors

    YouTrack | 6 years ago
    java.io.FileNotFoundException: /data/teamcity/BuildServer/system/pluginData/customDataStorage/buildTypes/bt2613/485653500 (Too many open files)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    FileNotFoundException during saving of PDF file

    GitHub | 5 years ago | mbastian
    java.io.FileNotFoundException: C:\****\Untilted.pdf (Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus)
  6. 0

    Marker Issues

    GitHub | 4 years ago | TheSeize
    java.io.FileNotFoundException: plugins/dynmap/web/tiles/_markers_/marker_final.json.new (No such file or directory)
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    .../sts-cache/bundle60/bundle.state (No such file or directory)ERROR: Error writing persistent state to bundle archive. (java.io.FileNotFoundException: .../sts-cache/bundle60/bundle.state (No such file or directory))

    at java.io.FileOutputStream.open()
  2. Java RT
    FileOutputStream.<init>
    1. java.io.FileOutputStream.open(Native Method)
    2. java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    3. java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    3 frames
  3. Apache Felix Framework
    BundleImpl.start
    1. org.apache.felix.framework.util.SecureAction.getFileOutputStream(SecureAction.java:461)
    2. org.apache.felix.framework.cache.BundleArchive.setPersistentState(BundleArchive.java:361)
    3. org.apache.felix.framework.BundleImpl.setPersistentStateActive(BundleImpl.java:756)
    4. org.apache.felix.framework.Felix.startBundle(Felix.java:1613)
    5. org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
    6. org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
    6 frames
  4. org.springframework.roo
    Bootstrap.start
    1. org.springframework.roo.shell.eclipse.AutoProcessor.processAutoDeploy(AutoProcessor.java:266)
    2. org.springframework.roo.shell.eclipse.AutoProcessor.process(AutoProcessor.java:89)
    3. org.springframework.roo.shell.eclipse.Main.start(Main.java:247)
    4. org.springframework.roo.shell.eclipse.Bootstrap.start(Bootstrap.java:158)
    4 frames
  5. com.springsource.sts
    RooShellTab$8.run
    1. com.springsource.sts.roo.ui.internal.RooShellTab$8.run(RooShellTab.java:411)
    1 frame
  6. Eclipse Jobs
    Worker.run
    1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    1 frame