Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Failed to execute 'getProgramParameter' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgram'. #157

Open
andrewvarga opened this issue Mar 23, 2017 · 1 comment

Comments

@andrewvarga
Copy link

Recently I'm getting this error when trying to inspect a webgl app:

Uncaught TypeError: Failed to execute 'getProgramParameter' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgram'.
at StateSnapshot.apply (:2671:17)
at Frame.makeActive (:3105:27)
at RedundancyChecker.run (:6406:15)
at Function.RedundancyChecker.checkFrame (:6455:23)
at TraceView.setFrame (:9864:38)
at Tab. (:9428:28)
at EventSource.fire (:873:35)
at LeftListing.selectValue (:7329:28)
at Window.appendFrame (:7130:21)
at CaptureContext.captureCallback (:3166:28)

In this case "program" is null:
if (!gl.getProgramParameter(program, gl.LINK_STATUS)) {
gl.linkProgram(program);
}

Interestingly I only see this for some of my projects (I can provide source or link)

@Micha0
Copy link

Micha0 commented May 17, 2017

probably a duplicate of #159? Have you tried removing all calls to gl.getExtension?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants