【问题标题】:Apollo activemq AMQP NullPointerExceptionApollo activemq AMQP NullPointerException
【发布时间】:2016-04-01 04:44:02
【问题描述】:

尝试发布 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)

【问题讨论】:

    标签: activemq apollo


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2014-07-20
      • 2015-01-31
      • 2014-07-24
      • 2013-08-06
      • 2015-02-24
      • 2017-08-19
      • 1970-01-01
      • 2019-08-21
      • 2020-09-08
      相关资源
      最近更新 更多