You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/03/30 16:59:00 UTC

[jira] [Work logged] (ARTEMIS-3744) NPE with empty security-manager config in bootstrap.xml

     [ https://issues.apache.org/jira/browse/ARTEMIS-3744?focusedWorklogId=750267&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-750267 ]

ASF GitHub Bot logged work on ARTEMIS-3744:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 30/Mar/22 16:58
            Start Date: 30/Mar/22 16:58
    Worklog Time Spent: 10m 
      Work Description: asfgit closed pull request #3997:
URL: https://github.com/apache/activemq-artemis/pull/3997


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 750267)
    Remaining Estimate: 0h
            Time Spent: 10m

> NPE with empty security-manager config in bootstrap.xml
> -------------------------------------------------------
>
>                 Key: ARTEMIS-3744
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3744
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.21.0
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>             Fix For: 2.22.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When using a configuration like this in {{etc/bootstrap.xml}}:
> {code:xml}
> <security-manager class-name="org.apache.activemq.artemis.spi.core.security.ActiveMQBasicSecurityManager"/>{code}
> This exception is thrown:
> {noformat}
> java.lang.NullPointerException
> 	at org.apache.activemq.artemis.cli.factory.security.SecurityManagerHandler.createSecurityManager(SecurityManagerHandler.java:37)
> 	at org.apache.activemq.artemis.cli.factory.security.SecurityManagerFactory.create(SecurityManagerFactory.java:33)
> 	at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:77)
> 	at org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:157)
> 	at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:105)
> 	at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:132)
> 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> 	at org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:134)
> 	at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:50){noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)