You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the Integrity Checker and solve any potential conflicts between environmetns.
on Sender environment, create an Advanced Template and leave the body field empty. Save/Publish it.
Right click on the recently created Template and Push it to the Receiver environment.
Stacktrace:
[27/02/17 10:10:25:852 EST] INFO publishing.PublisherAPIImpl: Start of Bundler: DependencyBundler
[27/02/17 10:10:25:868 EST] ERROR publishing.PublisherAPIImpl: null
com.dotcms.publishing.DotBundleException
at com.dotcms.enterprise.publishing.remote.bundler.DependencyBundler.generate(SourceFile:70) ~[ee-3.7.1.jar:?]
at com.dotcms.publishing.PublisherAPIImpl.publish(PublisherAPIImpl.java:75) [dotcms_3.7.1_57dc8a6.jar:?]
at com.dotcms.publishing.PublisherAPIImpl.publish(PublisherAPIImpl.java:16) [dotcms_3.7.1_57dc8a6.jar:?]
at com.dotcms.publisher.business.PublisherQueueJob.execute(PublisherQueueJob.java:148) [dotcms_3.7.1_57dc8a6.jar:?]
at org.quartz.core.JobRunShell.run(JobRunShell.java:223) [dot.quartz-all-1.8.6_2.jar:?]
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) [dot.quartz-all-1.8.6_2.jar:?]
Caused by: java.lang.NullPointerException
at java.util.regex.Matcher.getTextLength(Matcher.java:1283) ~[?:1.8.0_60]
at java.util.regex.Matcher.reset(Matcher.java:309) ~[?:1.8.0_60]
at java.util.regex.Matcher.<init>(Matcher.java:229) ~[?:1.8.0_60]
at java.util.regex.Pattern.matcher(Pattern.java:1093) ~[?:1.8.0_60]
at com.dotmarketing.portlets.templates.business.TemplateFactoryImpl.getContainerIds(TemplateFactoryImpl.java:384) ~[dotcms_3.7.1_57dc8a6.jar:?]
at com.dotmarketing.portlets.templates.business.TemplateFactoryImpl.getContainersInTemplate(TemplateFactoryImpl.java:369) ~[dotcms_3.7.1_57dc8a6.jar:?]
at com.dotmarketing.portlets.templates.business.TemplateAPIImpl.getContainersInTemplate(TemplateAPIImpl.java:312) ~[dotcms_3.7.1_57dc8a6.jar:?]
at com.dotcms.publisher.util.DependencyManager.setTemplateDependencies(DependencyManager.java:773) ~[dotcms_3.7.1_57dc8a6.jar:?]
at com.dotcms.publisher.util.DependencyManager.setDependencies(DependencyManager.java:329) ~[dotcms_3.7.1_57dc8a6.jar:?]
at com.dotcms.enterprise.publishing.remote.bundler.DependencyBundler.generate(SourceFile:67) ~[ee-3.7.1.jar:?]
... 5 more
[27/02/17 10:10:25:877 EST] ERROR business.PublisherQueueJob: Unable to publish Bundle: null
com.dotcms.publishing.DotPublishingException
at com.dotcms.publishing.PublisherAPIImpl.publish(PublisherAPIImpl.java:87) ~[dotcms_3.7.1_57dc8a6.jar:?]
at com.dotcms.publishing.PublisherAPIImpl.publish(PublisherAPIImpl.java:16) ~[dotcms_3.7.1_57dc8a6.jar:?]
at com.dotcms.publisher.business.PublisherQueueJob.execute(PublisherQueueJob.java:148) [dotcms_3.7.1_57dc8a6.jar:?]
at org.quartz.core.JobRunShell.run(JobRunShell.java:223) [dot.quartz-all-1.8.6_2.jar:?]
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) [dot.quartz-all-1.8.6_2.jar:?]
Caused by: com.dotcms.publishing.DotBundleException
at com.dotcms.enterprise.publishing.remote.bundler.DependencyBundler.generate(SourceFile:70) ~[ee-3.7.1.jar:?]
at com.dotcms.publishing.PublisherAPIImpl.publish(PublisherAPIImpl.java:75) ~[dotcms_3.7.1_57dc8a6.jar:?]
... 4 more
Caused by: java.lang.NullPointerException
at java.util.regex.Matcher.getTextLength(Matcher.java:1283) ~[?:1.8.0_60]
at java.util.regex.Matcher.reset(Matcher.java:309) ~[?:1.8.0_60]
at java.util.regex.Matcher.<init>(Matcher.java:229) ~[?:1.8.0_60]
at java.util.regex.Pattern.matcher(Pattern.java:1093) ~[?:1.8.0_60]
at com.dotmarketing.portlets.templates.business.TemplateFactoryImpl.getContainerIds(TemplateFactoryImpl.java:384) ~[dotcms_3.7.1_57dc8a6.jar:?]
at com.dotmarketing.portlets.templates.business.TemplateFactoryImpl.getContainersInTemplate(TemplateFactoryImpl.java:369) ~[dotcms_3.7.1_57dc8a6.jar:?]
at com.dotmarketing.portlets.templates.business.TemplateAPIImpl.getContainersInTemplate(TemplateAPIImpl.java:312) ~[dotcms_3.7.1_57dc8a6.jar:?]
at com.dotcms.publisher.util.DependencyManager.setTemplateDependencies(DependencyManager.java:773) ~[dotcms_3.7.1_57dc8a6.jar:?]
at com.dotcms.publisher.util.DependencyManager.setDependencies(DependencyManager.java:329) ~[dotcms_3.7.1_57dc8a6.jar:?]
at com.dotcms.enterprise.publishing.remote.bundler.DependencyBundler.generate(SourceFile:67) ~[ee-3.7.1.jar:?]
at com.dotcms.publishing.PublisherAPIImpl.publish(PublisherAPIImpl.java:75) ~[dotcms_3.7.1_57dc8a6.jar:?]
... 4 more
Expected Behavior
Whether an Advanced Template has any valid Velocity/HTML code or, it should be pushed to environments after the user requests this action.
Current Behavior
An Advanced Template cannot be pushed between environments if there's no code on its body field.
Possible Solution
Check if body is empty or null, so cases like Oracle where empty strings are stored as null values can be handled better.
Known Workarounds
Insert any piece of Velocity/HTML code on the Template body.
Steps to Reproduce (for bugs)
Stacktrace:
Context
As a follow-up of #10825, this is related to a set of tests performed on 3.7.x releases under Oracle 11G/12C, as per this Support Ticket: https://my.dotcms.com/tickets/detail.dot?id=78607db5-ef06-4c10-a80d-093a16a7336d
Your Environment
The text was updated successfully, but these errors were encountered: