Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by qa.plataformas, 1 year ago
Cannot invoke method getTime() on null object
via GitHub by pdeva
, 2 years ago
Cannot invoke method show() on null object
via GitHub by babs
, 2 years ago
Cannot invoke method show() on null object
via GitHub by Fiouz
, 1 year ago
Cannot invoke method visit() on null object
via GitHub by uandrei
, 8 months ago
Cannot invoke method value() on null object
java.lang.NullPointerException: Cannot invoke method getTime() on null object	at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:88)	at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)	at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:32)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)	at java_sql_Timestamp$getTime.call(Unknown Source)	at com.onresolve.jira.groovy.jql.DateCompare.getFieldCalendar(DateCompare.groovy:120)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:382)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)	at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:179)	at com.onresolve.jira.groovy.jql.DateCompare$_getQuery_closure1.doCall(DateCompare.groovy:140)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)	at groovy.lang.Closure.call(Closure.java:423)	at org.codehaus.groovy.runtime.ConvertedMap.invokeCustom(ConvertedMap.java:50)	at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:103)	at com.sun.proxy.$Proxy3772.apply(Unknown Source)	at com.onresolve.jira.groovy.jql.FilterCollector$apply.call(Unknown Source)	at com.onresolve.jira.groovy.jql.AbstractScriptedJqlFunction$_getIssues_closure1.doCall(AbstractScriptedJqlFunction.groovy:74)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)	at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)	at groovy.lang.Closure.call(Closure.java:423)	at groovy.lang.Closure.call(Closure.java:439)	at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2027)	at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2012)	at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2053)	at org.codehaus.groovy.runtime.dgm$162.invoke(Unknown Source)	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)	at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:122)	at com.onresolve.jira.groovy.jql.AbstractScriptedJqlFunction.getIssues(AbstractScriptedJqlFunction.groovy:73)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:166)	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:56)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:187)	at com.onresolve.jira.groovy.jql.DateCompare.getQuery(DateCompare.groovy:162)	at com.onresolve.jira.groovy.jql.DateCompare$getQuery.call(Unknown Source)	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)	at com.onresolve.jira.groovy.jql.relations.RelationsOfMatchingQuery$getQuery.call(Unknown Source)	at com.onresolve.jira.groovy.jql.ScriptedJqlFunction.getQuery(ScriptedJqlFunction.groovy:99)	at com.onresolve.jira.groovy.jql.ScriptedJqlFunction$getQuery.call(Unknown Source)	at com.onresolve.jira.groovy.jql.ScriptedFunctionClauseFactory.getQuery(ScriptedFunctionClauseFactory.groovy:57)	at com.atlassian.jira.jql.query.QueryVisitor.visit(QueryVisitor.java:155)	at com.atlassian.jira.jql.query.QueryVisitor.visit(QueryVisitor.java:25)	at com.atlassian.query.clause.TerminalClauseImpl.accept(TerminalClauseImpl.java:162)	at com.atlassian.jira.jql.query.QueryVisitor.visit(QueryVisitor.java:91)	at com.atlassian.jira.jql.query.QueryVisitor.visit(QueryVisitor.java:25)	at com.atlassian.query.clause.AndClause.accept(AndClause.java:34)	at com.atlassian.jira.jql.query.QueryVisitor.visit(QueryVisitor.java:120)	at com.atlassian.jira.jql.query.QueryVisitor.visit(QueryVisitor.java:25)	at com.atlassian.query.clause.OrClause.accept(OrClause.java:34)	at com.atlassian.jira.jql.query.QueryVisitor.visit(QueryVisitor.java:91)	at com.atlassian.jira.jql.query.QueryVisitor.visit(QueryVisitor.java:25)	at com.atlassian.query.clause.AndClause.accept(AndClause.java:34)	at com.atlassian.jira.jql.query.QueryVisitor.createQuery(QueryVisitor.java:72)	at com.atlassian.jira.jql.query.DefaultLuceneQueryBuilder.createLuceneQuery(DefaultLuceneQueryBuilder.java:39)	at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.search(LuceneSearchProvider.java:311)	at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.search(LuceneSearchProvider.java:143)	at java.lang.reflect.Method.invoke(Unknown Source)	at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)	at com.sun.proxy.$Proxy94.search(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)	at com.sun.proxy.$Proxy94.search(Unknown Source)	at com.atlassian.jira.gadgets.system.TwoDimensionalStatsResource.populateStatsMap(TwoDimensionalStatsResource.java:265)	at com.atlassian.jira.gadgets.system.TwoDimensionalStatsResource.getAndPopulateTwoDimensionalStatsMap(TwoDimensionalStatsResource.java:247)	at com.atlassian.jira.gadgets.system.TwoDimensionalStatsResource.buildProperties(TwoDimensionalStatsResource.java:229)	at com.atlassian.jira.gadgets.system.TwoDimensionalStatsResource.getStats(TwoDimensionalStatsResource.java:205)	at java.lang.reflect.Method.invoke(Unknown Source)	at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178)	at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73)	at com.atlassian.mywork.client.filter.ServingRequestsFilter.doFilter(ServingRequestsFilter.java:37)	at com.atlassian.plugins.cors.CorsFilter.doFilter(CorsFilter.java:65)	at com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter.doFilter(PrettyUrlsSiteMeshFixupFilter.java:36)	at com.atlassian.prettyurls.filter.PrettyUrlsDispatcherFilter.doFilter(PrettyUrlsDispatcherFilter.java:60)	at com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter.doFilter(PrettyUrlsSiteMeshFilter.java:92)	at com.atlassian.prettyurls.filter.PrettyUrlsMatcherFilter.doFilter(PrettyUrlsMatcherFilter.java:56)	at com.atlassian.labs.botkiller.BotKillerFilter.doFilter(BotKillerFilter.java:36)	at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:61)	at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:40)	at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:61)	at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)	at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)	at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)	at com.atlassian.analytics.client.filter.JiraAnalyticsFilter.doFilter(JiraAnalyticsFilter.java:41)	at com.atlassian.prettyurls.filter.PrettyUrlsCombinedMatchDispatcherFilter.doFilter(PrettyUrlsCombinedMatchDispatcherFilter.java:61)	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)	at java.lang.Thread.run(Unknown Source)