java.lang.IllegalStateException: cannot open system clipboard

Pentaho BI Platform Tracking | Li Deng | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    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)

    Pentaho BI Platform Tracking | 4 years ago | Li Deng
    java.lang.IllegalStateException: cannot open system clipboard
  2. 0

    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)

    Pentaho BI Platform Tracking | 4 years ago | Li Deng
    java.lang.IllegalStateException: cannot open system clipboard
  3. 0

    Cannot open system clipboard exception thrown on setCaretPosition

    Stack Overflow | 3 years ago | live_for_this
    java.lang.IllegalStateException: cannot open system clipboard
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception on copy smth from the system

    GitHub | 7 months ago | Chris2011
    java.lang.IllegalStateException: cannot open system clipboard
  6. 0

    GitHub comment 5#267979296

    GitHub | 2 months ago | Chris2011
    java.lang.IllegalStateException: cannot open system clipboard

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      cannot open system clipboard

      at sun.awt.windows.WClipboard.openClipboard()
    2. Java RT
      SunClipboard.isDataFlavorAvailable
      1. sun.awt.windows.WClipboard.openClipboard(Native Method)
      2. sun.awt.datatransfer.SunClipboard.getClipboardFormatsOpenClose(Unknown Source)
      3. sun.awt.datatransfer.SunClipboard.isDataFlavorAvailable(Unknown Source)
      3 frames
    3. org.pentaho.reporting
      ClipboardManager.lostOwnership
      1. org.pentaho.reporting.designer.core.util.dnd.ClipboardManager.isDataAvailable(ClipboardManager.java:147)
      2. org.pentaho.reporting.designer.core.actions.global.PasteAction.stateChanged(PasteAction.java:390)
      3. org.pentaho.reporting.designer.core.util.dnd.ClipboardManager.fireContentsChanged(ClipboardManager.java:139)
      4. org.pentaho.reporting.designer.core.util.dnd.ClipboardManager.lostOwnership(ClipboardManager.java:127)
      4 frames
    4. Java RT
      Dialog.setVisible
      1. sun.awt.datatransfer.SunClipboard$2.run(Unknown Source)
      2. java.awt.event.InvocationEvent.dispatch(Unknown Source)
      3. java.awt.EventQueue.dispatchEvent(Unknown Source)
      4. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      5. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      6. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      7. java.awt.Dialog$1.run(Unknown Source)
      8. java.awt.Dialog$3.run(Unknown Source)
      9. java.security.AccessController.doPrivileged(Native Method)
      10. java.awt.Dialog.show(Unknown Source)
      11. java.awt.Component.show(Unknown Source)
      12. java.awt.Component.setVisible(Unknown Source)
      13. java.awt.Window.setVisible(Unknown Source)
      14. java.awt.Dialog.setVisible(Unknown Source)
      14 frames
    5. org.pentaho.reporting
      CrosstabReportElementDragHandler$CrosstabConfigureHandler.run
      1. org.pentaho.reporting.libraries.designtime.swing.CommonDialog.setVisible(CommonDialog.java:280)
      2. org.pentaho.reporting.libraries.designtime.swing.CommonDialog.performEdit(CommonDialog.java:193)
      3. org.pentaho.reporting.designer.core.editor.crosstab.CreateCrosstabDialog.createCrosstab(CreateCrosstabDialog.java:513)
      4. org.pentaho.reporting.designer.core.actions.elements.InsertCrosstabGroupAction.actionPerformed(InsertCrosstabGroupAction.java:225)
      5. org.pentaho.reporting.designer.core.editor.report.elements.CrosstabReportElementDragHandler$CrosstabConfigureHandler.run(CrosstabReportElementDragHandler.java:207)
      5 frames
    6. Java RT
      EventDispatchThread.run
      1. java.awt.event.InvocationEvent.dispatch(Unknown Source)
      2. java.awt.EventQueue.dispatchEvent(Unknown Source)
      3. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      4. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      5. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      6. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      7. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      8. java.awt.EventDispatchThread.run(Unknown Source)
      8 frames