Which version of GlassFish are you using?
The line number below indicates that an older version of GlassFish is used.
Can you update your GlassFish?
If the problem still persists, then can you share a small simple web
application to illustrate the problem?