Skip to content

Commit

Permalink
MOR-96 : fixed hazelcast nullpointer (#1017)
Browse files Browse the repository at this point in the history
Co-authored-by: Monobikash Das <[email protected]>
  • Loading branch information
MonobikashDas and Monobikash Das authored Jun 18, 2021
1 parent 05a7947 commit a225187
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public void setListener(Message message) {

@Override
public void start() {
router.setRoute(this.postUrl(mosipEventBus.getEventbus(), MessageBusAddress.MANUAL_VERIFICATION_BUS_IN, MessageBusAddress.MANUAL_VERIFICATION_BUS_OUT));
router.setRoute(this.postUrl(getVertx(), MessageBusAddress.MANUAL_VERIFICATION_BUS_IN, MessageBusAddress.MANUAL_VERIFICATION_BUS_OUT));
this.createServer(router.getRouter(), Integer.parseInt(port));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public class ReprocessorStage extends MosipVerticleAPIManager {
*/
public void deployVerticle() {
mosipEventBus = this.getEventBus(this, clusterManagerUrl);
deployScheduler(mosipEventBus.getEventbus());
deployScheduler(getVertx());

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public void deployVerticle() {

@Override
public void start(){
router.setRoute(this.postUrl(mosipEventBus.getEventbus(),
router.setRoute(this.postUrl(getVertx(),
MessageBusAddress.PACKET_CLASSIFIER_BUS_IN, MessageBusAddress.PACKET_CLASSIFIER_BUS_OUT));
this.createServer(router.getRouter(), Integer.parseInt(port));
}
Expand Down

0 comments on commit a225187

Please sign in to comment.