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

Exception trying to save workflow #244

Open
vjrj opened this issue Aug 12, 2024 · 1 comment
Open

Exception trying to save workflow #244

vjrj opened this issue Aug 12, 2024 · 1 comment

Comments

@vjrj
Copy link
Contributor

vjrj commented Aug 12, 2024

Trying to save a workflow I get this exception:

[2024-08-12 10:03:25] [info] [Spatial-service] 2024-08-12 10:03:25.111 ERROR o.g.web.errors.GrailsExceptionResolver [GrailsExceptionResolver.java:252] : NullPointerException occurred when processing request: [POST] /ws/workflow/save
[2024-08-12 10:03:25] [info] Cannot get property 'ud_header_id' on null object. Stacktrace follows:
[2024-08-12 10:03:25] [info] java.lang.NullPointerException: Cannot get property 'ud_header_id' on null object
[2024-08-12 10:03:25] [info] #011at au.org.ala.spatial.WorkflowController.mapping(WorkflowController.groovy:169)
[2024-08-12 10:03:25] [info] #011at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2024-08-12 10:03:25] [info] #011at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2024-08-12 10:03:25] [info] #011at au.org.ala.spatial.WorkflowController.save(WorkflowController.groovy:70)
[2024-08-12 10:03:25] [info] #011at org.grails.core.DefaultGrailsControllerClass$MethodHandleInvoker.invoke(DefaultGrailsControllerClass.java:223)
[2024-08-12 10:03:25] [info] #011at org.grails.core.DefaultGrailsControllerClass.invoke(DefaultGrailsControllerClass.java:188)
[2024-08-12 10:03:25] [info] #011at org.grails.web.mapping.mvc.UrlMappingsInfoHandlerAdapter.handle(UrlMappingsInfoHandlerAdapter.groovy:90)
[2024-08-12 10:03:25] [info] #011at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1067)
[2024-08-12 10:03:25] [info] #011at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963)
[2024-08-12 10:03:25] [info] #011at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
[2024-08-12 10:03:25] [info] #011at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
[2024-08-12 10:03:25] [info] #011at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
[2024-08-12 10:03:25] [info] #011at org.grails.web.servlet.mvc.GrailsWebRequestFilter.doFilterInternal(GrailsWebRequestFilter.java:77)
[2024-08-12 10:03:25] [info] #011at au.org.ala.ws.security.Pac4jProfileManagerHttpRequestWrapperFilter.doFilter(Pac4jProfileManagerHttpRequestWrapperFilter.java:51)
[2024-08-12 10:03:25] [info] #011at au.org.ala.web.Pac4jHttpServletRequestWrapperFilter.internalFilter(Pac4jHttpServletRequestWrapperFilter.groovy:46)
[2024-08-12 10:03:25] [info] #011at org.pac4j.jee.config.AbstractConfigFilter.doFilter(AbstractConfigFilter.java:72)
[2024-08-12 10:03:25] [info] #011at org.pac4j.jee.filter.SecurityFilter.lambda$internalFilter$0(SecurityFilter.java:94)
[2024-08-12 10:03:25] [info] #011at org.pac4j.core.engine.DefaultSecurityLogic.perform(DefaultSecurityLogic.java:141)
[2024-08-12 10:03:25] [info] #011at org.pac4j.jee.filter.SecurityFilter.internalFilter(SecurityFilter.java:92)
[2024-08-12 10:03:25] [info] #011at org.pac4j.jee.config.AbstractConfigFilter.doFilter(AbstractConfigFilter.java:72)
[2024-08-12 10:03:25] [info] #011at au.org.ala.web.CooperatingFilterWrapper.doFilter(CooperatingFilterWrapper.groovy:31)
[2024-08-12 10:03:25] [info] #011at org.grails.web.filters.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:67)
[2024-08-12 10:03:25] [info] #011at org.springframework.boot.web.servlet.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:126)
[2024-08-12 10:03:25] [info] #011at org.springframework.boot.web.servlet.support.ErrorPageFilter.access$000(ErrorPageFilter.java:64)
[2024-08-12 10:03:25] [info] #011at org.springframework.boot.web.servlet.support.ErrorPageFilter$1.doFilterInternal(ErrorPageFilter.java:101)
[2024-08-12 10:03:25] [info] #011at org.springframework.boot.web.servlet.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:119)
[2024-08-12 10:03:25] [info] #011at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[2024-08-12 10:03:25] [info] #011at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[2024-08-12 10:03:25] [info] #011at java.base/java.lang.Thread.run(Thread.java:829)
@vjrj
Copy link
Contributor Author

vjrj commented Aug 13, 2024

This also happens in https://spatial.ala.org.au:

2024-08-13_10-31-workflow

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

1 participant