首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Exception >

java.lang.IllegalStateException: Function is not supported?有没有人遇到这种异常?

2014-01-26 
异常如下:java.lang.IllegalStateException: Function is not supportedat org.lwjgl.BufferChecks.checkFu

异常如下:
  java.lang.IllegalStateException: Function is not supported
  at org.lwjgl.BufferChecks.checkFunctionAddress(BufferChecks.java:66)
  at org.lwjgl.opengl.GL14.glBlendColor(GL14.java:63)
  at cn.edu.zju.AnoleGrid.RenderEngine.RenderEngine.init_opengl(RenderEngine.java:165)
  at cn.edu.zju.AnoleGrid.RenderEngine.RenderEngine.initRenderEngine(RenderEngine.java:70)
  at cn.edu.zju.AnoleGrid.Views.trying.testNewWay.initRenderEnviroment(testNewWay.java:105)
  at cn.edu.zju.AnoleGrid.Views.trying.testNewWay.<init>(testNewWay.java:76)
  at cn.edu.zju.AnoleGrid.Views.LWJGLView.createPartControl(LWJGLView.java:22)
  at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:332)
  at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:197)
  at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
  at org.eclipse.ui.internal.WorkbenchPage$ActivationList.setActive(WorkbenchPage.java:3842)
  at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2871)
  at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1932)
  at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2857)
  at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2805)
  at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1681)
  at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1421)
  at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1679)
  at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1650)
  at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1529)
  at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
  at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1473)
  at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)
  at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:702)
  at org.eclipse.ui.internal.Workbench.init(Workbench.java:1085)
  at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1847)
  at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
  at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
  at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
  at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
  at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
  at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:169)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
  at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
  at org.eclipse.core.launcher.Main.run(Main.java:977)
  at org.eclipse.core.launcher.Main.main(Main.java:952)
  这该怎么办呢?我用lwjgl做的演示,可是3D界面总是出不来,有没有高人指点一下?
 

------解决方法--------------------------------------------------------
关注中!我也出现了同样的问题,有人说是显卡不支持,但是我换了TNT2和Geforce2MX/MX400都不行,而且还出现在另外的方法中:
  java.lang.IllegalStateException: Function is not supported
  at org.lwjgl.BufferChecks.checkFunctionAddress(BufferChecks.java:67)
  at org.lwjgl.opengl.ARBPointParameters.glPointParameterARB(ARBPointParameters.java:2         

热点排行