Prev: stream video
Next: Image Analysis
From: Scott on 23 Jun 2010 17:28 I'm pretty sure this is some kind of environment problem, but I'm not sure where to look. I'm currently using Matlab R2007a on a Red Hat Linux system first with Java 1.5, and now Java 1.6. I can create a plot, but when I click on the icon for Show Plot Tools and Dock Figure, the Plot Tools window comes up, and the elements of the plot show up in the Plot Browser list, but the plot itself doesn't appear. It happens even with as simple a plot as plot((1:10), (1:10)). Sometimes if I click in the plot area of the Plot Browser I will see a Java exception stack appear in the Matlab window about a null pointer such as the following: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at com.mathworks.mwswing.desk.DTDocumentContainer.setSelected(DTDocumentContainer.java:1195) at com.mathworks.mwswing.desk.DTDocumentContainer.setSelected(DTDocumentContainer.java:1164) at com.mathworks.mwswing.desk.DTGroup.setSelected(DTGroup.java:777) at com.mathworks.mwswing.desk.DTSelectionManager.eventDispatched(DTSelectionManager.java:270) at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Unknown Source) at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source) at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source) at java.awt.Toolkit.notifyAWTEventListeners(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.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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) I also have access to version R2008b (though it is not the system default version), and if I do the same thing I might see Java exception like Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: adding a container to a container on a different GraphicsDevice at java.awt.Component.checkGD(Unknown Source) at java.awt.Container.checkGD(Unknown Source) at java.awt.Container.checkGD(Unknown Source) at java.awt.Container.checkGD(Unknown Source) at java.awt.Container.checkGD(Unknown Source) at java.awt.Container.checkGD(Unknown Source) at java.awt.Container.checkGD(Unknown Source) at java.awt.Container.checkGD(Unknown Source) at java.awt.Container.checkGD(Unknown Source) at java.awt.Container.checkGD(Unknown Source) at java.awt.Container.checkGD(Unknown Source) at java.awt.Container.checkGD(Unknown Source) at java.awt.Container.checkGD(Unknown Source) at java.awt.Container.addImpl(Unknown Source) at java.awt.Container.add(Unknown Source) at com.mathworks.mwswing.desk.DTGroupFrame.addSingletonContainers(DTGroupFrame.java:361) at com.mathworks.mwswing.desk.DTGroupFrame.restoreState(DTGroupFrame.java:96) at com.mathworks.mwswing.desk.DTGroup.restoreSingletons(DTGroup.java:1463) at com.mathworks.mwswing.desk.Desktop$DeferredCall.run(Desktop.java:7561) 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) I've tried running Matlab on at least one other machine in our lab, and the Plot Browser there worked normally. It was working on my machine as recently as a week or two ago I think, but I noticed it had just recently started having this problem. I thought it was just a random transient issue, but it happens every time now. I haven't made any recent software or environment changes, and our System Administrator wasn't aware of any recent changes. I'm not sure how to fix this or debug it further.
|
Pages: 1 Prev: stream video Next: Image Analysis |