java.io.IOException

Unable to delete file: /home/sojan/Applications/apache-karaf-3.0.5/system/org/onosproject/onos-app-ymstest/1.7.0-SNAPSHOT/onos-app-ymstest-1.7.0-SNAPSHOT/yang/resources/YangMetaData.ser

Solutions on the web17847

  • via JIRA by antony silvester, 10 months ago
    Unable to delete file: /home/sojan/Applications/apache-karaf-3.0.5/system/org/onosproject/onos-app-ymstest/1.7.0-SNAPSHOT/onos-app-ymstest-1.7.0-SNAPSHOT/yang/resources/YangMetaData.ser
  • Unable to delete file: .\packr-1.1-SNAPSHOT-jar-with-dependencies.jar
  • Failed to delete ../app/target/m2e-wtp/web-resources
  • Stack trace

    • java.io.IOException: Unable to delete file: /home/sojan/Applications/apache-karaf-3.0.5/system/org/onosproject/onos-app-ymstest/1.7.0-SNAPSHOT/onos-app-ymstest-1.7.0-SNAPSHOT/yang/resources/YangMetaData.ser at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2279) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535) at org.onosproject.yms.app.ysr.DefaultYangSchemaRegistry.processJarParsingOperations(DefaultYangSchemaRegistry.java:402) at org.onosproject.yms.app.ysr.DefaultYangSchemaRegistry.registerApplication(DefaultYangSchemaRegistry.java:188) at org.onosproject.yms.app.ych.DefaultYangCodecHandler.addDeviceSchema(DefaultYangCodecHandler.java:135) at org.onosproject.ymstest.YmsTestcases.testSbiDecodeInvalid(YmsTestcases.java:203) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.onosproject.ymstest.cli.YmsTestCommand.execute(YmsTestCommand.java:56) at org.onosproject.cli.AbstractShellCommand.doExecute(AbstractShellCommand.java:150) at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33) at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33) at Proxyfc3144fd_a944_4f88_bca0_da5db86aa515.execute(Unknown Source) at Proxyfc3144fd_a944_4f88_bca0_da5db86aa515.execute(Unknown Source) at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78) at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480) at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406) at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119) at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94) at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:210) at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1$1.run(LocalConsoleManager.java:109) at java.security.AccessController.doPrivileged(Native Method) at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57) at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1.run(LocalConsoleManager.java:102)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Once, 1 month ago
    12 times, 2 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 2 years ago
    2 more bugmates