[ 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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)

Reply via email to