Steve,

Java SCA FAQ says that Java 1.6 may not work. Can you try 1.5?
Here is the link:
http://incubator.apache.org/tuscany/tuscany-sca-java-faq.html#TuscanySCAJava-FAQ-BuildA

Haleh

On 8/14/07, haleh mahbod <[EMAIL PROTECTED]> wrote:
>
> Hi Steve,
> I am posting this to Tuscany-dev to see if  there is a problem with the
> nightly while I am also downloading the latest to see if I run into the
> issue.
>
> Haleh
>
> On 8/14/07, Steve Jones <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I've been working through the example. Everything builds OK.
> >
> > I get a null pointer exception when I try to run it (details at end).
> >
> > AFAIK I've built the demo exactly as outlined using the nightly build.
> >
> > I've linked eclipse to the latest svn source as the 0.91 source was
> > giving
> > me line number missmatch when I tried to do some debugging.
> >
> > I'm ruining eclipse Europa on Windows Vista with Java 1.6.0_02 .
> >
> > I'm completely new to web services so I really have no clue what to look
> > out  for.
> >
> > So far I've managed to get Tomcat running under IIS on a Windows Vista
> > machine. I can stop and start Tomcat and the Tomcat jsp examples seem to
> >
> > work OK.
> >
> > I've made sure Tomcat is stopped when I launch the Tuscany demo.
> >
> > Could any of the above be the cause of the problem?
> >
> > Any suggestions would be very welcome,
> >
> > Thanks, Steve.
> >
> >
> > Starting ...
> > Exception in thread "main" org.osoa.sca.ServiceRuntimeException:
> > java.lang.NullPointerException
> >         at
> > org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(
> > SCADomain.java :264)
> >         at
> > org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(
> > SCADomain.java:69)
> >         at launch.Launch.main(Launch.java:8)
> > Caused by: java.lang.NullPointerException
> >         at
> >
> > org.apache.tuscany.sca.interfacedef.impl.TempServiceDeclarationUtil.getServiceClassNames(
> > TempServiceDeclarationUtil.java:46)
> >         at
> >
> > org.apache.tuscany.sca.core.DefaultExtensionPointRegistry.getExtensionPoint
> > (DefaultExtensionPointRegistry.java:71)
> >         at
> >
> > org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntimeBuilder.createContributionService(
> > ReallySmallRuntimeBuilder.java:152)
> >         at
> > org.apache.tuscany.sca.host.embedded.impl.ReallySmallRuntime.start(
> > ReallySmallRuntime.java:109)
> >         at
> > org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain .<init>(
> > DefaultSCADomain.java:93)
> >         at
> > org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(
> > SCADomain.java:230)
> >         ... 2 more
> >
> >
>

Reply via email to