You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure what the pattern is, but the browser shows just a whitelabel 500 error or if using curl
{"timestamp":"2023-10-27T15:38:02.929+00:00","status":500,"error":"Internal Server Error","message":"An exception has occurred","path":"/repository/api/core/bitstreams/handle/11234/1-3185/PDT-C-1.0.zip"}
the backend log shows:
2023-10-27 17:27:07,244 ERROR unknown d721871a-b70f-4670-aa88-84cd4d9cca47 org.dspace.app.rest.exception.DSpaceApiExceptionControllerAdvice @ An exception has occurred (status:500)
java.lang.RuntimeException: java.lang.RuntimeException: Bitstream Extensions cannot be empty for downloading/previewing bitstreams.
at org.dspace.app.rest.MetadataBitstreamController.downloadSingleFile(MetadataBitstreamController.java:143) ~[classes/:7.5]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) ~[spring-web-5.3.20.jar:5.3.20]
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) ~[spring-web-5.3.20.jar:5.3.20]
2023-10-27 17:29:55,330 DEBUG unknown unknown org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping @ Mapped to org.dspace.app.rest.MetadataBitstreamController#downloadSingleFile(String, String, String, HttpServletRequest, HttpServletResponse) 2023-10-27 17:29:55,331 INFO unknown 2ac1ab42-e8d8-4bb2-ad76-1ade95d2b9c0 org.dspace.app.rest.utils.DSpaceAPIRequestLoggingFilter @ Before request [GET /repository/api/core/bitstreams/handle/11234/1-3185/PDT-C-1.0.zip] originated from https://ufal-point-dev.ufal.hide.ms.mff.cuni.cz/items/90ba1c56-389d-4c88-b975-09ed25a2b31d
2023-10-27 17:29:55,331 DEBUG unknown 2ac1ab42-e8d8-4bb2-ad76-1ade95d2b9c0 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping @ Mapped to org.dspace.app.rest.MetadataBitstreamController#downloadSingleFile(String, String, String, HttpServletRequest, HttpServletResponse) 2023-10-27 17:29:55,350 ERROR unknown 2ac1ab42-e8d8-4bb2-ad76-1ade95d2b9c0 org.dspace.app.rest.MetadataBitstreamController @ Bitstream Extensions cannot be empty for downloading/previewing bitstreams. 2023-10-27 17:29:55,351 DEBUG unknown 2ac1ab42-e8d8-4bb2-ad76-1ade95d2b9c0 org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver @ Using @ExceptionHandler org.dspace.app.rest.exception.DSpaceApiExceptionControllerAdvice#handleGenericException(HttpServletRequest, HttpServletResponse, Exception)
2023-10-27 17:29:55,351 ERROR unknown 2ac1ab42-e8d8-4bb2-ad76-1ade95d2b9c0 org.dspace.app.rest.exception.DSpaceApiExceptionControllerAdvice @ An exception has occurred (status:500)
java.lang.RuntimeException: java.lang.RuntimeException: Bitstream Extensions cannot be empty for downloading/previewing bitstreams.
at org.dspace.app.rest.MetadataBitstreamController.downloadSingleFile(MetadataBitstreamController.java:143) ~[classes/:7.5]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
The text was updated successfully, but these errors were encountered:
Not sure what the pattern is, but the browser shows just a whitelabel 500 error or if using curl
the backend log shows:
The text was updated successfully, but these errors were encountered: