Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by kwantumWare
, 1 year ago
com.googlecode.lanterna.gui2.BorderLayout$Location cannot be cast to com.googlecode.lanterna.gui2.LinearLayout$LinearLayoutData
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)