阿波罗activemq AMQP NullPointerException [英] Apollo activemq AMQP NullPointerException

查看:195
本文介绍了阿波罗activemq AMQP NullPointerException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在尝试发布Java对象时遇到以下异常。

Getting following exception while trying to post a Java object. Any pointers are appreciated.

> 2015-12-26 23:06:32,876 | WARN  | stackref=151df5b0a0f
> java.lang.NullPointerException    at
> org.apache.activemq.apollo.broker.QueueEntry$Swapped.swapped_in(QueueEntry.scala:809)
>   at
> org.apache.activemq.apollo.broker.QueueEntry$Swapped$$anonfun$swap_in$1$$anonfun$apply$2.apply$mcV$sp(QueueEntry.scala:764)
>   at
> org.apache.activemq.apollo.util.DeferringDispatched$$anon$1.run(Dispatched.scala:38)
>   at
> org.apache.activemq.apollo.util.DeferringDispatched$$anonfun$dispatch_queue_task_source$1$$anonfun$apply$mcV$sp$1.apply(Dispatched.scala:45)
>   at
> org.apache.activemq.apollo.util.DeferringDispatched$$anonfun$dispatch_queue_task_source$1$$anonfun$apply$mcV$sp$1.apply(Dispatched.scala:45)
>   at scala.collection.immutable.List.foreach(List.scala:309)  at
> scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:32)
>   at scala.collection.mutable.ListBuffer.foreach(ListBuffer.scala:45)
>   at
> org.apache.activemq.apollo.util.DeferringDispatched$$anonfun$dispatch_queue_task_source$1.apply$mcV$sp(Dispatched.scala:45)
>   at
> org.fusesource.hawtdispatch.package$$anon$4.run(hawtdispatch.scala:357)
>   at
> org.fusesource.hawtdispatch.internal.HawtCustomDispatchSource$1.run(HawtCustomDispatchSource.java:127)
>   at
> org.fusesource.hawtdispatch.internal.SerialDispatchQueue.run(SerialDispatchQueue.java:100)
>   at
> org.fusesource.hawtdispatch.internal.pool.SimpleThread.run(SimpleThread.java:77)


推荐答案

在相当长的一段时间内,ActiveMQ Apollo几乎没有开发,甚至没有发展。您应该使用ActiveMQ 5或尝试使用ActiveMQ Artemis来确定它是否满足您的需求。

There has been little to no development on ActiveMQ Apollo in quite some time and doubt there will be any to come. You should use ActiveMQ 5 or try out ActiveMQ Artemis to see if that meets your needs.

这篇关于阿波罗activemq AMQP NullPointerException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆