[ 
https://issues.apache.org/jira/browse/QPID-5695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Ross updated QPID-5695:
------------------------------

    Summary: Via web console, creating a vhost with a memory store results in 
illegal argument exception  (was: Via web console, creating a vhost with a 
memory store results in NPE)

> Via web console, creating a vhost with a memory store results in illegal 
> argument exception
> -------------------------------------------------------------------------------------------
>
>                 Key: QPID-5695
>                 URL: https://issues.apache.org/jira/browse/QPID-5695
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.29
>            Reporter: Justin Ross
>
> Steps: nav to create vhost, select memory store, submit.
> {noformat}
> java.lang.IllegalArgumentException: Attribute 'messageStoreSettings' is 
> required.                                                     
>         at 
> org.apache.qpid.server.virtualhost.StandardVirtualHost.validate(StandardVirtualHost.java:65)
>                                
>         at 
> org.apache.qpid.server.model.AbstractConfiguredObject.doValidation(AbstractConfiguredObject.java:392)
>                       
>         at 
> org.apache.qpid.server.model.AbstractConfiguredObject.create(AbstractConfiguredObject.java:357)
>                             
>         at 
> org.apache.qpid.server.model.AbstractConfiguredObjectTypeFactory.create(AbstractConfiguredObjectTypeFactory.java:56)
>        
>         at 
> org.apache.qpid.server.model.AbstractConfiguredObjectTypeFactory.create(AbstractConfiguredObjectTypeFactory.java:31)
>        
>         at 
> org.apache.qpid.server.model.adapter.BrokerAdapter.createVirtualHost(BrokerAdapter.java:413)
>                                
>         at 
> org.apache.qpid.server.model.adapter.BrokerAdapter.addChild(BrokerAdapter.java:516)
>                                         
>         at 
> org.apache.qpid.server.model.AbstractConfiguredObject.createChild(AbstractConfiguredObject.java:827)
>                        
>         at 
> org.apache.qpid.server.configuration.updater.CreateChildTask.call(CreateChildTask.java:68)
>                                  
>         at 
> org.apache.qpid.server.configuration.updater.CreateChildTask.call(CreateChildTask.java:29)
>                                  
>         at 
> org.apache.qpid.server.configuration.updater.TaskExecutor.executeTask(TaskExecutor.java:197)
>                                
>         at 
> org.apache.qpid.server.configuration.updater.TaskExecutor.access$200(TaskExecutor.java:43)
>                                  
>         at 
> org.apache.qpid.server.configuration.updater.TaskExecutor$CallableWrapper$1.run(TaskExecutor.java:225)
>                      
>         at java.security.AccessController.doPrivileged(Native Method)         
>                                                         
>         at javax.security.auth.Subject.doAs(Subject.java:356)                 
>                                                         
>         at 
> org.apache.qpid.server.configuration.updater.TaskExecutor$CallableWrapper.call(TaskExecutor.java:220)
>                       
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)           
>                                                         
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>                                             
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>                                             
>         at java.lang.Thread.run(Thread.java:744)                              
>                                                      
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to