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
java.lang.NullPointerException: null
at org.apache.catalina.connector.Request.getServletContext(Request.java:1618)
at org.apache.catalina.connector.Request.getContextPath(Request.java:1945)
at org.apache.catalina.connector.RequestFacade.getContextPath(RequestFacade.java:783)
at javax.servlet.http.HttpServletRequestWrapper.getContextPath(HttpServletRequestWrapper.java:189)
at javax.servlet.http.HttpServletRequestWrapper.getContextPath(HttpServletRequestWrapper.java:189)
at asset.pipeline.grails.utils.net.HttpServletRequests.getBaseUrlSansScheme(HttpServletRequests.java:139)
at asset.pipeline.grails.utils.net.HttpServletRequests.getBaseUrlWithScheme(HttpServletRequests.java:123)
at asset.pipeline.grails.utils.net.HttpServletRequests.getBaseUrlWithScheme(HttpServletRequests.java:115)
at asset.pipeline.grails.utils.net.HttpServletRequests$getBaseUrlWithScheme.callStatic(Unknown Source)
at asset.pipeline.grails.CachingLinkGenerator.makeKey(CachingLinkGenerator.groovy:52)
at org.grails.web.mapping.CachingLinkGenerator.link(CachingLinkGenerator.java:78)
at org.grails.web.mapping.DefaultLinkGenerator.link(DefaultLinkGenerator.groovy)
at grails.web.mapping.LinkGenerator$link.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
Expected Behaviour
Link should be generatied. It works in grails 2
Actual Behaviour
NPE
Environment Information
Grails Version: 3.1.15
JDK Version: 8 102
The text was updated successfully, but these errors were encountered:
Task List
Steps to Reproduce
Simple asynchronous code throw NPE during link generation
Expected Behaviour
Link should be generatied. It works in grails 2
Actual Behaviour
NPE
Environment Information
The text was updated successfully, but these errors were encountered: