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
Basically when Push-publishing New Pages
You'll see a NullPointer Exception that is originated in the class ContentHandler.java
by the following code:
Approx line 534:
// pushing live content requires some cleanup we have on contentletAPI.publish
if(implicitPublish) {
content = contentletAPI.findContentletByIdentifier(content.getIdentifier(), false, content.getLanguageId(), systemUser, false);
contentletAPI.publish(content, systemUser, false);
}
New Pages aren't found on the destination environment causing a NPE when publish is attempted.
Steps to reproduce the behavior:
Set up a Push Publishing environment.
Create an HTML Page, and push it to the receiver.
The New Pages are not passing. instead, you'll see an NPE on the logs.
The error looks like this:
11:04:07.297 ERROR handler.ContentHandler - Error on File /Users/fabrizzio/code/servers/server2/assets/bundles/01E32PEDZAQ26QSBP5G68QJZRT/working/demo.dotcms.com, content id:(empty) :null
java.lang.NullPointerException: null
at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.publish_aroundBody30(ESContentletAPIImpl.java:559) ~[dotcms_5.0.0_a933c1b.jar:?]
at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl$AjcClosure31.run(ESContentletAPIImpl.java:1) ~[dotcms_5.0.0_a933c1b.jar:?]
But I've seen it fail silently also.
Expected behavior
The system should be capable of Push-publishing Both New Pages as well as existing pages to the receiver.
Additional context
Add any other context about the problem here.
Acceptance Criteria
Multilanguage
Unit test
The text was updated successfully, but these errors were encountered:
Describe the bug
Basically when Push-publishing New Pages
You'll see a NullPointer Exception that is originated in the class ContentHandler.java
by the following code:
Approx line 534:
New Pages aren't found on the destination environment causing a NPE when publish is attempted.
Steps to reproduce the behavior:
The error looks like this:
But I've seen it fail silently also.
Expected behavior
The system should be capable of Push-publishing Both New Pages as well as existing pages to the receiver.
Additional context
Add any other context about the problem here.
Acceptance Criteria
The text was updated successfully, but these errors were encountered: