Skip to content

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

@andrewvarga

Description

@andrewvarga

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions