[
https://issues.apache.org/jira/browse/QPID-2624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Kennedy updated QPID-2624:
---------------------------------
Attachment: 0006-QPID-2624-Check-whether-virtualhosts-configuration.patch
Added exists check and throw ConfigurationException if missing and test.
> NPE thrown when virtualhost.xml file cannot be loaded
> -----------------------------------------------------
>
> Key: QPID-2624
> URL: https://issues.apache.org/jira/browse/QPID-2624
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: 0.6
> Reporter: Martin Ritchie
> Attachments:
> 0006-QPID-2624-Check-whether-virtualhosts-configuration.patch
>
>
> If the specfied virtualhost.xml file does not exist when the broker is
> started up a NullPointerException:
> at
> org.apache.qpid.server.configuration.ServerConfiguration.parseConfig(ServerConfiguration.java:217)
> at
> org.apache.qpid.server.configuration.ServerConfiguration.setupVirtualHosts(ServerConfiguration.java:180)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]