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

Cannot execute null+1 in FieldService.calculateNextSequenceId #243

Open
vjrj opened this issue Aug 8, 2024 · 0 comments
Open

Cannot execute null+1 in FieldService.calculateNextSequenceId #243

vjrj opened this issue Aug 8, 2024 · 0 comments

Comments

@vjrj
Copy link
Contributor

vjrj commented Aug 8, 2024

During a layer copy:

[2024-08-08 18:36:48] [info] [Spatial-service] 2024-08-08 18:36:48.809 ERROR o.g.web.errors.GrailsExceptionResolver [GrailsExceptionResolver.java:252] : NullPointerException occurred when processing request: [POST] /ws/manageLayers/copy
[2024-08-08 18:36:48] [info] Cannot execute null+1. Stacktrace follows:
[2024-08-08 18:36:48] [info] java.lang.NullPointerException: Cannot execute null+1
[2024-08-08 18:36:48] [info] #011at au.org.ala.spatial.FieldService.calculateNextSequenceId(FieldService.groovy:92)
[2024-08-08 18:36:48] [info] #011at au.org.ala.spatial.ManageLayersService.fieldMapDefault(ManageLayersService.groovy:706)
[2024-08-08 18:36:48] [info] #011at au.org.ala.spatial.ManageLayersService.fieldMap(ManageLayersService.groovy:824)
[2024-08-08 18:36:48] [info] #011at au.org.ala.spatial.ManageLayersService.createOrUpdateField(ManageLayersService.groovy:1210)
[2024-08-08 18:36:48] [info] #011at au.org.ala.spatial.ManageLayersService.updateFromRemote(ManageLayersService.groovy:1454)
[2024-08-08 18:36:48] [info] #011at au.org.ala.spatial.ManageLayersController.copy(ManageLayersController.groovy:618)
[2024-08-08 18:36:48] [info] #011at org.grails.core.DefaultGrailsControllerClass$MethodHandleInvoker.invoke(DefaultGrailsControllerClass.java:223)
[2024-08-08 18:36:48] [info] #011at org.grails.core.DefaultGrailsControllerClass.invoke(DefaultGrailsControllerClass.java:188)
[2024-08-08 18:36:48] [info] #011at org.grails.web.mapping.mvc.UrlMappingsInfoHandlerAdapter.handle(UrlMappingsInfoHandlerAdapter.groovy:90)
[2024-08-08 18:36:48] [info] #011at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1067)
[2024-08-08 18:36:48] [info] #011at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963)
[2024-08-08 18:36:48] [info] #011at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
[2024-08-08 18:36:48] [info] #011at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
[2024-08-08 18:36:48] [info] #011at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
[2024-08-08 18:36:48] [info] #011at org.grails.web.servlet.mvc.GrailsWebRequestFilter.doFilterInternal(GrailsWebRequestFilter.java:77)
[2024-08-08 18:36:48] [info] #011at au.org.ala.ws.security.Pac4jProfileManagerHttpRequestWrapperFilter.doFilter(Pac4jProfileManagerHttpRequestWrapperFilter.java:51)
[2024-08-08 18:36:48] [info] #011at au.org.ala.web.Pac4jHttpServletRequestWrapperFilter.internalFilter(Pac4jHttpServletRequestWrapperFilter.groovy:46)
[2024-08-08 18:36:48] [info] #011at org.pac4j.jee.config.AbstractConfigFilter.doFilter(AbstractConfigFilter.java:72)
[2024-08-08 18:36:48] [info] #011at org.pac4j.jee.filter.SecurityFilter.lambda$internalFilter$0(SecurityFilter.java:94)
[2024-08-08 18:36:48] [info] #011at org.pac4j.core.engine.DefaultSecurityLogic.perform(DefaultSecurityLogic.java:141)
[2024-08-08 18:36:48] [info] #011at org.pac4j.jee.filter.SecurityFilter.internalFilter(SecurityFilter.java:92)
[2024-08-08 18:36:48] [info] #011at org.pac4j.jee.config.AbstractConfigFilter.doFilter(AbstractConfigFilter.java:72)
[2024-08-08 18:36:48] [info] #011at au.org.ala.web.CooperatingFilterWrapper.doFilter(CooperatingFilterWrapper.groovy:31)
[2024-08-08 18:36:48] [info] #011at org.grails.web.filters.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:67)
[2024-08-08 18:36:48] [info] #011at org.springframework.boot.web.servlet.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:126)
[2024-08-08 18:36:48] [info] #011at org.springframework.boot.web.servlet.support.ErrorPageFilter.access$000(ErrorPageFilter.java:64)
[2024-08-08 18:36:48] [info] #011at org.springframework.boot.web.servlet.support.ErrorPageFilter$1.doFilterInternal(ErrorPageFilter.java:101)
[2024-08-08 18:36:48] [info] #011at org.springframework.boot.web.servlet.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:119)
[2024-08-08 18:36:48] [info] #011at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[2024-08-08 18:36:48] [info] #011at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[2024-08-08 18:36:48] [info] #011at java.base/java.lang.Thread.run(Thread.java:829)
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