Cannot editing plots in matlab

6 views (last 30 days)
Chunling
Chunling on 25 Nov 2011
Hello, i can't edit plots in matlab, every time I try to double click the plot to edit, the errors appear in the command window like this: I am using dual monitors, even I tried to disable one, the same problem also happens on one monitor.
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.mathworks.mwswing.desk.DTMaximizedPane.show(DTMaximizedPane.java:214)
at com.mathworks.mwswing.desk.DTMaximizedPane.remove(DTMaximizedPane.java:85)
at com.mathworks.mwswing.desk.DTDocumentContainer.remove(DTDocumentContainer.java:427)
at com.mathworks.mwswing.desk.DTGroupFrame.remove(DTGroupFrame.java:235)
at com.mathworks.mwswing.desk.DTMultipleClientFrame.removeClient(DTMultipleClientFrame.java:428)
at com.mathworks.mwswing.desk.Desktop.setClientShowing(Desktop.java:6190)
at com.mathworks.mwswing.desk.Desktop.setClientShowing(Desktop.java:5913)
at com.mathworks.mwswing.desk.Desktop.removeClient(Desktop.java:5869)
at com.mathworks.mwswing.desk.DTClient.close(DTClient.java:843)
at com.mathworks.mwswing.desk.DTCloseTransaction.close(DTCloseTransaction.java:124)
at com.mathworks.mwswing.desk.DTGroup$GroupCloseTransaction.close(DTGroup.java:1130)
at com.mathworks.mwswing.desk.DTCloseTransaction.query(DTCloseTransaction.java:97)
at com.mathworks.mwswing.desk.DTCloseTransaction.start(DTCloseTransaction.java:65)
at com.mathworks.mwswing.desk.DTGroup$GroupCloseTransaction.start(DTGroup.java:1118)
at com.mathworks.mwswing.desk.DTMultipleClientFrame.attemptClose(DTMultipleClientFrame.java:1883)
at com.mathworks.mwswing.desk.DTMultipleClientFrame$LocalWindowListener.windowClosing(DTMultipleClientFrame.java:2552)
at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at com.mathworks.mwswing.MJFrame.processWindowEvent(MJFrame.java:837)
at java.awt.Window.processEvent(Unknown Source)
at com.mathworks.mwswing.MJFrame.processEvent(MJFrame.java:433)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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)

Answers (2)

Muruganandham Subramanian
Muruganandham Subramanian on 25 Nov 2011
Hi chunling,
In ur Matlab command window type, help plot..
  2 Comments
Daniel Shub
Daniel Shub on 25 Nov 2011
What in the help for plot do you think will be useful for tracking down a java exception?
karan
karan on 25 Nov 2011
lol....@daniel

Sign in to comment.


David
David on 29 Mar 2012
Any progress on resolving this issue? I have almost the exact same problem when I try and close the 'fvtool' (Filter Visualization Tool) window (which is essentially a plot window). I'm using R2007b on Ubuntu x86_64 10.04.3.

Categories

Find more on Performance and Memory in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!