Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid Server Error 500 if there are cycles in the hierarchy #44

Open
AndyClifton opened this issue Dec 8, 2020 · 2 comments
Open

Avoid Server Error 500 if there are cycles in the hierarchy #44

AndyClifton opened this issue Dec 8, 2020 · 2 comments

Comments

@AndyClifton
Copy link

AndyClifton commented Dec 8, 2020

I'm getting this 500 error when I try to visualise or print my file at https://labs.sparna.fr/skos-play/upload.

I can click upload and then generate some documents, but the visualise options fail.

e.g. I select english (my file is multilingual) and "tree visualisation". Then I get...

##HTTP Status 500 – Internal Server Error
Type Exception Report

Message Handler processing failed; nested exception is java.lang.StackOverflowError

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

## Exception

org.springframework.web.util.NestedServletException: Handler processing failed; nested exception is java.lang.StackOverflowError
	org.springframework.web.servlet.DispatcherServlet.triggerAfterCompletionWithError(DispatcherServlet.java:1287)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:961)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)
	org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:863)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:742)

Is this related to #41?

@AndyClifton
Copy link
Author

Ok, thanks! I fixed that and it seems to work.

I had assumed that the visualisation tool would check the input file. I hadn’t expected a bad file to cause an exception.

@tfrancart tfrancart changed the title HTTP Status 500 - Server error Avoid Server Error 500 if there are cycles in the hierarchy Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants