kbss-cvut / fta-fmea

GNU General Public License v3.0
3 stars 1 forks source link

It is not possible to create new fault tree (internal server error) #96

Closed LaChope closed 3 months ago

LaChope commented 4 months ago

When create a fault tree (with existing event):

Request: Image

Response: Image

Backend:

INFO  c.c.k.a.c.FaultTreeController - > create - FaultTree <null/> 
ff-iauth-demo-fta-fmea-server  | 16-05-2024 08:23:08.706 [] [thread] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [/fta-fmea] threw exception [Request processing failed: java.util.NoSuchElementException: No value present] with root cause 
ff-iauth-demo-fta-fmea-server  | java.util.NoSuchElementException: No value present
ff-iauth-demo-fta-fmea-server  |    at java.base/java.util.Optional.orElseThrow(Optional.java:377)
blcham commented 3 months ago

@LaChope, I guess we can close this, right? If not, please provide the server log causing 500.

LaChope commented 3 months ago

I linked the PR so it will close when it is merged.