Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Matlab Error Message

Asked by James

James (view profile)

on 9 Jul 2011


I have been running a simple video compression algorithm and after a few hours I got the below error message. Does anyone know what this is?

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at com.mathworks.mlwidgets.array.ValuePanel.cleanup( at com.mathworks.mde.array.ArrayEditor$DTCL.clientClosed( at com.mathworks.mwswing.desk.DTClient.close( at com.mathworks.mwswing.desk.DTCloseTransaction.close( at com.mathworks.mwswing.desk.DTGroup$GroupCloseTransaction.close( at com.mathworks.mwswing.desk.DTCloseTransaction.query( at com.mathworks.mwswing.desk.DTCloseTransaction.start( at com.mathworks.mwswing.desk.DTGroup$GroupCloseTransaction.start( at com.mathworks.mwswing.desk.DTGroup.attemptCloseDocked( at com.mathworks.mwswing.desk.DTGroup$CloseDocumentsAction.actionPerformed( at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at com.mathworks.mwswing.MJButton.processMouseEvent( at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(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 Source)


Oleg Komarov

Oleg Komarov (view profile)

on 11 Jul 2011

I second Sean.

Joseph Areeda

Joseph Areeda (view profile)

on 12 Oct 2012

While I'm very good at ignoring these, my users aren't.

Any idea how to hide these things?

Matt Fig

Matt Fig (view profile)

on 12 Oct 2012

Haha, glad I am not the only one who ignores the red screen of death.


James (view profile)



No products are associated with this question.

1 Answer

Answer by J

J (view profile)

on 5 Dec 2012

I have been getting these types of errors also and don't know why. I have a main outer loop that, essentially does the same sort of processing just on a slightly different dataset each time in the main loop. It will go without error for 6 - 15 iterations at a time and then suddenly spit out the same type of errors you show above. It hasn't killed/stopped the main loop from completing, but it's a bit troubling and I usually re-run the loops where the error occurred and/or double-check to make sure the processing looks like it worked properly on those. I'm using matlabpool 8 and fitting lots of functions to lots of data in the loop.



J (view profile)

Contact us