org.apache.velocity.exception.MethodInvocationException: Invocation of method 'diff' in class com.atlassian.jira.mail.DiffUtils threw exception java.lang.NullPointerException at templates/email/html/includes/patterns/worklog-top.vm[line 9, column 46]

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Atlassian JIRA by Bartosz Wojciechowski, 1 year ago
Invocation of method 'diff' in class com.atlassian.jira.mail.DiffUtils threw exception java.lang.NullPointerException at templates/email/html/includes/patterns/worklog-top.vm[line 9, column 46]
via Atlassian JIRA by Bartosz Wojciechowski, 1 year ago
Invocation of method 'diff' in class com.atlassian.jira.mail.DiffUtils threw exception java.lang.NullPointerException at templates/email/html/includes/patterns/worklog-top.vm[line 9, column 46]
via GitHub by konstantinvlasenko
, 2 years ago
Invocation of method 'getTestResult' in class fitnesse.reporting.history.SuiteXmlReformatter threw exception java.lang.NullPointerEx ception at suiteXML.vm[line 16, column 35]
via GitHub by idoiamurua
, 2 years ago
Invocation of method 'combine' in class eu.aliada.rdfizer.pipeline.format.xml.OXPath threw exception java.lang.Error: Unresolved compilation problems: subfield cannot be resolved to a variable Syntax error on tokens, ( expected
via JIRA by Reece Lander, 5 months ago
Invocation of method 'getInheritedCFDefaults' in class com.javahollic.jira.emh.ui.action.JEMHProjectMapping threw exception java.lang.NullPointerException at templates/com/javahollic/jira/jemh/ui/configuration/edit/project-config.vm[line 245, column 32]
via GitHub by Turambar1
, 2 years ago
Invocation of method 'getTestExecutionReport' in class fitnesse.reporting.CachingSuiteXmlFormatter threw exception java.lang.NullPointerException at suiteXML.vm[line 6, column 38]
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'diff' in class com.atlassian.jira.mail.DiffUtils threw exception java.lang.NullPointerException at templates/email/html/includes/patterns/worklog-top.vm[line 9, column 46]
at java.util.regex.Matcher.getTextLength(Matcher.java:1283)
at java.util.regex.Matcher.reset(Matcher.java:309)
at java.util.regex.Matcher.(Matcher.java:229)
at java.util.regex.Pattern.matcher(Pattern.java:1093)
at com.atlassian.diff.WordLevelDiffer.tokenize(WordLevelDiffer.java:176)
at com.atlassian.diff.WordLevelDiffer.diffLine(WordLevelDiffer.java:95)
at com.atlassian.diff.DiffViewBean.createWordLevelDiff(DiffViewBean.java:124)
at com.atlassian.jira.mail.DiffUtils.diff(DiffUtils.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:385)
at com.atlassian.velocity.htmlsafe.introspection.UnboxingMethod.invoke(UnboxingMethod.java:30)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 3 months ago
2 times, 4 months ago
2 times, 6 months ago
6 times, 6 months ago
Once, 7 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.