- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2016 01:14 PM
Created what I thought would be a simple notification triggered when a status changes. The notification is not event triggered, however "when field changes to". Notification goes to two groups, watch_list and assignment group. However, I get this error each time I trigger the notification:
Error | For input string: "150px;"><strong> </strong></td> <td> </td> </tr> <tr> <td style="width": java.lang.NumberFormatException: For input string: "150px;"><strong> </strong></td> <td> </td> </tr> <tr> <td style="width": java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) java.lang.Integer.parseInt(Integer.java:458) java.lang.Integer.parseInt(Integer.java:499) com.glide.substitution.FieldSubstitute.replace(FieldSubstitute.java:57) com.glide.notification.substitution.SubstitutionManager.substituteToken(SubstitutionManager.java:242) com.glide.notification.substitution.SubstitutionManager.substituteVar(SubstitutionManager.java:141) com.glide.notification.substitution.SubstitutionManager.substitute(SubstitutionManager.java:102) com.glide.notification.substitution.SubstitutionManager.substitute(SubstitutionManager.java:88) com.glide.notification.outbound.EmailFormatter.substitute(EmailFormatter.java:383) com.glide.notification.outbound.EmailFormatter.substitute(EmailFormatter.java:376) com.glide.notification.cmn.NotificationDataEvaluator.evalMessage(NotificationDataEvaluator.java:175) com.glide.notification.cmn.NotificationDataEvaluator.evaluateNotificationData(NotificationDataEvaluator.java:129) com.glide.notification.cmn.NotificationDataEvaluator.evaluate(NotificationDataEvaluator.java:58) com.glide.notification.cmn.NotificationMessage.processTemplate(NotificationMessage.java:65) com.glide.notification.cmn.NotificationActionHandler.send(NotificationActionHandler.java:62) com.glide.notification.cmn.NotificationActionHandler.process(NotificationActionHandler.java:41) com.glide.policy.EventProcessor.processEventDuringNormalOperation(EventProcessor.java:163) com.glide.policy.EventProcessor.processEvent(EventProcessor.java:100) com.glide.policy.EventProcessor.process(EventProcessor.java:66) com.glide.policy.EventManager.processEvents(EventManager.java:215) com.glide.policy.EventManager.process(EventManager.java:125) com.glide.script.GlideSystem.js_eventsProcess(GlideSystem.java:618) inv111.invoke() org.mozilla.javascript.FunctionObject.doInvoke(FunctionObject.java:565) org.mozilla.javascript.FunctionObject.call(FunctionObject.java:480) org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1201) org.mozilla.javascript.gen.c948.call(<refname>:1) org.mozilla.javascript.gen.c948.exec(<refname>) com.glide.script.ScriptEvaluator.execute(ScriptEvaluator.java:162) com.glide.script.ScriptEvaluator.execute(ScriptEvaluator.java:176) com.glide.script.ScriptEvaluator.evaluateString(ScriptEvaluator.java:68) com.glide.script.ScriptEvaluator.evaluateStringWithPrefix(ScriptEvaluator.java:43) com.glide.script.Evaluator.evaluatePossiblePrefixedString(Evaluator.java:240) com.glide.job.RunScriptJob.evaluateScript(RunScriptJob.java:136) com.glide.job.RunScriptJob.execute(RunScriptJob.java:81) com.glide.schedule.JobExecutor.execute(JobExecutor.java:72) com.glide.schedule.GlideScheduleWorker.executeJob(GlideScheduleWorker.java:177) com.glide.schedule.GlideScheduleWorker.process(GlideScheduleWorker.java:124) com.glide.schedule.GlideScheduleWorker.run(GlideScheduleWorker.java:56) | com.glide.ui.ServletErrorListener |
Any thoughts?
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2016 02:51 PM
Hi Wade,
Haven't seen it before. Might be invalid HTML (e.g. unclosed string/tag) at some point in your notification?
I would suggest copy/pasting your HTML into an HTML validator and see what happens.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2016 02:51 PM
Hi Wade,
Haven't seen it before. Might be invalid HTML (e.g. unclosed string/tag) at some point in your notification?
I would suggest copy/pasting your HTML into an HTML validator and see what happens.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2016 04:58 AM
Frank, You are so right! I checked the HTML code and there was an error in two of the variables when the notification was created. I deleted the current template and re-created, now it works perfect.
Thanks so much for the second set of eyes!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2016 02:47 PM
Sure thing! Been there
Cheers.