Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-3428

Callbacks-jms fails with NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Java-SCA-1.6
    • Java-SCA-1.6
    • Java SCA Samples
    • None

    Description

      run:
      [java] Jan 21, 2010 10:07:54 AM org.apache.tuscany.sca.node.impl.NodeImpl <init>
      [java] INFO: Creating node: callbacks.composite
      [java] - Using Persistence Adapter: MemoryPersistenceAdapter
      [java] - ActiveMQ null JMS Message Broker (localhost) is starting
      [java] - For help or more information please see: http://activemq.apache.org/
      [java] - Listening for connections at: tcp://macBook-2.local:58600
      [java] - Connector tcp://macBook-2.local:58600 Started
      [java] - Network Connector localhost Started
      [java] - ActiveMQ JMS Message Broker (localhost, ID:macBook-2.local-58601-1264097275318-0:0) started
      [java] Jan 21, 2010 10:07:55 AM org.apache.tuscany.sca.node.impl.NodeImpl configureNode
      [java] INFO: Loading contribution: file:/Users/lresende/opensource/apache/tuscany/releases/tuscany-sca-1.6-SNAPSHOT/samples/callbacks-jms/target/sample-callbacks-jms.jar
      [java] [Deprecated] Xalan: org.apache.xml.serializer.XMLEntities
      [java] Jan 21, 2010 10:07:57 AM org.apache.tuscany.sca.assembly.builder.impl.CompositeBindingURIBuilderImpl
      [java] WARNING: Multiple bindings with the same name for a reference: Reference = orderService Binding name = orderService
      [java] Jan 21, 2010 10:07:57 AM org.apache.tuscany.sca.assembly.builder.impl.CompositeBindingURIBuilderImpl
      [java] WARNING: Multiple bindings with the same name for a service: Service = OrderService Binding name = OrderService
      [java] Jan 21, 2010 10:07:57 AM org.apache.tuscany.sca.node.impl.NodeImpl start
      [java] INFO: Starting node: callbacks.composite
      [java] Exception in thread "main" org.osoa.sca.ServiceRuntimeException: org.apache.tuscany.sca.core.assembly.ActivationException: java.lang.NullPointerException
      [java] at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:731)
      [java] at callbacks.CallbackJMSClient.main(CallbackJMSClient.java:31)
      [java] Caused by: org.apache.tuscany.sca.core.assembly.ActivationException: java.lang.NullPointerException
      [java] at org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.activate(CompositeActivatorImpl.java:998)
      [java] at org.apache.tuscany.sca.node.impl.NodeImpl.start(NodeImpl.java:725)
      [java] ... 1 more
      [java] Caused by: java.lang.NullPointerException
      [java] at org.apache.tuscany.sca.binding.jms.provider.JMSBindingServiceBindingProvider.<init>(JMSBindingServiceBindingProvider.java:130)
      [java] at org.apache.tuscany.sca.binding.jms.provider.JMSBindingProviderFactory.createServiceBindingProvider(JMSBindingProviderFactory.java:64)
      [java] at org.apache.tuscany.sca.binding.jms.provider.JMSBindingProviderFactory.createServiceBindingProvider(JMSBindingProviderFactory.java:38)
      [java] at org.apache.tuscany.sca.provider.DefaultProviderFactoryExtensionPoint$LazyBindingProviderFactory.createServiceBindingProvider(DefaultProviderFactoryExtensionPoint.java:248)
      [java] at org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.addServiceBindingProvider(CompositeActivatorImpl.java:512)
      [java] at org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.activate(CompositeActivatorImpl.java:874)
      [java] at org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.activate(CompositeActivatorImpl.java:990)
      [java] ... 2 more
      [java] - ActiveMQ Message Broker (localhost, ID:macBook-2.local-58601-1264097275318-0:0) is shutting down
      [java] - Network Connector localhost Stopped
      [java] - Connector tcp://macBook-2.local:58600 Stopped
      [java] - ActiveMQ JMS Message Broker (localhost, ID:macBook-2.local-58601-1264097275318-0:0) stopped
      [java] Java Result: 1

      Attachments

        Activity

          People

            lresende Luciano Resende
            lresende Luciano Resende
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: