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

JIRA | antony silvester | 3 months ago
  1. 0

    Test Steps : ---test code---- // Get YMS service YmsService ymsService = get(YmsService.class); if (ymsService == null) { print("ymsService is Null"); } // Get YANG codec handler YangCodecHandler yangCodecHandler = ymsService.getYangCodecHandler(); if (yangCodecHandler == null) { print("yangCodecHandler is Null"); } // Add device schema in YMS codec yangCodecHandler.addDeviceSchema(Network.class); --exception-- (more exceptions in attached file) *********************************************** one of the Exception - please find the attachment for all Exception 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)

    JIRA | 3 months ago | antony silvester
    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
  2. 0

    T-SPARQL test fail

    GitHub | 2 years ago | skodape
    java.io.IOException: Unable to delete file: C:\Users\Petyr\AppData\Local\Temp\7708574074026886311\dataUnits\test_env_72636635\values.id
  3. 0

    GitHub comment 26#126354328

    GitHub | 1 year ago | vorburger
    java.io.IOException: Unable to delete file: /tmp/MariaDB4j/base/share/swedish/errmsg.sys
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spoon deleted all the files in the Documents directory

    Stack Overflow | 1 year ago | Christ Hunt
    java.lang.RuntimeException: Unable to clean output directory: /Users/MyUsername/Documents
  6. 0

    The cleanupOnExit ShutdownHook should not log warnings if directory does not exists

    GitHub | 1 year ago | akkie
    java.io.IOException: Unable to delete file: /tmp/MariaDB4j/base/share/swedish/errmsg.sys

    3 unregistered visitors
    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.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()
    2. Commons IO
      FileUtils.deleteDirectory
      1. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2279)
      2. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
      3. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
      4. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
      5. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
      6. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
      6 frames
    3. org.onosproject.yms
      DefaultYangCodecHandler.addDeviceSchema
      1. org.onosproject.yms.app.ysr.DefaultYangSchemaRegistry.processJarParsingOperations(DefaultYangSchemaRegistry.java:402)
      2. org.onosproject.yms.app.ysr.DefaultYangSchemaRegistry.registerApplication(DefaultYangSchemaRegistry.java:188)
      3. org.onosproject.yms.app.ych.DefaultYangCodecHandler.addDeviceSchema(DefaultYangCodecHandler.java:135)
      3 frames
    4. org.onosproject.ymstest
      YmsTestcases.testSbiDecodeInvalid
      1. org.onosproject.ymstest.YmsTestcases.testSbiDecodeInvalid(YmsTestcases.java:203)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    6. org.onosproject.ymstest
      YmsTestCommand.execute
      1. org.onosproject.ymstest.cli.YmsTestCommand.execute(YmsTestCommand.java:56)
      1 frame
    7. org.onosproject.cli
      AbstractShellCommand.doExecute
      1. org.onosproject.cli.AbstractShellCommand.doExecute(AbstractShellCommand.java:150)
      1 frame
    8. Apache Karaf :: Shell :: Console
      AbstractCommand.execute
      1. org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
      2. org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)
      2 frames
    9. Unknown
      Proxyfc3144fd_a944_4f88_bca0_da5db86aa515.execute
      1. Proxyfc3144fd_a944_4f88_bca0_da5db86aa515.execute(Unknown Source)
      2. Proxyfc3144fd_a944_4f88_bca0_da5db86aa515.execute(Unknown Source)
      2 frames
    10. Apache Felix Gogo Runtime
      CommandSessionImpl.execute
      1. org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)
      2. org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)
      3. org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:406)
      4. org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
      5. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:182)
      6. org.apache.felix.gogo.runtime.Closure.execute(Closure.java:119)
      7. org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:94)
      7 frames
    11. Apache Karaf :: Shell :: Console
      LocalConsoleManager$2$1$1.run
      1. org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:210)
      2. org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1$1.run(LocalConsoleManager.java:109)
      2 frames
    12. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    13. Karaf
      JaasHelper.doAs
      1. org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)
      1 frame
    14. Apache Karaf :: Shell :: Console
      LocalConsoleManager$2$1.run
      1. org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1.run(LocalConsoleManager.java:102)
      1 frame