Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Newbie Axis + Webtools installation question
Newbie Axis + Webtools installation question [message #160088] Fri, 10 February 2006 05:32 Go to next message
Eclipse UserFriend
I'm getting a NullPointerException whilst trying to create a web service, but I'll ask an installation question
first:

Do I actually need to 'install' Axis into Eclipse+Webtools for it to work, because I haven't actually followed
any installation procedure?

I've downloaded the Axis 1.3 zip file, extracted it and then copied the example app into a new dynamic web
project. I managed to create a 'hello world' jws file that deployed to Tomcat on my local machine, and a simple
client to invoke the web service, and this worked fine.

I am now trying to create a web service using the webtools wizard. The wizard defaults to 'Apache Axis' as the
Web Service Runtime, but I'm not sure where it has picked this up from? When I try and 'Finish' the wizard, I
get a NullPointerException:

IWAB0014E Unexpected exception occured.

java.lang.NullPointerException
at
org.eclipse.jst.ws.internal.axis.consumption.ui.util.Classpa thUtils.getUtilityJarClasspath(ClasspathUtils.java:167)
at
org.eclipse.jst.ws.internal.axis.consumption.ui.util.Classpa thUtils.getClasspathForJavaProject(ClasspathUtils.java:247)
at org.eclipse.jst.ws.internal.axis.consumption.ui.util.Classpa thUtils.getClasspath(ClasspathUtils.java:147)
at
org.eclipse.jst.ws.internal.axis.consumption.ui.util.Classpa thUtils.classpathEntry2String(ClasspathUtils.java:280)
at
org.eclipse.jst.ws.internal.axis.consumption.ui.util.Classpa thUtils.getClasspathForJavaProject(ClasspathUtils.java:232)
at org.eclipse.jst.ws.internal.axis.consumption.ui.util.Classpa thUtils.getClasspath(ClasspathUtils.java:147)
at
org.eclipse.jst.ws.internal.axis.consumption.ui.util.Classpa thUtils.getClasspathString(ClasspathUtils.java:69)
at
org.eclipse.jst.ws.internal.axis.creation.ui.task.DefaultsFo rServerJavaWSDLCommand.execute(DefaultsForServerJavaWSDLComm and.java:91)
at
org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.runCommand(CommandFragmentEngine.java:386)
at
org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.visitTop(CommandFragmentEngine.java:327)
at
.... <snip>

Thank you for any pointers,

Russell Dodd
Re: Newbie Axis + Webtools installation question [message #160375 is a reply to message #160088] Sun, 12 February 2006 00:54 Go to previous message
Eclipse UserFriend
Originally posted by: jazeltine.sbcglobal.net

Russell Dodd <Russell.Dodd@scisys.co.uk> wrote in
news:dshq3s$a0$1@utils.eclipse.org:

>
> I'm getting a NullPointerException whilst trying to create a web
> service, but I'll ask an installation question first:
>
> Do I actually need to 'install' Axis into Eclipse+Webtools for it to
> work, because I haven't actually followed any installation procedure?
>
> I've downloaded the Axis 1.3 zip file, extracted it and then copied
> the example app into a new dynamic web project. I managed to create a
> 'hello world' jws file that deployed to Tomcat on my local machine,
> and a simple client to invoke the web service, and this worked fine.
>
> I am now trying to create a web service using the webtools wizard. The
> wizard defaults to 'Apache Axis' as the Web Service Runtime, but I'm
> not sure where it has picked this up from? When I try and 'Finish' the
> wizard, I get a NullPointerException:
>
> IWAB0014E Unexpected exception occured.
>
> java.lang.NullPointerException
> at
> org.eclipse.jst.ws.internal.axis.consumption.ui.util.Classpa thUtils.ge
t
> UtilityJarClasspath(ClasspathUtils.java:167)
> at
> org.eclipse.jst.ws.internal.axis.consumption.ui.util.Classpa thUtils.ge
t
> ClasspathForJavaProject(ClasspathUtils.java:247)
> at
> org.eclipse.jst.ws.internal.axis.consumption.ui.util.Classpa thU
t
> ils.getClasspath(ClasspathUtils.java:147) at
> org.eclipse.jst.ws.internal.axis.consumption.ui.util.Classpa thUtils.cl
a
> sspathEntry2String(ClasspathUtils.java:280)
> at
> org.eclipse.jst.ws.internal.axis.consumption.ui.util.Classpa thUtils.ge
t
> ClasspathForJavaProject(ClasspathUtils.java:232)
> at
> org.eclipse.jst.ws.internal.axis.consumption.ui.util.Classpa thU
t
> ils.getClasspath(ClasspathUtils.java:147) at
> org.eclipse.jst.ws.internal.axis.consumption.ui.util.Classpa thUtils.ge
t
> ClasspathString(ClasspathUtils.java:69)
> at
> org.eclipse.jst.ws.internal.axis.creation.ui.task.DefaultsFo rServerJav
a
> WSDLCommand.execute(DefaultsForServerJavaWSDLCommand.java:91 )
> at
> org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngi
n
> e.runCommand(CommandFragmentEngine.java:386)
> at
> org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngi
n
> e.visitTop(CommandFragmentEngine.java:327)
> at
> ... <snip>
>
> Thank you for any pointers,
>
> Russell Dodd
>
>
I would suggest that you try the all-in-one install. It is the whole
thing, Eclipse, EMF, GEF, JEM, and WTP, all in one nice neat package.
All you have to do is unzip and run it, no need to install anything
else.
Here is the link to the WTP 0.7.1 version, which appears to be very
stable.
http://download.eclipse.org/webtools/downloads/drops/M-0.7.1 -
200509270720

I would avoid the WTP 1.0 release as it is still buggy.

Jim
Previous Topic:Cannot start WebSphere 6 server
Next Topic:Webtools 1.0 running on Kanotix/Debian
Goto Forum:
  


Current Time: Mon Apr 14 17:33:57 EDT 2025

Powered by FUDForum. Page generated in 0.02978 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top