You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my project there was a directory called "bin" that contained copies of files found elsewhere in the project. This included pom.xml files which the plugin detected as Liberty projects. When I clicked on the Liberty dashboard that pom was opened in the editor and this exception occurred.
java.lang.ClassCastException: class javax.swing.tree.DefaultMutableTreeNode cannot be cast to class io.openliberty.tools.intellij.LibertyModuleNode (javax.swing.tree.DefaultMutableTreeNode is in module java.desktop of loader 'bootstrap'; io.openliberty.tools.intellij.LibertyModuleNode is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @49807128)
at io.openliberty.tools.intellij.LibertyExplorer$LibertyTreeRenderer.getTreeCellRendererComponent(LibertyExplorer.java:317)
at java.desktop/javax.swing.JTree$AccessibleJTree$AccessibleJTreeNode.getCurrentComponent(JTree.java:4828)
at java.desktop/javax.swing.JTree$AccessibleJTree$AccessibleJTreeNode.getCurrentAccessibleContext(JTree.java:4805)
at java.desktop/javax.swing.JTree$AccessibleJTree$AccessibleJTreeNode.getAccessibleRole(JTree.java:4914)
at java.desktop/sun.lwawt.macosx.CAccessible$AXChangeNotifier.propertyChange(CAccessible.java:163)
at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343)
at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335)
at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268)
at java.desktop/javax.accessibility.AccessibleContext.firePropertyChange(AccessibleContext.java:790)
at java.desktop/javax.swing.JTree$AccessibleJTree.fireActiveDescendantPropertyChange(JTree.java:4439)
at java.desktop/javax.swing.JTree.setLeadSelectionPath(JTree.java:1749)
at java.desktop/javax.swing.plaf.basic.BasicTreeUI.setLeadSelectionPath(BasicTreeUI.java:2813)
at java.desktop/javax.swing.plaf.basic.BasicTreeUI.setLeadSelectionPath(BasicTreeUI.java:2804)
at java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.valueChanged(BasicTreeUI.java:4251)
at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:650)
...
The text was updated successfully, but these errors were encountered:
In my project there was a directory called "bin" that contained copies of files found elsewhere in the project. This included pom.xml files which the plugin detected as Liberty projects. When I clicked on the Liberty dashboard that pom was opened in the editor and this exception occurred.
The text was updated successfully, but these errors were encountered: