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: com.googlecode.lanterna.gui2.BorderLayout$Location cannot be cast to com.googlecode.lanterna.gui2.LinearLayout$LinearLayoutData at com.googlecode.lanterna.gui2.LinearLayout.doVerticalLayout(LinearLayout.java:180) at com.googlecode.lanterna.gui2.LinearLayout.doLayout(LinearLayout.java:163) at com.googlecode.lanterna.gui2.Panel.layout(Panel.java:327) at com.googlecode.lanterna.gui2.Panel.access$300(Panel.java:37) at com.googlecode.lanterna.gui2.Panel$1.drawComponent(Panel.java:187) at com.googlecode.lanterna.gui2.Panel$1.drawComponent(Panel.java:176) at com.googlecode.lanterna.gui2.AbstractComponent.draw(AbstractComponent.java:218) at com.googlecode.lanterna.gui2.Panel$1.drawComponent(Panel.java:196) at com.googlecode.lanterna.gui2.Panel$1.drawComponent(Panel.java:176) at com.googlecode.lanterna.gui2.AbstractComponent.draw(AbstractComponent.java:218) at com.googlecode.lanterna.gui2.AbstractBasePane$ContentHolder$1.drawComponent(AbstractBasePane.java:334) at com.googlecode.lanterna.gui2.AbstractBasePane$ContentHolder$1.drawComponent(AbstractBasePane.java:318) at com.googlecode.lanterna.gui2.AbstractComponent.draw(AbstractComponent.java:218) at com.googlecode.lanterna.gui2.AbstractBasePane.draw(AbstractBasePane.java:73) at com.googlecode.lanterna.gui2.AbstractWindow.draw(AbstractWindow.java:127) at com.googlecode.lanterna.gui2.MultiWindowTextGUI.drawGUI(MultiWindowTextGUI.java:257) at com.googlecode.lanterna.gui2.AbstractTextGUI.updateScreen(AbstractTextGUI.java:120) at com.googlecode.lanterna.gui2.MultiWindowTextGUI.updateScreen(MultiWindowTextGUI.java:219) at com.googlecode.lanterna.gui2.AbstractTextGUIThread.processEventsAndUpdate(AbstractTextGUIThread.java:83) at com.googlecode.lanterna.gui2.MultiWindowTextGUI.waitForWindowToClose(MultiWindowTextGUI.java:401) at com.googlecode.lanterna.gui2.AbstractWindow.waitUntilClosed(AbstractWindow.java:268) at com.googlecode.lanterna.gui2.MultiWindowTextGUI.addWindowAndWait(MultiWindowTextGUI.java:368)
No Bugmate found.