javax.script.ScriptException: javax.script.ScriptException: java.lang.NullPointerException: Cannot invoke method getTime() on null object

Atlassian JIRA | Jerome Taylor | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    The following error occurring in the log file during the migration from 5.1.5 to 6.1.5. 2014-01-17 12:51:44,074 IssueIndexer:thread-9 WARN [jira.issue.managers.DefaultCustomFieldManager] Custom field searcher module: com.atlassian.jira.plugin.system.customfieldtypes:checkboxsearcher is invalid. Null being returned. 2014-01-17 12:51:44,074 IssueIndexer:thread-9 WARN [jira.issue.managers.DefaultCustomFieldManager] Custom field searcher module: com.atlassian.jira.plugin.system.customfieldtypes:userpickersearcher is invalid. Null being returned. 2014-01-17 12:51:44,075 IssueIndexer:thread-9 WARN [jira.issue.managers.DefaultCustomFieldManager] Custom field searcher module: com.atlassian.jira.plugin.system.customfieldtypes:radiosearcher is invalid. Null being returned. 2014-01-17 12:51:46,478 IssueIndexer:thread-6 ERROR [onresolve.jira.groovy.GroovyCustomField] javax.script.ScriptException: java.lang.NullPointerException: Cannot invoke method getTime() on null object javax.script.ScriptException: javax.script.ScriptException: java.lang.NullPointerException: Cannot invoke method getTime() on null object at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:117) at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:233) at javax.script.ScriptEngine$eval$7.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at com.onresolve.jira.groovy.GroovyCustomField.getValueFromIssue(GroovyCustomField.groovy:160) at com.atlassian.jira.issue.fields.CustomFieldImpl.getValue(CustomFieldImpl.java:404) at com.atlassian.jira.issue.index.indexers.impl.SortableTextCustomFieldIndexer.addDocumentFields(SortableTextCustomFieldIndexer.java:44) at com.atlassian.jira.issue.index.indexers.impl.SortableTextCustomFieldIndexer.addDocumentFieldsSearchable(SortableTextCustomFieldIndexer.java:33) at com.atlassian.jira.issue.index.indexers.impl.AbstractCustomFieldIndexer.addIndex(AbstractCustomFieldIndexer.java:46) at com.atlassian.jira.issue.index.IssueDocument.getDocument(IssueDocument.java:41) at com.atlassian.jira.issue.index.DefaultIssueDocumentFactory.get(DefaultIssueDocumentFactory.java:15) at com.atlassian.jira.issue.index.DefaultIssueDocumentFactory.get(DefaultIssueDocumentFactory.java:11) at com.atlassian.jira.issue.index.DefaultIssueIndexer$IssueLockDocumentCreationStrategy$2.get(DefaultIssueIndexer.java:606) at com.atlassian.jira.issue.index.DefaultIssueIndexer$IssueLockDocumentCreationStrategy$2.get(DefaultIssueIndexer.java:601) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:303) at com.atlassian.jira.issue.index.DefaultIssueIndexer$IssueLockDocumentCreationStrategy.get(DefaultIssueIndexer.java:600)

    Atlassian JIRA | 3 years ago | Jerome Taylor
    javax.script.ScriptException: javax.script.ScriptException: java.lang.NullPointerException: Cannot invoke method getTime() on null object
  2. 0

    The following error occurring in the log file during the migration from 5.1.5 to 6.1.5. 2014-01-17 12:51:44,074 IssueIndexer:thread-9 WARN [jira.issue.managers.DefaultCustomFieldManager] Custom field searcher module: com.atlassian.jira.plugin.system.customfieldtypes:checkboxsearcher is invalid. Null being returned. 2014-01-17 12:51:44,074 IssueIndexer:thread-9 WARN [jira.issue.managers.DefaultCustomFieldManager] Custom field searcher module: com.atlassian.jira.plugin.system.customfieldtypes:userpickersearcher is invalid. Null being returned. 2014-01-17 12:51:44,075 IssueIndexer:thread-9 WARN [jira.issue.managers.DefaultCustomFieldManager] Custom field searcher module: com.atlassian.jira.plugin.system.customfieldtypes:radiosearcher is invalid. Null being returned. 2014-01-17 12:51:46,478 IssueIndexer:thread-6 ERROR [onresolve.jira.groovy.GroovyCustomField] javax.script.ScriptException: java.lang.NullPointerException: Cannot invoke method getTime() on null object javax.script.ScriptException: javax.script.ScriptException: java.lang.NullPointerException: Cannot invoke method getTime() on null object at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:117) at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:233) at javax.script.ScriptEngine$eval$7.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at com.onresolve.jira.groovy.GroovyCustomField.getValueFromIssue(GroovyCustomField.groovy:160) at com.atlassian.jira.issue.fields.CustomFieldImpl.getValue(CustomFieldImpl.java:404) at com.atlassian.jira.issue.index.indexers.impl.SortableTextCustomFieldIndexer.addDocumentFields(SortableTextCustomFieldIndexer.java:44) at com.atlassian.jira.issue.index.indexers.impl.SortableTextCustomFieldIndexer.addDocumentFieldsSearchable(SortableTextCustomFieldIndexer.java:33) at com.atlassian.jira.issue.index.indexers.impl.AbstractCustomFieldIndexer.addIndex(AbstractCustomFieldIndexer.java:46) at com.atlassian.jira.issue.index.IssueDocument.getDocument(IssueDocument.java:41) at com.atlassian.jira.issue.index.DefaultIssueDocumentFactory.get(DefaultIssueDocumentFactory.java:15) at com.atlassian.jira.issue.index.DefaultIssueDocumentFactory.get(DefaultIssueDocumentFactory.java:11) at com.atlassian.jira.issue.index.DefaultIssueIndexer$IssueLockDocumentCreationStrategy$2.get(DefaultIssueIndexer.java:606) at com.atlassian.jira.issue.index.DefaultIssueIndexer$IssueLockDocumentCreationStrategy$2.get(DefaultIssueIndexer.java:601) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:303) at com.atlassian.jira.issue.index.DefaultIssueIndexer$IssueLockDocumentCreationStrategy.get(DefaultIssueIndexer.java:600)

    Atlassian JIRA | 3 years ago | Jerome Taylor
    javax.script.ScriptException: javax.script.ScriptException: java.lang.NullPointerException: Cannot invoke method getTime() on null object
  3. 0

    Groovy script - help - Atlassian Answers

    atlassian.com | 2 years ago
    javax.script.ScriptException: javax.script.ScriptException: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Groovy script - help - Atlassian Answers

    atlassian.com | 2 years ago
    javax.script.ScriptException: javax.script.ScriptException: java.lang.NullPointerException
  6. 0

    Script Runner With Comments - Script Runner - Confluence

    atlassian.net | 10 months ago
    javax.script.ScriptException: javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: issue for class: Script25

    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. javax.script.ScriptException

      javax.script.ScriptException: java.lang.NullPointerException: Cannot invoke method getTime() on null object

      at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval()
    2. Groovy
      GroovyScriptEngineImpl.eval
      1. org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:117)
      1 frame
    3. Java RT
      ScriptEngine$eval$7.call
      1. javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:233)
      2. javax.script.ScriptEngine$eval$7.call(Unknown Source)
      2 frames
    4. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
      3 frames
    5. com.onresolve.jira
      GroovyCustomField.getValueFromIssue
      1. com.onresolve.jira.groovy.GroovyCustomField.getValueFromIssue(GroovyCustomField.groovy:160)
      1 frame
    6. com.atlassian.jira
      DefaultIssueIndexer$IssueLockDocumentCreationStrategy$2.get
      1. com.atlassian.jira.issue.fields.CustomFieldImpl.getValue(CustomFieldImpl.java:404)
      2. com.atlassian.jira.issue.index.indexers.impl.SortableTextCustomFieldIndexer.addDocumentFields(SortableTextCustomFieldIndexer.java:44)
      3. com.atlassian.jira.issue.index.indexers.impl.SortableTextCustomFieldIndexer.addDocumentFieldsSearchable(SortableTextCustomFieldIndexer.java:33)
      4. com.atlassian.jira.issue.index.indexers.impl.AbstractCustomFieldIndexer.addIndex(AbstractCustomFieldIndexer.java:46)
      5. com.atlassian.jira.issue.index.IssueDocument.getDocument(IssueDocument.java:41)
      6. com.atlassian.jira.issue.index.DefaultIssueDocumentFactory.get(DefaultIssueDocumentFactory.java:15)
      7. com.atlassian.jira.issue.index.DefaultIssueDocumentFactory.get(DefaultIssueDocumentFactory.java:11)
      8. com.atlassian.jira.issue.index.DefaultIssueIndexer$IssueLockDocumentCreationStrategy$2.get(DefaultIssueIndexer.java:606)
      9. com.atlassian.jira.issue.index.DefaultIssueIndexer$IssueLockDocumentCreationStrategy$2.get(DefaultIssueIndexer.java:601)
      9 frames
    7. com.atlassian.util
      ManagedLocks$ManagedLockImpl.withLock
      1. com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:303)
      1 frame
    8. com.atlassian.jira
      DefaultIssueIndexer$IssueLockDocumentCreationStrategy.get
      1. com.atlassian.jira.issue.index.DefaultIssueIndexer$IssueLockDocumentCreationStrategy.get(DefaultIssueIndexer.java:600)
      1 frame