Gitlab Community Edition Instance

Skip to content

Bug: Images

Bugs

Description

Images are not shown in the viewer because of an underlying API problem (c.f. below).

I expected the following to happen

The API should have worked.

On the contrary, I observed

HTTP ERROR 500 javax.servlet.ServletException: javax.servlet.ServletException: An error occurred while processing request to /exist/restxq/images/3r19d/49.82,0.00,49.41,101.72: exerr:ERROR FORG0001: Invalid base64 data [at line 221, column 29, source: /db/apps/ahikar/modules/tapi.xqm] In function: xs:base64Binary(item()) [-1:-1:/db/apps/ahikar/modules/tapi.xqm] tapi:endpoint-image(xs:string, xs:string) [-1:-1:/db/apps/ahikar/modules/tapi.xqm]

URI: /exist/restxq/images/3r19d/49.82,0.00,49.41,101.72

STATUS: 500

MESSAGE: javax.servlet.ServletException: javax.servlet.ServletException: An error occurred while processing request to /exist/restxq/images/3r19d/49.82,0.00,49.41,101.72: exerr:ERROR FORG0001: Invalid base64 data [at line 221, column 29, source: /db/apps/ahikar/modules/tapi.xqm] In function: xs:base64Binary(item()) [-1:-1:/db/apps/ahikar/modules/tapi.xqm] tapi:endpoint-image(xs:string, xs:string) [-1:-1:/db/apps/ahikar/modules/tapi.xqm]

SERVLET: XQueryURLRewrite

CAUSED BY: javax.servlet.ServletException: javax.servlet.ServletException: An error occurred while processing request to /exist/restxq/images/3r19d/49.82,0.00,49.41,101.72: exerr:ERROR FORG0001: Invalid base64 data [at line 221, column 29, source: /db/apps/ahikar/modules/tapi.xqm] In function: xs:base64Binary(item()) [-1:-1:/db/apps/ahikar/modules/tapi.xqm] tapi:endpoint-image(xs:string, xs:string) [-1:-1:/db/apps/ahikar/modules/tapi.xqm]

CAUSED BY: javax.servlet.ServletException: An error occurred while processing request to /exist/restxq/images/3r19d/49.82,0.00,49.41,101.72: exerr:ERROR FORG0001: Invalid base64 data [at line 221, column 29, source: /db/apps/ahikar/modules/tapi.xqm] In function: xs:base64Binary(item()) [-1:-1:/db/apps/ahikar/modules/tapi.xqm] tapi:endpoint-image(xs:string, xs:string) [-1:-1:/db/apps/ahikar/modules/tapi.xqm]

CAUSED BY: javax.servlet.ServletException: exerr:ERROR FORG0001: Invalid base64 data [at line 221, column 29, source: /db/apps/ahikar/modules/tapi.xqm] In function: xs:base64Binary(item()) [-1:-1:/db/apps/ahikar/modules/tapi.xqm] tapi:endpoint-image(xs:string, xs:string) [-1:-1:/db/apps/ahikar/modules/tapi.xqm]

CAUSED BY: org.exquery.restxq.RestXqServiceException: exerr:ERROR FORG0001: Invalid base64 data [at line 221, column 29, source: /db/apps/ahikar/modules/tapi.xqm] In function: xs:base64Binary(item()) [-1:-1:/db/apps/ahikar/modules/tapi.xqm] tapi:endpoint-image(xs:string, xs:string) [-1:-1:/db/apps/ahikar/modules/tapi.xqm]

CAUSED BY: org.exist.xquery.XPathException: exerr:ERROR FORG0001: Invalid base64 data [at line 221, column 29, source: /db/apps/ahikar/modules/tapi.xqm] In function: xs:base64Binary(item()) [-1:-1:/db/apps/ahikar/modules/tapi.xqm] tapi:endpoint-image(xs:string, xs:string) [-1:-1:/db/apps/ahikar/modules/tapi.xqm]

Severity

How much impact does this bug have on the product or further development?

  • Critical

Program and – if applicable – dependency version

v2.5.0

/cc Mathias Göbel, Frank Schneider, Michelle Weidling

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information