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 Pentaho BI Platform Tracking by Ezequiel Cuellar, 1 year ago
java.util.Collections$UnmodifiableMap cannot be cast to java.util.HashMap
via Pentaho BI Platform Tracking by Ezequiel Cuellar, 1 year ago
java.util.Collections$UnmodifiableMap cannot be cast to java.util.HashMap
java.lang.ClassCastException: java.util.Collections$UnmodifiableMap cannot be cast to java.util.HashMap	at org.pentaho.reporting.engine.classic.core.cache.DataCacheKey.makeReadOnly(DataCacheKey.java:76)	at org.pentaho.reporting.engine.classic.core.cache.CachingDataFactory.createCacheKey(CachingDataFactory.java:375)	at org.pentaho.reporting.engine.classic.core.cache.CachingDataFactory.queryData(CachingDataFactory.java:295)	at org.pentaho.reporting.engine.classic.core.designtime.DesignTimeDataSchemaModel.queryReportData(DesignTimeDataSchemaModel.java:384)	at org.pentaho.reporting.engine.classic.core.designtime.DesignTimeDataSchemaModel.buildDataSchema(DesignTimeDataSchemaModel.java:314)	at org.pentaho.reporting.engine.classic.core.designtime.DesignTimeDataSchemaModel.ensureDataSchemaValid(DesignTimeDataSchemaModel.java:243)	at org.pentaho.reporting.engine.classic.core.designtime.DesignTimeDataSchemaModel.getColumnNames(DesignTimeDataSchemaModel.java:448)	at org.pentaho.reporting.designer.core.editor.fieldselector.FieldSelectorPanel.computeColumns(FieldSelectorPanel.java:133)	at org.pentaho.reporting.designer.core.editor.fieldselector.FieldSelectorPanel$ReportModelChangeHandler.nodeChanged(FieldSelectorPanel.java:68)	at org.pentaho.reporting.engine.classic.core.AbstractReportDefinition.fireModelLayoutChanged(AbstractReportDefinition.java:1247)	at org.pentaho.reporting.engine.classic.core.MasterReport.updateChangedFlagInternal(MasterReport.java:431)	at org.pentaho.reporting.engine.classic.core.Element.notifyNodeChildAdded(Element.java:980)	at org.pentaho.reporting.engine.classic.core.MasterReport.setDataFactory(MasterReport.java:318)	at org.pentaho.reporting.designer.core.actions.report.AddDataFactoryAction.addDataFactory(AddDataFactoryAction.java:140)	at org.pentaho.reporting.designer.core.actions.report.AddDataFactoryAction.actionPerformed(AddDataFactoryAction.java:94)	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)	at javax.swing.AbstractButton.doClick(AbstractButton.java:357)	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)	at java.awt.Component.processMouseEvent(Component.java:6290)	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)	at java.awt.Component.processEvent(Component.java:6055)	at java.awt.Container.processEvent(Container.java:2039)	at java.awt.Component.dispatchEventImpl(Component.java:4653)	at java.awt.Container.dispatchEventImpl(Container.java:2097)	at java.awt.Component.dispatchEvent(Component.java:4481)	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)	at java.awt.Container.dispatchEventImpl(Container.java:2083)	at java.awt.Window.dispatchEventImpl(Window.java:2482)	at java.awt.Component.dispatchEvent(Component.java:4481)	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:648)	at java.awt.EventQueue.access$000(EventQueue.java:84)	at java.awt.EventQueue$1.run(EventQueue.java:607)	at java.awt.EventQueue$1.run(EventQueue.java:605)	at java.security.AccessController.doPrivileged(Native Method)	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)	at java.awt.EventQueue$2.run(EventQueue.java:621)	at java.awt.EventQueue$2.run(EventQueue.java:619)	at java.security.AccessController.doPrivileged(Native Method)	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)	at java.awt.EventQueue.dispatchEvent(EventQueue.java:618)	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)