activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Snyder" <bruce.sny...@gmail.com>
Subject Re: networkConnectors causing NPE
Date Wed, 08 Nov 2006 22:17:22 GMT
On 11/8/06, robottaway <rottaway@musiciansfriend.com> wrote:
>
> I get a null pointer exception from the parsing of the XBean file
> (activemq.xml) when I try to configure a 'networkConnector' element under
> 'networkConnectors'. I am using 4.0.2.
>
> ACTIVEMQ_HOME:
> /opt/MFApps/ServiceMix/activemq_installs/incubator-activemq-4.0.2
> Loading message broker from: xbean:activemq.xml
> ERROR: java.lang.RuntimeException: Failed to execute start task. Reason:
> org.springframework.beans.factory.BeanCreationException: Error creating bean
> with name 'org.apache.activemq.xbean.XBeanBrokerService' defined in class
> path resource [activemq.xml]: Error setting property values; nested
> exception is org.springframework.beans.PropertyAccessExceptionsException:
> PropertyAccessExceptionsException (1 errors); nested
> propertyAccessExceptions are:
> [org.springframework.beans.MethodInvocationException: Property
> 'networkConnectors' threw exception; nested exception is
> java.lang.NullPointerException: null]
> ERROR: java.lang.Exception:
> org.springframework.beans.factory.BeanCreationException: Error creating bean
> with name 'org.apache.activemq.xbean.XBeanBrokerService' defined in class
> path resource [activemq.xml]: Error setting property values; nested
> exception is org.springframework.beans.PropertyAccessExceptionsException:
> PropertyAccessExceptionsException (1 errors); nested
> propertyAccessExceptions are:
> [org.springframework.beans.MethodInvocationException: Property
> 'networkConnectors' threw exception; nested exception is
> java.lang.NullPointerException: null]

Without the configuration file, it's difficult to say just exactly
what the problem might be. Is the <networkConnectors> element inside
of the <broker> element? Please post the activemq.xml file that is
causing the error.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://incubator.apache.org/activemq/
Apache ServiceMix - http://incubator.apache.org/servicemix/
Castor - http://castor.org/

Mime
View raw message