Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8110958

NPE during OGL ES2 intialization on Windows

    XMLWordPrintable

    Details

      Description

      The NPE thrown during initialization on windows with prism.order=es2

      WindowsWGLContext.getWGLExtProcAddressTable() returns 0 while its caller WGLExtImpl.wglGetExtensionsStringEXT assumes it is always initialized.

      Caused by: java.lang.NullPointerException
      at com.sun.prism.opengl.impl.windows.wgl.WGLExtImpl.wglGetExtensionsStringEXT(WGLExtImpl.java:448)
      at com.sun.prism.opengl.impl.windows.wgl.WindowsWGLContext.getPlatformExtensionsString(WindowsWGLContext.java:344)
      at com.sun.prism.opengl.impl.ExtensionAvailabilityCache.initAvailableExtensions(ExtensionAvailabilityCache.java:146)
      at com.sun.prism.opengl.impl.ExtensionAvailabilityCache.isExtensionAvailable(ExtensionAvailabilityCache.java:90)
      at com.sun.prism.opengl.impl.GLContextImpl.isExtensionAvailable(GLContextImpl.java:467)
      at com.sun.prism.opengl.impl.windows.wgl.WindowsWGLContext.create(WindowsWGLContext.java:175)
      at com.sun.prism.opengl.impl.windows.wgl.WindowsWGLContext.makeCurrentImpl(WindowsWGLContext.java:251)
      at com.sun.prism.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:150)
      at com.sun.prism.opengl.impl.windows.wgl.WindowsWGLDrawableFactory$2.run(WindowsWGLDrawableFactory.java:132)
      at com.sun.prism.opengl.impl.GLWorkerThread$WorkerRunnable.run(GLWorkerThread.java:243)
      at java.lang.Thread.run(Thread.java:662)

      ES2Pipeline.isSupported factory.shutdown() took 0 ms [0.0 sec]
      GraphicsPipeline.createPipeline: error initializing pipeline com.sun.prism.es2.ES2Pipeline

      Full log with jogl.verbose=true and jogl.debug=true is attached

        Attachments

        1. gl.info
          5 kB
        2. log
          30 kB

          Activity

            People

            Assignee:
            dcherepanov Dmitry Cherepanov
            Reporter:
            kprazdnikwse Kirill.Prazdnikov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: