[ 
https://issues.apache.org/jira/browse/AMQ-6899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17242485#comment-17242485
 ] 

ASF subversion and git services commented on AMQ-6899:
------------------------------------------------------

Commit 6e2854789b2387ae3305e5f6986713b34a0d96c1 in activemq's branch 
refs/heads/master from Jean-Baptiste Onofré
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=6e28547 ]

Merge pull request #590 from jbonofre/AMQ-6899

[AMQ-6899] Use generic spring schema name (working with any Spring version) in 
RuntimeConfigurationPlugin

> Runtime Configuration Plugin throwing NPE at startup
> ----------------------------------------------------
>
>                 Key: AMQ-6899
>                 URL: https://issues.apache.org/jira/browse/AMQ-6899
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Plugin
>    Affects Versions: 5.13.3
>         Environment: Karaf
> both Windows and Linux (CentOS 7)
>            Reporter: Peter Berkman
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 5.17.0, 5.16.1, 5.15.14
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> NOTE: running in Karaf
>  
> Here is the plugin declaration from activemq.xml - note: have tried by with 
> and without the checkPeriod - both throw the same NPE:
> {code:java}
> <plugins>
>      <runtimeConfigurationPlugin />
>  </plugins>
> <plugins>
>     <runtimeConfigurationPlugin checkPeriod="2000" />
> </plugins>
> {code}
> The configuration seems to load fine, but this exception is thrown on every 
> startup.
>  
>  
> {code:java}
> 20180213 16:34:25.556 [INFO ] Broker Starting Thread | 
> 150:org.apache.activemq.activemq-osgi | 
> org.apache.activemq.plugin.AbstractRuntimeConfigurationBroker | Unexpected 
> exception during load of: URL 
> [file:/D:/Nextgate/products/ngs/etc/activemq.xml]
> java.lang.NullPointerException
>  at 
> org.apache.activemq.plugin.RuntimeConfigurationBroker.getSchema(RuntimeConfigurationBroker.java:232)[150:org.apache.activemq.activemq-osgi:5.13.3]
>  at 
> org.apache.activemq.plugin.RuntimeConfigurationBroker.loadConfiguration(RuntimeConfigurationBroker.java:178)[150:org.apache.activemq.activemq-osgi:5.13.3]
>  at 
> org.apache.activemq.plugin.RuntimeConfigurationBroker.start(RuntimeConfigurationBroker.java:82)[150:org.apache.activemq.activemq-osgi:5.13.3]
>  at 
> org.apache.activemq.broker.BrokerService$6.start(BrokerService.java:2324)[150:org.apache.activemq.activemq-osgi:5.13.3]
>  at 
> org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:732)[150:org.apache.activemq.activemq-osgi:5.13.3]
>  at 
> org.apache.activemq.broker.BrokerService.access$300(BrokerService.java:139)[150:org.apache.activemq.activemq-osgi:5.13.3]
>  at 
> org.apache.activemq.broker.BrokerService$3.run(BrokerService.java:711)[150:org.apache.activemq.activemq-osgi:5.13.3]
> 20180213 16:34:25.568 [INFO ] Broker Starting Thread | 
> 150:org.apache.activemq.activemq-osgi | 
> org.apache.activemq.transport.TransportServerThreadSupport | Listening for 
> connections at: 
> tcp://127.0.0.1:8206?transport.threadName&transport.maximumConnections=1000&wireFormat.maxFrameSize=104857600
>  
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to