activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martyn Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ARTEMIS-448) NPE if connection properties not set
Date Wed, 08 Jun 2016 12:57:21 GMT

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

Martyn Taylor updated ARTEMIS-448:
----------------------------------
    Fix Version/s: 1.3.0

> NPE if connection properties not set
> ------------------------------------
>
>                 Key: ARTEMIS-448
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-448
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: AMQP
>    Affects Versions: 1.2.0
>            Reporter: Gordon Sim
>             Fix For: 1.3.0
>
>
> If a client connecting to Artemis over AMQP does not set the properties field in the
open frame, Artemis prints an NPE:
> {noformat}
> java.lang.NullPointerException
> 	at org.proton.plug.context.AbstractConnectionContext$LocalListener.onRemoteOpen(AbstractConnectionContext.java:185)
> 	at org.proton.plug.handler.Events.dispatch(Events.java:40)
> 	at org.proton.plug.handler.impl.ProtonHandlerImpl.dispatch(ProtonHandlerImpl.java:357)
> 	at org.proton.plug.handler.impl.ProtonHandlerImpl.access$000(ProtonHandlerImpl.java:49)
> 	at org.proton.plug.handler.impl.ProtonHandlerImpl$1.run(ProtonHandlerImpl.java:62)
> 	at org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$ExecutorTask.run(OrderedExecutorFactory.java:100)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> 	at java.lang.Thread.run(Thread.java:745)
> {noformat}



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

Mime
View raw message