1

尝试发布 Java 对象时出现以下异常。任何指针表示赞赏。

> 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)
4

1 回答 1

2

在相当长的一段时间内,ActiveMQ Apollo 几乎没有任何开发,并且怀疑会有任何开发。您应该使用 ActiveMQ 5 或试用 ActiveMQ Artemis,看看是否满足您的需求。

于 2015-12-27T23:21:45.820 回答