java.lang.NullPointerException: null

GitHub | demon101 | 3 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Grails 2.5.3 NPE on production deployment (assets-pipeline)

    Stack Overflow | 1 year ago | boubbin
    org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException: Error processing GroovyPageView: null
  2. 0

    Plugin throws exception in Grails 3.0.4

    GitHub | 2 years ago | ManvendraSK
    groovy.lang.MissingPropertyException: No such property: AssetPipelineConfigHolder for class: asset.pipeline.grails.CachingLinkGenerator
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 148#281672264

    GitHub | 2 months ago | davydotcom
    groovy.lang.MissingMethodException: No signature of method: asset.pipeline.grails.CachingLinkGenerator.appendMapKey() is applicable for argument types: (java.lang.StringBuilder, java.util.LinkedHashMap) values: [resource, [plugin:jquery, dir:js/jquery, ...]]
  5. 0

    Startup sometimes fails when used together with resources plugin

    GitHub | 2 months ago | stefanrother
    groovy.lang.MissingMethodException: No signature of method: asset.pipeline.grails.CachingLinkGenerator.appendMapKey() is applicable for argument types: (java.lang.StringBuilder, java.util.LinkedHashMap) values: [resource, [plugin:jquery, dir:js/jquery, ...]]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      null

      at org.apache.catalina.connector.Request.getServletContext()
    2. Glassfish Core
      RequestFacade.getContextPath
      1. org.apache.catalina.connector.Request.getServletContext(Request.java:1618)
      2. org.apache.catalina.connector.Request.getContextPath(Request.java:1945)
      3. org.apache.catalina.connector.RequestFacade.getContextPath(RequestFacade.java:783)
      3 frames
    3. JavaServlet
      HttpServletRequestWrapper.getContextPath
      1. javax.servlet.http.HttpServletRequestWrapper.getContextPath(HttpServletRequestWrapper.java:189)
      2. javax.servlet.http.HttpServletRequestWrapper.getContextPath(HttpServletRequestWrapper.java:189)
      2 frames
    4. asset.pipeline.grails
      CachingLinkGenerator.makeKey
      1. asset.pipeline.grails.utils.net.HttpServletRequests.getBaseUrlSansScheme(HttpServletRequests.java:139)
      2. asset.pipeline.grails.utils.net.HttpServletRequests.getBaseUrlWithScheme(HttpServletRequests.java:123)
      3. asset.pipeline.grails.utils.net.HttpServletRequests.getBaseUrlWithScheme(HttpServletRequests.java:115)
      4. asset.pipeline.grails.utils.net.HttpServletRequests$getBaseUrlWithScheme.callStatic(Unknown Source)
      5. asset.pipeline.grails.CachingLinkGenerator.makeKey(CachingLinkGenerator.groovy:52)
      5 frames
    5. org.grails.web
      DefaultLinkGenerator.link
      1. org.grails.web.mapping.CachingLinkGenerator.link(CachingLinkGenerator.java:78)
      2. org.grails.web.mapping.DefaultLinkGenerator.link(DefaultLinkGenerator.groovy)
      2 frames
    6. grails.web.mapping
      LinkGenerator$link.call
      1. grails.web.mapping.LinkGenerator$link.call(Unknown Source)
      1 frame
    7. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
      3 frames