Matlab Compiler not working properly (R2012b)

3 次查看(过去 30 天)
Hi!
I want to use the MATLAB Compiler, or the "deploytool", but when I do the window shows up half done and I get an error message that repeats itself as soon as I move the cursor or click anywhere. What could be wrong?
MATLAB Compiler Version 4.18
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.mathworks.project.impl.NewOrOpenDialog$TargetComboBoxRenderer.getListCellRendererComponent(NewOrOpenDialog.java:556)
at com.sun.java.swing.plaf.windows.WindowsComboBoxUI.paintCurrentValue(Unknown Source)
at javax.swing.plaf.basic.BasicComboBoxUI.paint(Unknown Source)
at com.sun.java.swing.plaf.windows.WindowsComboBoxUI.paint(Unknown Source)
at javax.swing.plaf.ComponentUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintToOffscreen(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.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.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

回答(1 个)

Sebastian
Sebastian 2014-8-1
编辑:Andreas Goser 2014-8-1
I made a service request on this and got an answer. Thank you for the fast and accurate response.
...
There is a bug in the way MATLAB opens the DEPLOYTOOL GUI.
One possible cause is that there is no available license for the MATLAB Compiler. Instead of showing a licensing error, the DEPLOYTOOL is crashing with some java exception due to a bug in R2012b which has been resolved in R2013a.
Please ensure that both (a) the MATLAB Compiler is included on your license, and (b) there is an available license for the MATLAB Compiler - i.e., that you are able to check out a license for the MATLAB Compiler.
If all this does not work, you should reinstall the MATLAB Compiler toolbox. You can easily follow the steps on this link: http://www.mathworks.co.uk/matlabcentral/answers/101885
I hope this soves the problem. In case it does not, please come back to me, I will be glad to help you further.
...
Sincerely,
MathWorks Technical Support Department

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by