java.lang.ClassCastException: [D cannot be cast to [Z at com.mathworks.mlwidgets.array.ValuePanel$ROML.matlabEvent(ValuePanel.java:251)

GitHub | Ionhihir | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 47#241341841

    GitHub | 6 months ago | Ionhihir
    java.lang.ClassCastException: [D cannot be cast to [Z at com.mathworks.mlwidgets.array.ValuePanel$ROML.matlabEvent(ValuePanel.java:251)

    Root Cause Analysis

    1. java.lang.ClassCastException

      [D cannot be cast to [Z at com.mathworks.mlwidgets.array.ValuePanel$ROML.matlabEvent(ValuePanel.java:251)

      at com.mathworks.jmi.MatlabMCR$AWTReplyEvent.run()
    2. com.mathworks.jmi
      MatlabMCR$AWTReplyEvent.run
      1. com.mathworks.jmi.MatlabMCR$AWTReplyEvent.run(MatlabMCR.java:1636)
      1 frame
    3. Java RT
      Dialog.show
      1. java.awt.event.InvocationEvent.dispatch(Unknown Source)
      2. java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      3. java.awt.EventQueue.access$200(Unknown Source)
      4. java.awt.EventQueue$3.run(Unknown Source)
      5. java.awt.EventQueue$3.run(Unknown Source)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      8. java.awt.EventQueue.dispatchEvent(Unknown Source)
      9. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      10. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      11. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      12. java.awt.WaitDispatchSupport$2.run(Unknown Source)
      13. java.awt.WaitDispatchSupport$4.run(Unknown Source)
      14. java.security.AccessController.doPrivileged(Native Method)
      15. java.awt.WaitDispatchSupport.enter(Unknown Source)
      16. java.awt.Dialog.show(Unknown Source)
      16 frames
    4. com.mathworks.mwswing
      MJDialog.show
      1. com.mathworks.mwswing.MJDialog.show(MJDialog.java:311)
      1 frame
    5. Java RT
      Dialog.setVisible
      1. java.awt.Component.show(Unknown Source)
      2. java.awt.Component.setVisible(Unknown Source)
      3. java.awt.Window.setVisible(Unknown Source)
      4. java.awt.Dialog.setVisible(Unknown Source)
      4 frames
    6. com.mathworks.mwswing
      MJOptionPane.showMessageDialog
      1. com.mathworks.mwswing.MJOptionPane.showOptionDialog(MJOptionPane.java:539)
      2. com.mathworks.mwswing.MJOptionPane.showMessageDialog(MJOptionPane.java:435)
      3. com.mathworks.mwswing.MJOptionPane.showMessageDialog(MJOptionPane.java:425)
      3 frames
    7. com.mathworks.mlwidgets
      ArrayDialog$1.run
      1. com.mathworks.mlwidgets.array.ArrayDialog$1.run(ArrayDialog.java:49)
      1 frame
    8. Java RT
      EventDispatchThread.run
      1. java.awt.event.InvocationEvent.dispatch(Unknown Source)
      2. java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      3. java.awt.EventQueue.access$200(Unknown Source)
      4. java.awt.EventQueue$3.run(Unknown Source)
      5. java.awt.EventQueue$3.run(Unknown Source)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      8. java.awt.EventQueue.dispatchEvent(Unknown Source)
      9. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      10. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      11. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      12. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      13. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      14. java.awt.EventDispatchThread.run(Unknown Source)
      14 frames