MATLAB Answers

Owen
0

Bugs with Mac OSX 10.6.7

Asked by Owen
on 28 Mar 2011
I updated to Mac OS 10.6.7 this evening and immediately began to have very serious bugs with MATLAB. MATLAB can start, but then begins to show some strange bugs.
1) Typing commands in the command window does not produce any visible text, however they can still be entered and executed. Commands are invisible before and after return is pressed, as well as invisible to highlighting after typing but before execution. An exception to this invisibility occurs with at least the characters ~!@#$%^&*(), which will appear below the >> sign beginning each new line in the command window. Typing a % allows the user to enter any characters which will appear as a string of commented characters.
2) In the editor text is not readily visible beyond the first line of the open .m file. When I attempt to scroll a large error message appears in the command window which I will post in its entirety below. At it's most basic the message is complaining of a java Negative Array Size exception.
Java appears to be functioning after the update in basic tests in Dr. Java and the terminal (Mac's command window) itself.
I can try to provide more specific information if it would be helpful.
Also for anyone with similar errors I will post a link here to the thread on mac forums
Exception in thread "AWT-EventQueue-0" java.lang.NegativeArraySizeException at org.netbeans.editor.DrawGraphics$GraphicsDG.flush(DrawGraphics.java:655) at org.netbeans.editor.DrawGraphics$GraphicsDG.flush(DrawGraphics.java:522) at org.netbeans.editor.DrawGraphics$GraphicsDG.setBuffer(DrawGraphics.java:756) at org.netbeans.editor.DrawEngine.draw(DrawEngine.java:1116) at org.netbeans.editor.DrawEngineLineView.paint(DrawEngineLineView.java:233) at org.netbeans.lib.editor.view.GapBoxViewChildren.paintChildren(GapBoxViewChildren.java:783) at org.netbeans.lib.editor.view.GapBoxView.paint(GapBoxView.java:1463) at org.netbeans.lib.editor.view.GapDocumentView.paint(GapDocumentView.java:231) at org.netbeans.editor.DrawEngineDocView.paint(DrawEngineDocView.java:314) at org.netbeans.editor.view.spi.LockView.paint(LockView.java:363) at javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:1423) at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:723) at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:870) at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:849) at javax.swing.JComponent.paintComponent(JComponent.java:752) at javax.swing.JComponent.paint(JComponent.java:1029) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5146) at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1515) at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1446) at javax.swing.RepaintManager.paint(RepaintManager.java:1260) at javax.swing.JComponent.paintForceDoubleBuffered(JComponent.java:1065) at javax.swing.JViewport.blitDoubleBuffered(JViewport.java:1612) at javax.swing.JViewport.windowBlitPaint(JViewport.java:1573) at javax.swing.JViewport.setViewPosition(JViewport.java:1118) at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.vsbStateChanged(BasicScrollPaneUI.java:1029) at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(BasicScrollPaneUI.java:1018) at javax.swing.DefaultBoundedRangeModel.fireStateChanged(DefaultBoundedRangeModel.java:348) at javax.swing.DefaultBoundedRangeModel.setRangeProperties(DefaultBoundedRangeModel.java:285) at javax.swing.DefaultBoundedRangeModel.setValue(DefaultBoundedRangeModel.java:151) at javax.swing.JScrollBar.setValue(JScrollBar.java:446) at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.mouseWheelMoved(BasicScrollPaneUI.java:964) at javax.swing.plaf.basic.BasicScrollPaneUI$MouseWheelHandler.mouseWheelMoved(BasicScrollPaneUI.java:525) at com.apple.laf.AquaScrollPaneUI$XYMouseWheelHandler.mouseWheelMoved(AquaScrollPaneUI.java:38) at java.awt.Component.processMouseWheelEvent(Component.java:6462) at java.awt.Component.processEvent(Component.java:6146) at java.awt.Container.processEvent(Container.java:2085) at java.awt.Component.dispatchEventImpl(Component.java:4736) at java.awt.Container.dispatchEventToSelf(Container.java:2167) at java.awt.Component.dispatchMouseWheelToAncestor(Component.java:4886) at java.awt.Component.dispatchEventImpl(Component.java:4622) at java.awt.Container.dispatchEventImpl(Container.java:2143) at java.awt.Component.dispatchEvent(Component.java:4566) at com.mathworks.mde.editor.codepad.Codepad$2.mouseWheelMoved(Codepad.java:209) at java.awt.Component.processMouseWheelEvent(Component.java:6462) at java.awt.Component.processEvent(Component.java:6146) at java.awt.Container.processEvent(Container.java:2085) at java.awt.Component.dispatchEventImpl(Component.java:4736) at java.awt.Container.dispatchEventImpl(Container.java:2143) at java.awt.Component.dispatchEvent(Component.java:4566) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4621) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4311) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212) at java.awt.Container.dispatchEventImpl(Container.java:2129) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4566) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:680) at java.awt.EventQueue.access$000(EventQueue.java:86) at java.awt.EventQueue$1.run(EventQueue.java:639) at java.awt.EventQueue$1.run(EventQueue.java:637) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98) at java.awt.EventQueue$2.run(EventQueue.java:653) at java.awt.EventQueue$2.run(EventQueue.java:651) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:650) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Exception in thread "AWT-EventQueue-0" java.lang.NegativeArraySizeException at org.netbeans.editor.DrawGraphics$GraphicsDG.flush(DrawGraphics.java:655) at org.netbeans.editor.DrawGraphics$GraphicsDG.flush(DrawGraphics.java:522) at org.netbeans.editor.DrawGraphics$GraphicsDG.setBuffer(DrawGraphics.java:756) at org.netbeans.editor.DrawEngine.draw(DrawEngine.java:1116) at org.netbeans.editor.DrawEngineLineView.paint(DrawEngineLineView.java:233) at org.netbeans.lib.editor.view.GapBoxViewChildren.paintChildren(GapBoxViewChildren.java:783) at org.netbeans.lib.editor.view.GapBoxView.paint(GapBoxView.java:1463) at org.netbeans.lib.editor.view.GapDocumentView.paint(GapDocumentView.java:231) at org.netbeans.editor.DrawEngineDocView.paint(DrawEngineDocView.java:314) at org.netbeans.editor.view.spi.LockView.paint(LockView.java:363) at javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:1423) at javax.swing.plaf.basic.BasicTextUI.paintSafely(BasicTextUI.java:723) at javax.swing.plaf.basic.BasicTextUI.paint(BasicTextUI.java:870) at javax.swing.plaf.basic.BasicTextUI.update(BasicTextUI.java:849) at javax.swing.JComponent.paintComponent(JComponent.java:752) at javax.swing.JComponent.paint(JComponent.java:1029) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5146) at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1515) at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1446) at javax.swing.RepaintManager.paint(RepaintManager.java:1260) at javax.swing.JComponent.paintForceDoubleBuffered(JComponent.java:1065) at javax.swing.JViewport.blitDoubleBuffered(JViewport.java:1612) at javax.swing.JViewport.windowBlitPaint(JViewport.java:1573) at javax.swing.JViewport.setViewPosition(JViewport.java:1118) at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.vsbStateChanged(BasicScrollPaneUI.java:1029) at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(BasicScrollPaneUI.java:1018) at javax.swing.DefaultBoundedRangeModel.fireStateChanged(DefaultBoundedRangeModel.java:348) at javax.swing.DefaultBoundedRangeModel.setRangeProperties(DefaultBoundedRangeModel.java:285) at javax.swing.DefaultBoundedRangeModel.setValue(DefaultBoundedRangeModel.java:151) at javax.swing.JScrollBar.setValue(JScrollBar.java:446) at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.mouseWheelMoved(BasicScrollPaneUI.java:964) at javax.swing.plaf.basic.BasicScrollPaneUI$MouseWheelHandler.mouseWheelMoved(BasicScrollPaneUI.java:525) at com.apple.laf.AquaScrollPaneUI$XYMouseWheelHandler.mouseWheelMoved(AquaScrollPaneUI.java:38) at java.awt.Component.processMouseWheelEvent(Component.java:6462) at java.awt.Component.processEvent(Component.java:6146) at java.awt.Container.processEvent(Container.java:2085) at java.awt.Component.dispatchEventImpl(Component.java:4736) at java.awt.Container.dispatchEventToSelf(Container.java:2167) at java.awt.Component.dispatchMouseWheelToAncestor(Component.java:4886) at java.awt.Component.dispatchEventImpl(Component.java:4622) at java.awt.Container.dispatchEventImpl(Container.java:2143) at java.awt.Component.dispatchEvent(Component.java:4566) at com.mathworks.mde.editor.codepad.Codepad$2.mouseWheelMoved(Codepad.java:209) at java.awt.Component.processMouseWheelEvent(Component.java:6462) at java.awt.Component.processEvent(Component.java:6146) at java.awt.Container.processEvent(Container.java:2085) at java.awt.Component.dispatchEventImpl(Component.java:4736) at java.awt.Container.dispatchEventImpl(Container.java:2143) at java.awt.Component.dispatchEvent(Component.java:4566) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4621) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4311) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212) at java.awt.Container.dispatchEventImpl(Container.java:2129) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4566) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:680) at java.awt.EventQueue.access$000(EventQueue.java:86) at java.awt.EventQueue$1.run(EventQueue.java:639) at java.awt.EventQueue$1.run(EventQueue.java:637) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98) at java.awt.EventQueue$2.run(EventQueue.java:653) at java.awt.EventQueue$2.run(EventQueue.java:651) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:650) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) >>

  0 Comments

Sign in to comment.

2 Answers

Ian
Answer by Ian
on 28 Mar 2011

Can't confirm here, 10.6.7 and Matlab 2010a or 2011a pre-release both work identically to 10.6.6. Both on a Macbook Pro and a Mac Pro.
You should probably be contacting Mathworks support...

  0 Comments

Sign in to comment.


Answer by Brian Arnold on 17 May 2011

For display issues with fonts in the Mac OS X 10.6.7 update, please install this font update from Apple:

  0 Comments

Sign in to comment.