java.lang.ClassCastException: org.openide.filesystems.Repository$MainFS cannot be cast to org.netbeans.core.startup.layers.SystemFileSystem

Oracle Community | 5a9630de-3742-43ec-a527-e3c8659e46de | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    When attempting to run SQLDeveloper.exe 4.0.2.15.21 "Custom UI class oracle.bali.ewt.olaf2.OracleLookAndFeel not on classpath"

    Oracle Community | 3 years ago | 5a9630de-3742-43ec-a527-e3c8659e46de
    java.lang.ClassCastException: org.openide.filesystems.Repository$MainFS cannot be cast to org.netbeans.core.startup.layers.SystemFileSystem
  2. 0

    Cannot start Netbeans 8.0.1 after JAX-RPC Web Services plugin installation

    Stack Overflow | 2 years ago | Eliel Avelar
    java.lang.ClassCastException: org.openide.filesystems.Repository$MainFS cannot be cast to org.netbeans.core.startup.layers.SystemFileSystem

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.openide.filesystems.Repository$MainFS cannot be cast to org.netbeans.core.startup.layers.SystemFileSystem

      at org.netbeans.core.startup.layers.ModuleLayeredFileSystem.getUserModuleLayer()
    2. org.netbeans.core
      NbInstaller$1.run
      1. org.netbeans.core.startup.layers.ModuleLayeredFileSystem.getUserModuleLayer(ModuleLayeredFileSystem.java:219)
      2. org.netbeans.core.startup.NbInstaller.loadLayers(NbInstaller.java:580)
      3. org.netbeans.core.startup.NbInstaller.loadImpl(NbInstaller.java:356)
      4. org.netbeans.core.startup.NbInstaller.access$000(NbInstaller.java:105)
      5. org.netbeans.core.startup.NbInstaller$1.run(NbInstaller.java:346)
      5 frames
    3. org.openide.filesystems
      FileUtil.runAtomicAction
      1. org.openide.filesystems.FileUtil$2.run(FileUtil.java:431)
      2. org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:127)
      3. org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:609)
      4. org.openide.filesystems.FileUtil.runAtomicAction(FileUtil.java:415)
      5. org.openide.filesystems.FileUtil.runAtomicAction(FileUtil.java:435)
      5 frames
    4. org.netbeans.core
      NbInstaller.load
      1. org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:343)
      1 frame
    5. org.netbeans
      ModuleManager.enable
      1. org.netbeans.ModuleManager.enable(ModuleManager.java:1188)
      2. org.netbeans.ModuleManager.enable(ModuleManager.java:1011)
      2 frames
    6. org.netbeans.core
      TopThreadGroup.run
      1. org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340)
      2. org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276)
      3. org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:301)
      4. org.netbeans.core.startup.Main.getModuleSystem(Main.java:181)
      5. org.netbeans.core.startup.Main.getModuleSystem(Main.java:150)
      6. org.netbeans.core.startup.Main.start(Main.java:307)
      7. org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
      7 frames
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame