java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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(ModuleLayeredFileSystem.java:219) at org.netbeans.core.startup.NbInstaller.loadLayers(NbInstaller.java:580) at org.netbeans.core.startup.NbInstaller.loadImpl(NbInstaller.java:356) at org.netbeans.core.startup.NbInstaller.access$000(NbInstaller.java:105) at org.netbeans.core.startup.NbInstaller$1.run(NbInstaller.java:346) at org.openide.filesystems.FileUtil$2.run(FileUtil.java:431) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:127) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:609) at org.openide.filesystems.FileUtil.runAtomicAction(FileUtil.java:415) at org.openide.filesystems.FileUtil.runAtomicAction(FileUtil.java:435) at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:343) at org.netbeans.ModuleManager.enable(ModuleManager.java:1188) at org.netbeans.ModuleManager.enable(ModuleManager.java:1011) at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340) at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276) at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:301) at org.netbeans.core.startup.Main.getModuleSystem(Main.java:181) at org.netbeans.core.startup.Main.getModuleSystem(Main.java:150) at org.netbeans.core.startup.Main.start(Main.java:307) at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123) at java.lang.Thread.run(Thread.java:745)
No Bugmate found.