No way to plot - Java Exception

Simon Huber mail at hubersimon.de
Wed Jun 6 20:05:04 CEST 2012


Dear all,

there is no way to plot anymore so far.
It seems to be a Java problem.
I have tested all scilab versions and 32/64 bit possibilities although 
with java engine.
It doesnt work any more. I use Windows 7 64bit

What can I do????

I always get the same failure:


-->x=[2 5 8 9 6 3];y=2*x^2;plot(x,y)
Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: 
Error making context current: 0
     at 
com.sun.opengl.impl.windows.WindowsGLContext.makeCurrentImpl(WindowsGLContext.java:169)
     at 
com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:134)
     at 
com.sun.opengl.impl.windows.WindowsGLDrawableFactory$1.run(WindowsGLDrawableFactory.java:106)
     at 
com.sun.opengl.impl.windows.WindowsGLDrawableFactory.maybeDoSingleThreadedWorkaround(WindowsGLDrawableFactory.java:219)
     at 
com.sun.opengl.impl.windows.WindowsGLDrawableFactory.canCreateGLPbuffer(WindowsGLDrawableFactory.java:119)
     at javax.media.opengl.GLJPanel.initialize(GLJPanel.java:889)
     at javax.media.opengl.GLJPanel.paintComponent(GLJPanel.java:488)
     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)
java.lang.reflect.InvocationTargetException
     at java.awt.EventQueue.invokeAndWait(Unknown Source)
     at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
     at org.scilab.modules.gui.bridge.tab.SwingScilabTab.draw(Unknown 
Source)
     at org.scilab.modules.gui.tab.ScilabTabBridge.draw(Unknown Source)
     at org.scilab.modules.gui.bridge.ScilabBridge.draw(Unknown Source)
     at org.scilab.modules.gui.tab.ScilabTab.draw(Unknown Source)
     at 
org.scilab.modules.gui.graphicWindow.ScilabRendererProperties.forceDisplay(Unknown 
Source)
     at 
org.scilab.modules.renderer.figureDrawing.DrawableFigureGL.drawCanvas(Unknown 
Source)
Caused by: javax.media.opengl.GLException: Error making context current: 0
     at 
com.sun.opengl.impl.windows.WindowsGLContext.makeCurrentImpl(WindowsGLContext.java:169)
     at 
com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:134)
     at 
com.sun.opengl.impl.windows.WindowsGLDrawableFactory$1.run(WindowsGLDrawableFactory.java:106)
     at 
com.sun.opengl.impl.windows.WindowsGLDrawableFactory.maybeDoSingleThreadedWorkaround(WindowsGLDrawableFactory.java:219)
     at 
com.sun.opengl.impl.windows.WindowsGLDrawableFactory.canCreateGLPbuffer(WindowsGLDrawableFactory.java:119)
     at javax.media.opengl.GLJPanel.initialize(GLJPanel.java:889)
     at javax.media.opengl.GLJPanel.paintComponent(GLJPanel.java:488)
     at javax.swing.JComponent.paint(Unknown Source)
     at javax.swing.JComponent.paintChildren(Unknown Source)
     at javax.swing.JComponent.paint(Unknown Source)
     at javax.swing.JLayeredPane.paint(Unknown Source)
     at org.scilab.modules.gui.bridge.tab.SwingScilabAxes.paint(Unknown 
Source)
     at javax.swing.JComponent.paintChildren(Unknown Source)
     at javax.swing.JComponent.paint(Unknown Source)
     at javax.swing.JViewport.paint(Unknown Source)
     at javax.swing.JComponent.paintChildren(Unknown Source)
     at javax.swing.JComponent.paint(Unknown Source)
     at javax.swing.JComponent.paintChildren(Unknown Source)
     at 
org.scilab.modules.gui.bridge.tab.SwingScilabTab.paintChildren(Unknown 
Source)
     at javax.swing.JComponent.paint(Unknown Source)
     at javax.swing.JComponent.paintChildren(Unknown Source)
     at javax.swing.JComponent.paint(Unknown Source)
     at 
org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPort.java:1976)
     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 
org.scilab.modules.gui.bridge.tab.SwingScilabTab.paintImmediately(Unknown Source)
     at org.scilab.modules.gui.bridge.tab.SwingScilabTab$1.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)




More information about the users mailing list