qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Godfrey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-6068) NPE encountered whilst editing JMX_CONNECTOR port
Date Wed, 03 Sep 2014 23:57:51 GMT

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

Rob Godfrey commented on QPID-6068:
-----------------------------------

This seems to be a consequence of QPID-6034 where the client auth properties were removed
from the JMX port.  This validate method is only really appropriate to Http and Amqp ports
and would need to be moved/copied appropriately.

Since that change has gone into 0.30, I think we should try to fix this for that release

> NPE encountered whilst editing JMX_CONNECTOR port
> -------------------------------------------------
>
>                 Key: QPID-6068
>                 URL: https://issues.apache.org/jira/browse/QPID-6068
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.31
>            Reporter: Keith Wall
>
> I try to edit the JMX_CONNECTOR using the Web Management Console of a freshly started
0.31 Broker. After changing the port number, clicking Save Port gives error message "409 -
Unexpected error - see server logs" with the following NPE in the logs:
> {noformat}
> 2014-09-03 21:31:24,853 WARN  [qtp1843347357-29] (rest.RestServlet) - Unexpected exception
processing request
> java.lang.NullPointerException
> 	at org.apache.qpid.server.model.port.AbstractPortWithAuthProvider.validateChange(AbstractPortWithAuthProvider.java:101)
> 	at org.apache.qpid.server.model.AbstractConfiguredObject.changeAttributes(AbstractConfiguredObject.java:1340)
> 	at org.apache.qpid.server.model.AbstractConfiguredObject$11.execute(AbstractConfiguredObject.java:1327)
> 	at org.apache.qpid.server.configuration.updater.TaskExecutorImpl$2.execute(TaskExecutorImpl.java:149)
> 	at org.apache.qpid.server.configuration.updater.TaskExecutorImpl$2.execute(TaskExecutorImpl.java:145)
> 	at org.apache.qpid.server.configuration.updater.TaskExecutorImpl.executeTask(TaskExecutorImpl.java:299)
> 	at org.apache.qpid.server.configuration.updater.TaskExecutorImpl.access$400(TaskExecutorImpl.java:43)
> 	at org.apache.qpid.server.configuration.updater.TaskExecutorImpl$CallableWrapper$1.run(TaskExecutorImpl.java:327)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAs(Subject.java:356)
> 	at org.apache.qpid.server.configuration.updater.TaskExecutorImpl$CallableWrapper.call(TaskExecutorImpl.java:322)
> 	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:745)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message