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 Benjamin Dombrowsky, 1 year ago
One of 'To', 'CC' or 'BCC' is required
via JIRA by Benjamin Dombrowsky, 2 years ago
One of 'To', 'CC' or 'BCC' is required
via Atlassian JIRA by Christopher Owen [Atlassian], 2 years ago
via JIRA by Mike Harrison, 8 months ago
via Atlassian JIRA by Nick Menere [Atlassian], 1 year ago
via Atlassian JIRA by Nick Menere [Atlassian], 2 years ago
java.lang.IllegalArgumentException: One of 'To', 'CC' or 'BCC' is required	at com.atlassian.mail.Email.(Email.java:65)	at sun.reflect.GeneratedConstructorAccessor1119.newInstance(Unknown Source)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)	at java.lang.reflect.Constructor.newInstance(Unknown Source)	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:102)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:198)	at com.onresolve.jira.groovy.canned.workflow.postfunctions.SendCustomEmail.sendMail(SendCustomEmail.groovy:299)	at sun.reflect.GeneratedMethodAccessor4086.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	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:233)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1054)	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)	at com.onresolve.jira.groovy.canned.workflow.postfunctions.SendCustomEmail.this$dist$invoke$1(SendCustomEmail.groovy)	at com.onresolve.jira.groovy.canned.workflow.postfunctions.SendCustomEmail$1.methodMissing(SendCustomEmail.groovy)	at sun.reflect.GeneratedMethodAccessor4085.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)	at groovy.lang.MetaClassImpl.invokeMissingMethod(MetaClassImpl.java:811)	at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1103)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1056)	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:884)	at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141)	at com.onresolve.jira.groovy.canned.workflow.postfunctions.SendCustomEmail$1.run(SendCustomEmail.groovy:331)	at java.lang.Thread.run(Unknown Source)