[ https://issues.apache.org/jira/browse/TUSCANY-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luciano Resende resolved TUSCANY-2127. -------------------------------------- Resolution: Fixed Fixed dependencies issues and also proper initialization of JMS broker. > helloworld-service-jms fails with nullp using 1.2 RC1 > ----------------------------------------------------- > > Key: TUSCANY-2127 > URL: https://issues.apache.org/jira/browse/TUSCANY-2127 > Project: Tuscany > Issue Type: Bug > Components: Java SCA Samples > Affects Versions: Java-SCA-1.2 > Environment: windows xp > Reporter: haleh mahbod > Priority: Critical > Fix For: Java-SCA-1.2 > > > s>ant compile run > Buildfile: build.xml > init: > [mkdir] Created dir: > C:\tuscany\sca\tuscany-sca-1.2-incubating-SNAPSHOT\samp > les\helloworld-service-jms\target\classes > compile: > [javac] Compiling 3 source files to > C:\tuscany\sca\tuscany-sca-1.2-incubatin > g-SNAPSHOT\samples\helloworld-service-jms\target\classes > [copy] Copying 3 files to > C:\tuscany\sca\tuscany-sca-1.2-incubating-SNAPSHO > T\samples\helloworld-service-jms\target\classes > [jar] Building jar: > C:\tuscany\sca\tuscany-sca-1.2-incubating-SNAPSHOT\sam > ples\helloworld-service-jms\target\sample-helloworld-ws-service-jms.jar > run: > [java] Exception in thread "main" org.osoa.sca.ServiceRuntimeException: > jav > a.lang.NullPointerException > [java] at > org.apache.tuscany.sca.host.embedded.SCADomain.createNewInsta > nce(SCADomain.java:264) > [java] at > org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SC > ADomain.java:69) > [java] at helloworld.HelloWorldServer.main(HelloWorldServer.java:34) > [java] Caused by: java.lang.NullPointerException > [java] at > commonj.sdo.impl.HelperProvider.getDefaultContext(HelperProvi > der.java:379) > [java] at > org.apache.tuscany.sca.databinding.sdo.SDODataBinding.introsp > ect(SDODataBinding.java:61) > [java] at > org.apache.tuscany.sca.databinding.DefaultDataBindingExtensio > nPoint$LazyDataBinding.introspect(DefaultDataBindingExtensionPoint.java:191) > [java] at > org.apache.tuscany.sca.databinding.DefaultDataBindingExtensio > nPoint.introspectType(DefaultDataBindingExtensionPoint.java:246) > [java] at > org.apache.tuscany.sca.databinding.DefaultDataBindingExtensio > nPoint.introspectType(DefaultDataBindingExtensionPoint.java:202) > [java] at > org.apache.tuscany.sca.core.databinding.processor.DataBinding > JavaInterfaceProcessor.processInterface(DataBindingJavaInterfaceProcessor.java:1 > 15) > [java] at > org.apache.tuscany.sca.core.databinding.processor.DataBinding > JavaInterfaceProcessor.visitInterface(DataBindingJavaInterfaceProcessor.java:60) > [java] at > org.apache.tuscany.sca.interfacedef.java.impl.JavaInterfaceIn > trospectorImpl.introspectInterface(JavaInterfaceIntrospectorImpl.java:91) > [java] at > org.apache.tuscany.sca.interfacedef.java.impl.JavaInterfaceFa > ctoryImpl.createJavaInterface(JavaInterfaceFactoryImpl.java:53) > [java] at > org.apache.tuscany.sca.interfacedef.java.xml.JavaInterfacePro > cessor.resolveJavaInterface(JavaInterfaceProcessor.java:119) > [java] at > org.apache.tuscany.sca.interfacedef.java.xml.JavaInterfacePro > cessor.resolve(JavaInterfaceProcessor.java:136) > [java] at > org.apache.tuscany.sca.interfacedef.java.xml.JavaInterfacePro > cessor.resolve(JavaInterfaceProcessor.java:42) > [java] at > org.apache.tuscany.sca.contribution.processor.DefaultStAXArti > factProcessorExtensionPoint$LazyStAXArtifactProcessor.resolve(DefaultStAXArtifac > tProcessorExtensionPoint.java:252) > [java] at > org.apache.tuscany.sca.contribution.processor.ExtensibleStAXA > rtifactProcessor.resolve(ExtensibleStAXArtifactProcessor.java:109) > [java] at > org.apache.tuscany.sca.assembly.xml.BaseAssemblyProcessor.res > olveContracts(BaseAssemblyProcessor.java:356) > [java] at > org.apache.tuscany.sca.assembly.xml.CompositeProcessor.resolv > e(CompositeProcessor.java:844) > [java] at > org.apache.tuscany.sca.assembly.xml.CompositeProcessor.resolv > e(CompositeProcessor.java:80) > [java] at > org.apache.tuscany.sca.contribution.processor.ExtensibleStAXA > rtifactProcessor.resolve(ExtensibleStAXArtifactProcessor.java:109) > [java] at > org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcesso > r.resolve(CompositeDocumentProcessor.java:138) > [java] at > org.apache.tuscany.sca.assembly.xml.CompositeDocumentProcesso > r.resolve(CompositeDocumentProcessor.java:53) > [java] at > org.apache.tuscany.sca.contribution.processor.ExtensibleURLAr > tifactProcessor.resolve(ExtensibleURLArtifactProcessor.java:86) > [java] at > org.apache.tuscany.sca.contribution.service.impl.Contribution > ServiceImpl.processResolvePhase(ContributionServiceImpl.java:464) > [java] at > org.apache.tuscany.sca.contribution.service.impl.Contribution > ServiceImpl.addContribution(ContributionServiceImpl.java:348) > [java] at > org.apache.tuscany.sca.contribution.service.impl.Contribution > ServiceImpl.contribute(ContributionServiceImpl.java:161) > [java] at > org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.ad > dContribution(DefaultSCADomain.java:272) > [java] at > org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.in > it(DefaultSCADomain.java:155) > [java] at > org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<i > nit>(DefaultSCADomain.java:109) > [java] at > org.apache.tuscany.sca.host.embedded.SCADomain.createNewInsta > nce(SCADomain.java:230) > [java] ... 2 more > [java] Java Result: 1 > BUILD SUCCESSFUL > Total time: 6 seconds > C:\tuscany\sca\tuscany-sca-1.2-incubating-SNAPSHOT\samples\helloworld-service-jm -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]