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

Domain-management sample fails when trying to add deployables to a domain composite and wire them

    XMLWordPrintableJSON

Details

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

    Description

      • Using Persistence Adapter: MemoryPersistenceAdapter
      • ActiveMQ null JMS Message Broker (localhost) is starting
      • For help or more information please see: http://activemq.apache.org/
      • Listening for connections at: tcp://macBook-2.local:58812
      • Connector tcp://macBook-2.local:58812 Started
      • Network Connector localhost Started
      • ActiveMQ JMS Message Broker (localhost, ID:macBook-2.local-58813-1264098251841-0:0) started
        Exception in thread "main" org.apache.tuscany.sca.contribution.service.ContributionResolveException: java.lang.NullPointerException
        at org.apache.tuscany.sca.workspace.processor.impl.ContributionContentProcessor.resolve(ContributionContentProcessor.java:240)
        at org.apache.tuscany.sca.workspace.processor.impl.ContributionContentProcessor.resolve(ContributionContentProcessor.java:69)
        at org.apache.tuscany.sca.contribution.processor.DefaultURLArtifactProcessorExtensionPoint$LazyURLArtifactProcessor.resolve(DefaultURLArtifactProcessorExtensionPoint.java:240)
        at manager.WireComponents.main(WireComponents.java:187)
        Caused by: java.lang.NullPointerException
        at org.apache.tuscany.sca.contribution.resolver.DefaultImportModelResolver.resolveModel(DefaultImportModelResolver.java:55)
        at org.apache.tuscany.sca.contribution.resolver.DefaultDelegatingModelResolver.resolveModel(DefaultDelegatingModelResolver.java:54)
        at org.apache.tuscany.sca.contribution.java.impl.ClassLoaderModelResolver.findClass(ClassLoaderModelResolver.java:154)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:315)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:398)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:247)
        at org.apache.tuscany.sca.contribution.java.impl.ClassLoaderModelResolver.resolveModel(ClassLoaderModelResolver.java:103)
        at org.apache.tuscany.sca.contribution.resolver.ExtensibleModelResolver.resolveModel(ExtensibleModelResolver.java:179)
        at org.apache.tuscany.sca.implementation.java.xml.JavaImplementationProcessor.resolve(JavaImplementationProcessor.java:217)
        at org.apache.tuscany.sca.implementation.java.xml.JavaImplementationProcessor.resolve(JavaImplementationProcessor.java:74)
        at org.apache.tuscany.sca.contribution.processor.DefaultStAXArtifactProcessorExtensionPoint$LazyStAXArtifactProcessor.resolve(DefaultStAXArtifactProcessorExtensionPoint.java:388)
        at org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor.resolve(ExtensibleStAXArtifactProcessor.java:183)
        at org.apache.tuscany.sca.assembly.xml.BaseAssemblyProcessor.resolveImplementation(BaseAssemblyProcessor.java:340)
        at org.apache.tuscany.sca.assembly.xml.CompositeProcessor.resolve(CompositeProcessor.java:1028)
        at org.apache.tuscany.sca.assembly.xml.CompositeProcessor.resolve(CompositeProcessor.java:90)
        at org.apache.tuscany.sca.contribution.processor.DefaultStAXArtifactProcessorExtensionPoint$LazyStAXArtifactProcessor.resolve(DefaultStAXArtifactProcessorExtensionPoint.java:388)
        at org.apache.tuscany.sca.contribution.processor.ExtensibleStAXArtifactProcessor.resolve(ExtensibleStAXArtifactProcessor.java:183)
        at org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.resolve(CompositeDocumentProcessor.java:231)
        at org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcessor.resolve(CompositeDocumentProcessor.java:59)
        at org.apache.tuscany.sca.contribution.processor.DefaultURLArtifactProcessorExtensionPoint$LazyURLArtifactProcessor.resolve(DefaultURLArtifactProcessorExtensionPoint.java:240)
        at org.apache.tuscany.sca.contribution.processor.ExtensibleURLArtifactProcessor.resolve(ExtensibleURLArtifactProcessor.java:106)
        at org.apache.tuscany.sca.workspace.processor.impl.ContributionContentProcessor.resolve(ContributionContentProcessor.java:236)
        ... 3 more
      • ActiveMQ Message Broker (localhost, ID:macBook-2.local-58813-1264098251841-0:0) is shutting down
      • Network Connector localhost Stopped
      • Connector tcp://macBook-2.local:58812 Stopped
      • ActiveMQ JMS Message Broker (localhost, ID:macBook-2.local-58813-1264098251841-0:0) stopped

      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: