burhanrashid52 / PhotoEditor

A Photo Editor library with simple, easy support for image editing using paints,text,filters,emoji and Sticker like stories.
MIT License
4.18k stars 993 forks source link

Filter throws Exception #210

Open akwatson opened 4 years ago

akwatson commented 4 years ago

The photo editor throws this exception and is highly repeatable

Fatal Exception: java.lang.RuntimeException: Could not compile and link shader! at android.filterfw.core.ShaderProgram.(ShaderProgram.java:58) at android.filterpacks.imageproc.BrightnessFilter.getShaderProgram(BrightnessFilter.java:51) at android.filterpacks.imageproc.SimpleImageFilter.updateProgramWithTarget(SimpleImageFilter.java:92) at android.filterpacks.imageproc.SimpleImageFilter.process(SimpleImageFilter.java:72) at android.filterfw.core.Filter.performProcess(Filter.java:473) at android.filterfw.core.FilterFunction.execute(FilterFunction.java:80) at android.filterfw.core.FilterFunction.executeWithArgList(FilterFunction.java:97) at android.media.effect.SingleFilterEffect.apply(SingleFilterEffect.java:73) at ja.burhanrashid52.photoeditor.ImageFilterView.applyEffect(ImageFilterView.java:263) at ja.burhanrashid52.photoeditor.ImageFilterView.onDrawFrame(ImageFilterView.java:100) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1571) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1270)

Here is one device that it occurs on; Screenshot_20191211-143232

NahlaSaadAlDeen commented 2 years ago

@akwatson is there any solution for this problem,please?