Skip to content

Commit

Permalink
fix version and null check
Browse files Browse the repository at this point in the history
  • Loading branch information
kulagaIA committed Feb 17, 2024
1 parent 579fe34 commit 9a248bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/camel-platform-http-jolokia/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<description>Jolokia plugin for standalone Camel HTTP Platform</description>

<properties>
<firstVersion>4.4.0</firstVersion>
<firstVersion>4.5.0</firstVersion>
<label>http,monitoring</label>
</properties>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ public void doStart() {

@Override
public void doStop() {
serviceManager.stop();
if (serviceManager != null) {
serviceManager.stop();
}
}

@Override
Expand All @@ -93,7 +95,7 @@ private Restrictor createRestrictor(String pLocation) {
}
} catch (IOException e) {
jolokiaLogHandler.error("Error while accessing access restrictor at " + pLocation +
". Denying all access to MBeans for security reasons. Exception: " + e,
". Denying all access to MBeans for security reasons. Exception: " + e,
e);
return new DenyAllRestrictor();
}
Expand Down

0 comments on commit 9a248bb

Please sign in to comment.