RE: email-ext Exception while replacing BUILD_LOG_EXCERPT. Please
report this as a bug. ]] {{ java.lang.NullPointerException }} MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=1869880960-1242272882-1362493139=:18508 --1869880960-1242272882-1362493139=:18508 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit I need more info, please post any info from the Jenkins logs as well as your content template.p Sent from my Windows Phone From: Kamal Ahmed Sent: 3/5/2013 7:19 To: jenkinsci-users@googlegroups.com Subject: email-ext Exception while replacing BUILD_LOG_EXCERPT. Please report this as a bug. ]] {{ java.lang.NullPointerException }} Hi, If i use ${BUILD_LOG_EXCERPT} , in the Default Content, with jenkins 1.5, i get the following in the email. [[ Exception while replacing BUILD_LOG_EXCERPT. Please report this as a bug. ]] {{ java.lang.NullPointerException }} -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. --1869880960-1242272882-1362493139=:18508 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable htmlbodyhtmlheadmeta content=3Dtext/html; charset=3Dutf-8 http-e= quiv=3DContent-Type/headbodydivdiv style=3Dfont-family: Calibri,= sans-serif; font-size: 11pt;I need more info, please post any info from t= he Jenkins logs as well as your content template.pbrbrbrSent from my = Windows Phonebr/div/divhrspan style=3Dfont-family: Tahoma,sans-se= rif; font-size: 10pt; font-weight: bold;From: /spanspan style=3Dfont-= family: Tahoma,sans-serif; font-size: 10pt;Kamal Ahmed/spanbrspan st= yle=3Dfont-family: Tahoma,sans-serif; font-size: 10pt; font-weight: bold;= Sent: /spanspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10p= t;3/5/2013 7:19/spanbrspan style=3Dfont-family: Tahoma,sans-serif; = font-size: 10pt; font-weight: bold;To: /spanspan style=3Dfont-family:= Tahoma,sans-serif; font-size: 10pt;jenkinsci-users@googlegroups.com/spa= nbrspan style=3Dfont-family: Tahoma,sans-serif; font-size: 10pt; font-= weight: bold;Subject: /spanspan style=3Dfont-family: Tahoma,sans-seri= f; font-size: 10pt;email-ext Exception while replacing BUILD_LOG_EXCERPT.= Please report this as a bug. ]] {{ java.lang.NullPointerException }}/span= brbr/body/htmldiv style=3Dcolor:#000; background-color:#fff; fon= t-family:verdana, helvetica, sans-serif;font-size:10ptdivHi,/divdiv= br/divdiv style=3Dcolor: rgb(0, 0, 0); font-size: 13.px; font-fam= ily: verdana,helvetica,sans-serif; background-color: transparent; font-styl= e: normal;If i use ${BUILD_LOG_EXCERPT} , in the Default Content, with je= nkins 1.5, i get the following in the email./divdiv style=3Dcolor: rgb(= 0, 0, 0); font-size: 13.px; font-family: verdana,helvetica,sans-serif; = background-color: transparent; font-style: normal;br/divdiv style=3D= color: rgb(0, 0, 0); font-size: 13.px; font-family: verdana,helvetica,= sans-serif; background-color: transparent; font-style: normal;[[ Exceptio= n while replacing BUILD_LOG_EXCERPT. Please report this as a bug. ]] {{ java.lang.NullPointerException }} br/divdiv style=3Dcolor: rgb(0, = 0, 0); font-size: 13.px; font-family: verdana,helvetica,sans-serif; bac= kground-color: transparent; font-style: normal;br/div/div/body/h= tml p/p -- br / You received this message because you are subscribed to the Google Groups = quot;Jenkins Usersquot; group.br / To unsubscribe from this group and stop receiving emails from it, send an e= mail to jenkinsci-users+unsubscr...@googlegroups.com.br / For more options, visit a href=3Dhttps://groups.google.com/groups/opt_out= https://groups.google.com/groups/opt_out/a.br / nbsp;br / nbsp;br / --1869880960-1242272882-1362493139=:18508-- -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: email-ext Exception while replacing BUILD_LOG_EXCERPT. Please
I also upgraded Email-Ext and it seems all file sin the template are gone! Any idea how to get them back ? jenkins.log Mar 5, 2013 11:08:53 AM hudson.model.Run execute INFO: JASPER-SERVER #20 main build action completed: SUCCESS Mar 5, 2013 11:08:53 AM hudson.plugins.emailext.plugins.content.ScriptContent createEngine SEVERE: Exception on init file: java.io.FileNotFoundException: /var/lib/jenkins/email-templates/groovy/init.groovy (No such file or directory) Mar 5, 2013 11:08:53 AM hudson.plugins.emailext.plugins.ContentBuilder replaceTokensWithContent SEVERE: Exception thrown while replacing ${SCRIPT,groovy=cust} groovy.lang.GroovyRuntimeException: Failed to parse template script (your template may contain an error or be trying to use expressions not currently supported): startup failed: SimpleTemplateScript1.groovy: 146: expecting '}', found '' @ line 146, column 40. /* Generated by SimpleTemplateEngine */ ^ 1 error at groovy.text.SimpleTemplateEngine.createTemplate(SimpleTemplateEngine.java:125) at groovy.text.TemplateEngine.createTemplate(TemplateEngine.java:38) at groovy.text.TemplateEngine$createTemplate.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:116) at Script1.run(Script1.groovy:19) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:650) at groovy.lang.GroovyShell.evaluate(GroovyShell.java:636) at hudson.plugins.emailext.plugins.content.ScriptContent.renderContent(ScriptContent.java:144) at hudson.plugins.emailext.plugins.content.ScriptContent.getContent(ScriptContent.java:100) at hudson.plugins.emailext.plugins.ContentBuilder.replaceTokensWithContent(ContentBuilder.java:119) at hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:92) at hudson.plugins.emailext.ExtendedEmailPublisher.getContent(ExtendedEmailPublisher.java:674) at hudson.plugins.emailext.ExtendedEmailPublisher.createMail(ExtendedEmailPublisher.java:469) at hudson.plugins.emailext.ExtendedEmailPublisher.sendMail(ExtendedEmailPublisher.java:304) at hudson.plugins.emailext.ExtendedEmailPublisher._perform(ExtendedEmailPublisher.java:296) at hudson.plugins.emailext.ExtendedEmailPublisher.perform(ExtendedEmailPublisher.java:256) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:810) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:785) at hudson.model.Build$BuildExecution.cleanUp(Build.java:192) at hudson.model.Run.execute(Run.java:1601) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) From: Alex Earl slide.o@gmail.com To: Kamal Ahmed kamalah...@yahoo.com; jenkinsci-users@googlegroups.com jenkinsci-users@googlegroups.com Sent: Tuesday, March 5, 2013 10:45 AM Subject: RE: email-ext Exception while replacing BUILD_LOG_EXCERPT. Please report this as a bug. ]] {{ java.lang.NullPointerException }} MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=1869880960-1242272882-1362493139=:18508 --1869880960-1242272882-1362493139=:18508 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit I need more info, please post any info from the Jenkins logs as well as your content template.p Sent from my Windows Phone From: Kamal Ahmed Sent: 3/5/2013 7:19 To: jenkinsci-users@googlegroups.com Subject: email-ext Exception while replacing BUILD_LOG_EXCERPT. Please report this as a bug. ]] {{ java.lang.NullPointerException }} Hi, If i use ${BUILD_LOG_EXCERPT} , in the Default Content, with jenkins 1.5, i get the following in the email. [[ Exception while replacing BUILD_LOG_EXCERPT. Please report this as a bug. ]] {{ java.lang.NullPointerException }} -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. --1869880960-1242272882-1362493139=:18508 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable htmlbodyhtmlheadmeta content=3Dtext/html; charset=3Dutf-8 http-e= quiv=3DContent-Type/headbodydivdiv style=3Dfont-family: Calibri,= sans-serif; font-size: 11pt;I need more info, please post any info from t= he Jenkins logs as well as your content template.pbrbrbrSent from my = Windows Phonebr/div/divhrspan style