From commits-return-20132-apmail-activemq-commits-archive=activemq.apache.org@activemq.apache.org Fri Sep 28 17:23:08 2012 Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C06A6D388 for ; Fri, 28 Sep 2012 17:23:08 +0000 (UTC) Received: (qmail 78890 invoked by uid 500); 28 Sep 2012 17:23:08 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 78863 invoked by uid 500); 28 Sep 2012 17:23:08 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 78855 invoked by uid 99); 28 Sep 2012 17:23:08 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2012 17:23:08 +0000 Date: Sat, 29 Sep 2012 04:23:08 +1100 (NCT) From: "Hiram Chirino (JIRA)" To: commits@activemq.apache.org Message-ID: <1115377884.140131.1348852988635.JavaMail.jiratomcat@arcas> In-Reply-To: <380846586.138189.1348814947577.JavaMail.jiratomcat@arcas> Subject: [jira] [Resolved] (APLO-264) NPE in latest snapshot - broker fails to start MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/APLO-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hiram Chirino resolved APLO-264. -------------------------------- Resolution: Fixed Fix Version/s: 1.5 Explicitly setting the Jetty log implementation so that the NPE can never occur. > NPE in latest snapshot - broker fails to start > ---------------------------------------------- > > Key: APLO-264 > URL: https://issues.apache.org/jira/browse/APLO-264 > Project: ActiveMQ Apollo > Issue Type: Bug > Components: apollo-broker > Environment: apollo-99-trunk-20120927.002700-118 > Reporter: Lionel Cons > Assignee: Hiram Chirino > Fix For: 1.5 > > > Using apollo-99-trunk-20120927.002700-118, the broker failed to (re)start: > 2012-09-28 07:27:03,344 | INFO | Opening the log file took: 97.85 ms | > 2012-09-28 07:27:03,517 | INFO | Accepting connections at: tls://0.0.0.0:61133 | > 2012-09-28 07:27:03,517 | INFO | Accepting connections at: tcp://0.0.0.0:61123 | > 2012-09-28 07:27:03,550 | WARN | java.lang.NullPointerException | 13a0b579cf2 > 2012-09-28 07:27:03,550 | WARN | java.lang.NullPointerException | 13a0b579cf3 > 2012-09-28 07:27:03,550 | WARN | java.lang.NullPointerException | 13a0b579cf1 > 2012-09-28 07:27:03,563 | INFO | Accepting connections at: udp://0.0.0.0:6123 | > 2012-09-28 07:27:08,142 | INFO | broker startup is waiting on start connector: websocket, start jetty webserver, start connector: websocket+ssl | > And in stacktrace.log I see: > 2012-09-28 07:27:03,551 | WARN | stackref=13a0b579cf2 > java.lang.NullPointerException > at org.eclipse.jetty.util.component.AbstractLifeCycle.setFailed(AbstractLifeCycle.java:199) > at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) > at org.apache.activemq.apollo.broker.jetty.WebSocketTransportFactory$WsTransportServer$$anonfun$_start$1.apply$mcV$sp(WebSocketTransportFactory.scala:146) > at org.fusesource.hawtdispatch.package$$anon$3.run(hawtdispatch.scala:357) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) > 2012-09-28 07:27:03,551 | WARN | stackref=13a0b579cf1 > java.lang.NullPointerException > at org.eclipse.jetty.util.component.AbstractLifeCycle.setFailed(AbstractLifeCycle.java:199) > at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) > at org.apache.activemq.apollo.broker.jetty.JettyWebServer$$anonfun$_start$1.apply$mcV$sp(JettyWebServer.scala:254) > at org.fusesource.hawtdispatch.package$$anon$3.run(hawtdispatch.scala:357) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) > 2012-09-28 07:27:03,551 | WARN | stackref=13a0b579cf3 > java.lang.NullPointerException > at org.eclipse.jetty.util.component.AbstractLifeCycle.setFailed(AbstractLifeCycle.java:199) > at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) > at org.apache.activemq.apollo.broker.jetty.WebSocketTransportFactory$WsTransportServer$$anonfun$_start$1.apply$mcV$sp(WebSocketTransportFactory.scala:146) > at org.fusesource.hawtdispatch.package$$anon$3.run(hawtdispatch.scala:357) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:662) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira