java.lang.IllegalStateException

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.

  • Repro steps: 1. Drag and drop crosstab to canvas and using the query below to create datasource SELECT "CUSTOMER_W_TER"."TERRITORY", "CUSTOMER_W_TER"."CONTACTLASTNAME", "PRODUCTS"."PRODUCTLINE", "PRODUCTS"."PRODUCTNAME", "ORDERFACT"."YEAR_ID", "ORDERFACT"."TOTALPRICE", "ORDERFACT"."QUANTITYORDERED" FROM "PRODUCTS" INNER JOIN "ORDERFACT" ON "PRODUCTS"."PRODUCTCODE" = "ORDERFACT"."PRODUCTCODE" INNER JOIN "CUSTOMER_W_TER" ON "ORDERFACT"."CUSTOMERNUMBER" = "CUSTOMER_W_TER"."CUSTOMERNUMBER" ORDER BY "CUSTOMER_W_TER"."TERRITORY" ASC, "CUSTOMER_W_TER"."CONTACTLASTNAME" ASC, "PRODUCTS"."PRODUCTLINE" ASC, "PRODUCTS"."PRODUCTNAME" ASC, "ORDERFACT"."YEAR_ID" ASC 2. On Create Crosstab prompt, select Territory for crosstab group, Productline and productName for row, Year_ID for column, Totalprice and quanityOrder for detail. 3. Preview the report and error display: java.lang.IllegalStateException: cannot open system clipboard at sun.awt.windows.WClipboard.openClipboard(Native Method) at sun.awt.datatransfer.SunClipboard.getClipboardFormatsOpenClose(Unknown Source) at sun.awt.datatransfer.SunClipboard.isDataFlavorAvailable(Unknown Source) at org.pentaho.reporting.designer.core.util.dnd.ClipboardManager.isDataAvailable(ClipboardManager.java:147) at org.pentaho.reporting.designer.core.actions.global.PasteAction.stateChanged(PasteAction.java:390) at org.pentaho.reporting.designer.core.util.dnd.ClipboardManager.fireContentsChanged(ClipboardManager.java:139) at org.pentaho.reporting.designer.core.util.dnd.ClipboardManager.lostOwnership(ClipboardManager.java:127) at sun.awt.datatransfer.SunClipboard$2.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.Dialog$1.run(Unknown Source) at java.awt.Dialog$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Unknown Source) at java.awt.Component.show(Unknown Source) at java.awt.Component.setVisible(Unknown Source) at java.awt.Window.setVisible(Unknown Source) at java.awt.Dialog.setVisible(Unknown Source) at org.pentaho.reporting.libraries.designtime.swing.CommonDialog.setVisible(CommonDialog.java:280) at org.pentaho.reporting.libraries.designtime.swing.CommonDialog.performEdit(CommonDialog.java:193) at org.pentaho.reporting.designer.core.editor.crosstab.CreateCrosstabDialog.createCrosstab(CreateCrosstabDialog.java:513) at org.pentaho.reporting.designer.core.actions.elements.InsertCrosstabGroupAction.actionPerformed(InsertCrosstabGroupAction.java:225) at org.pentaho.reporting.designer.core.editor.report.elements.CrosstabReportElementDragHandler$CrosstabConfigureHandler.run(CrosstabReportElementDragHandler.java:207) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
    via by Li Deng,
  • Repro steps: 1. Drag and drop crosstab to canvas and using the query below to create datasource SELECT "CUSTOMER_W_TER"."TERRITORY", "CUSTOMER_W_TER"."CONTACTLASTNAME", "PRODUCTS"."PRODUCTLINE", "PRODUCTS"."PRODUCTNAME", "ORDERFACT"."YEAR_ID", "ORDERFACT"."TOTALPRICE", "ORDERFACT"."QUANTITYORDERED" FROM "PRODUCTS" INNER JOIN "ORDERFACT" ON "PRODUCTS"."PRODUCTCODE" = "ORDERFACT"."PRODUCTCODE" INNER JOIN "CUSTOMER_W_TER" ON "ORDERFACT"."CUSTOMERNUMBER" = "CUSTOMER_W_TER"."CUSTOMERNUMBER" ORDER BY "CUSTOMER_W_TER"."TERRITORY" ASC, "CUSTOMER_W_TER"."CONTACTLASTNAME" ASC, "PRODUCTS"."PRODUCTLINE" ASC, "PRODUCTS"."PRODUCTNAME" ASC, "ORDERFACT"."YEAR_ID" ASC 2. On Create Crosstab prompt, select Territory for crosstab group, Productline and productName for row, Year_ID for column, Totalprice and quanityOrder for detail. 3. Preview the report and error display: java.lang.IllegalStateException: cannot open system clipboard at sun.awt.windows.WClipboard.openClipboard(Native Method) at sun.awt.datatransfer.SunClipboard.getClipboardFormatsOpenClose(Unknown Source) at sun.awt.datatransfer.SunClipboard.isDataFlavorAvailable(Unknown Source) at org.pentaho.reporting.designer.core.util.dnd.ClipboardManager.isDataAvailable(ClipboardManager.java:147) at org.pentaho.reporting.designer.core.actions.global.PasteAction.stateChanged(PasteAction.java:390) at org.pentaho.reporting.designer.core.util.dnd.ClipboardManager.fireContentsChanged(ClipboardManager.java:139) at org.pentaho.reporting.designer.core.util.dnd.ClipboardManager.lostOwnership(ClipboardManager.java:127) at sun.awt.datatransfer.SunClipboard$2.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.Dialog$1.run(Unknown Source) at java.awt.Dialog$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Unknown Source) at java.awt.Component.show(Unknown Source) at java.awt.Component.setVisible(Unknown Source) at java.awt.Window.setVisible(Unknown Source) at java.awt.Dialog.setVisible(Unknown Source) at org.pentaho.reporting.libraries.designtime.swing.CommonDialog.setVisible(CommonDialog.java:280) at org.pentaho.reporting.libraries.designtime.swing.CommonDialog.performEdit(CommonDialog.java:193) at org.pentaho.reporting.designer.core.editor.crosstab.CreateCrosstabDialog.createCrosstab(CreateCrosstabDialog.java:513) at org.pentaho.reporting.designer.core.actions.elements.InsertCrosstabGroupAction.actionPerformed(InsertCrosstabGroupAction.java:225) at org.pentaho.reporting.designer.core.editor.report.elements.CrosstabReportElementDragHandler$CrosstabConfigureHandler.run(CrosstabReportElementDragHandler.java:207) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
    via by Li Deng,
  • GitHub comment 5#267979296
    via GitHub by Chris2011
    ,
  • Java Clipboard availability
    via Stack Overflow by Dziugas
    ,
  • copying image to system clipboard
    via by Matthew Fleming,
    • java.lang.IllegalStateException: cannot open system clipboard at sun.awt.windows.WClipboard.openClipboard(Native Method) at sun.awt.datatransfer.SunClipboard.getClipboardFormatsOpenClose(Unknown Source) at sun.awt.datatransfer.SunClipboard.isDataFlavorAvailable(Unknown Source) at org.pentaho.reporting.designer.core.util.dnd.ClipboardManager.isDataAvailable(ClipboardManager.java:147) at org.pentaho.reporting.designer.core.actions.global.PasteAction.stateChanged(PasteAction.java:390) at org.pentaho.reporting.designer.core.util.dnd.ClipboardManager.fireContentsChanged(ClipboardManager.java:139) at org.pentaho.reporting.designer.core.util.dnd.ClipboardManager.lostOwnership(ClipboardManager.java:127) at sun.awt.datatransfer.SunClipboard$2.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.Dialog$1.run(Unknown Source) at java.awt.Dialog$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Unknown Source) at java.awt.Component.show(Unknown Source) at java.awt.Component.setVisible(Unknown Source) at java.awt.Window.setVisible(Unknown Source) at java.awt.Dialog.setVisible(Unknown Source) at org.pentaho.reporting.libraries.designtime.swing.CommonDialog.setVisible(CommonDialog.java:280) at org.pentaho.reporting.libraries.designtime.swing.CommonDialog.performEdit(CommonDialog.java:193) at org.pentaho.reporting.designer.core.editor.crosstab.CreateCrosstabDialog.createCrosstab(CreateCrosstabDialog.java:513) at org.pentaho.reporting.designer.core.actions.elements.InsertCrosstabGroupAction.actionPerformed(InsertCrosstabGroupAction.java:225) at org.pentaho.reporting.designer.core.editor.report.elements.CrosstabReportElementDragHandler$CrosstabConfigureHandler.run(CrosstabReportElementDragHandler.java:207) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
    No Bugmate found.