Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 88349 - IWAB0489E Error when deploying Web service to Axis runtime
Summary: IWAB0489E Error when deploying Web service to Axis runtime
Status: CLOSED DUPLICATE of bug 92603
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: jst.ws (show other bugs)
Version: 0.7   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Kathy Chan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 90524 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-17 11:46 EST by Gary Mohr CLA
Modified: 2009-11-20 03:28 EST (History)
2 users (show)

See Also:


Attachments
Modified log4j.properties file to get additional debug data about the problem. (1.20 KB, text/plain)
2005-03-18 10:45 EST, Gary Mohr CLA
no flags Details
axis.log file produced when this problem occured. (59.62 KB, text/plain)
2005-03-18 11:06 EST, Gary Mohr CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Mohr CLA 2005-03-17 11:46:05 EST
When trying to run the BottomUp Web Service tutorial from :
http://www.eclipse.org/webtools/jst/components/ws/tutorials/BottomUpWebService.h
tml

I get the following error:

IWAB0489E Error when deploying Web service to Axis runtime
  axis-admin failed with
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
java.lang.NullPointerException

The error shows up in step 12 after clicking the Finish button it 
churns for a while then gives me the error:

I also notice that the ERR LOG window shows the message
 (does this represent a problem ?):

Skipping builder com.ibm.etools.j2ee.LibCopyBuilder for project converter.
Either the builder is missing from the install, or it belongs to a project
nature that is missing or disabled.
An exception stack trace could not be found.

I am running with:
  Tomcat v5.0 (instead of version 4.1 mentioned in the tutorial)
  eclipse-SDK-3.1M5a-win32.zip
  emf-sdo-xsd-SDK-I200502171619.zip
  GEF-SDK-I20050215.zip
  JEM-runtime-1.0.2.zip
  wtp-1.0M3.zip

I modified the log4j.properties file (changed version shown below) to try and
get additional debug information.

With these changes it generated an axis.log file which
contained the following stack excerpt for the NullPointerException:

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: java.lang.NullPointerException
 faultActor:
 faultNode:
 faultDetail:
 {http://xml.apache.org/axis/}stackTrace: java.lang.NullPointerException
 at java.util.Hashtable.put(Hashtable.java:396)
 at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserI
mpl.java:395)
 at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationCon
textImpl.java:246)
 at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
 at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
 at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:675
)
 at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128)
 at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:
71)
 at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
 at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
 at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
 at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
 at org.apache.axis.client.Call.invoke(Call.java:2553)
 at org.apache.axis.client.Call.invoke(Call.java:1672)
 at org.apache.axis.client.AdminClient.process(AdminClient.java:355)
 at org.apache.axis.client.AdminClient.process(AdminClient.java:334)
 at org.apache.axis.client.AdminClient.process(AdminClient.java:341)
 at org.apache.axis.client.AdminClient.process(AdminClient.java:292)
 at org.apache.axis.tools.ant.axis.AdminClientTask.execute(AdminClientTask.java:
308)
 at org.eclipse.jst.ws.internal.axis.consumption.core.command.AxisDeployCommand.
executeAntTask(AxisDeployCommand.java:102)
 at org.eclipse.jst.ws.internal.axis.consumption.core.command.AxisDeployCommand.
execute(AxisDeployCommand.java:72)


There was lots more in the log file.  I would have provided the whole file if I 
could figure out how to attach it to the bug report.  If you need the rest of 
the file I can provide it through email.
Comment 1 Gary Mohr CLA 2005-03-18 10:45:14 EST
Created attachment 18980 [details]
Modified log4j.properties file to get additional debug data about the problem.
Comment 2 Gary Mohr CLA 2005-03-18 11:06:11 EST
Created attachment 18981 [details]
axis.log file produced when this problem occured.

This is the log file produced when the problem was recreated after changing the
log4j.properties file (see other attachment for these changes).  The end of
this file conatins the java stack which shows the NullPointerException reported
by this bug report.

I tried to put the full log file but got an error that it was too big to be
attached so I trimmed off most of the front of the file which did not look that
interesting anyway (at least to my untrained eye) and gave you just the end of
the file which contains the faulting stacks.
Comment 3 Derek Chen-Becker CLA 2005-03-19 09:43:40 EST
I'm getting the same error. From the stack trace it appears that axis is using
the internal Xerces impl, I wonder if that has anythin to do with it.
Comment 4 Chris Brealey CLA 2005-03-24 08:13:54 EST
Kathy, would you please have a look? Thanks - CB.
Comment 5 Chris Brealey CLA 2005-04-14 23:23:22 EDT
*** Bug 90524 has been marked as a duplicate of this bug. ***
Comment 6 Kathy Chan CLA 2005-05-09 11:51:03 EDT
What JDK are you using?  From the stack trace, this problem look almost 
identical to the problem we found when using JDK 1.5 to create bottom-up Web 
service using Axis 1.1.  You can take a look at defect 92603:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=92603
Comment 7 Gary Mohr CLA 2005-05-09 14:55:05 EDT
When I was trying to use this tutorial I had both JDK1.4 and JDK1.5 downloaded 
to my system.  I think I had originally seen the error with JDK1.5 active but 
tried to back up to JDK1.4.2_07 to see if I could run with that but got the 
same error.

I have since found that my attempt to back up missed removing a copy of the 
JDK1.5 java compiler which somehow found its way to C:\WINNT\system32.  I have 
since removed this file.

Now when I try the tutorial with JDK1.5 I get the Null Pointer Exception.  When 
I try the tutorial with JDK1.4.2_07 I get the message "IWAB0514E Unable to get 
URL for project {0}" in step 12 after clicking on the finish button.  This 
message seems to come out almost immediately (I do not see it trying to build 
anything) so I do not think that I am getting as far as when running with 
JDK1.5.

I am willing to try again but I do not know what to set up so it can find the 
URL.
Comment 8 Kathy Chan CLA 2005-05-09 15:40:35 EDT
Since the original problem is caused by Axis 1.1 not able to support JDK 1.5, 
I'm marking this defect as a duplicate of 92603 (that's the defect we are 
tracking to as an enhancement and pointed to by the News and Noteworthy 
document).

We have seen intermitten problem with "Unable to get project URL".  It seems 
like server tooling was not able to give us the project URL in some cases but 
we were not able to reproduce the problem consistently in order to have this 
investigated.  Are you able to gett this error consistently with the M4 
driver?  If so, please open a seperate defect with the your configuration 
information (JDK, Tomcat, project setup etc.) and exact steps on how to re-
create the problem.  Thanks!

*** This bug has been marked as a duplicate of 92603 ***
Comment 9 David Williams CLA 2005-06-15 01:33:01 EDT
Changed Version field given new release numbering.
Comment 10 Cristian Bogdan CLA 2005-07-06 05:31:31 EDT
I got this problem (NPE on Axis deployment) with M5 and all possible
combinations of tomcat 4.1, 5.0, 5.5 with java 1.5, java 1.4

So the assumption at comment 8 that Java 1.5 is to blame seems not to be correct
Comment 11 Marc Baumgartner CLA 2005-07-15 10:57:46 EDT
(In reply to comment #10)
> I got this problem (NPE on Axis deployment) with M5 and all possible
> combinations of tomcat 4.1, 5.0, 5.5 with java 1.5, java 1.4
> 
> So the assumption at comment 8 that Java 1.5 is to blame seems not to be correct

I got this bug as well with Eclipse 3.1, WTP1 RC1 and all the newest releases of
GEF, EMF and JEM

Marc

Comment 12 Joan Haggarty CLA 2005-07-18 17:11:36 EDT
I was able to run the Creating Bottom-up Web services tutorial using 0628i WTP 
build on eclipse RC4 with jakarta-tomcat-5.0.28 and j2sdk1.4.2_07.  I haven't 
tested it since then.

- Joan.
Comment 13 Kathy Chan CLA 2005-07-19 14:28:13 EDT
We had been successful running the bottom-up Web service tutorial using JDK 
1.4.2 with Tomcat 4.0, 4.1 and 5.0 using the various WTP drivers.

I just tried JDK 1.4.2_06 with Tomcat 5.0.28 on Windows 2000 using Eclipse 3.1 
with WTP RC1 and the was able to run the scenario successfully.  

Like I said earlier, the only time we get problem with deploying to Axis in 
bottom-up Web service tutorial is with JDK 1.5.  If you need to use JDK 1.5, 
you will need to wait for defect 98340 (support Axis 1.2 instead of Axis 1.1).  
If you need to use JDK 1.5 because you want to run on Tomcat 5.5 , another 
optoin is to run with the compatibility JARs for Tomcat 5.5.  Then you can stay 
with JDK 1.4.2.

If you still have problem, please re-open the defect (or open another bug if 
you are cannot reopen because you are not the originator) with exact steps to 
reproduce the problem including the exact configuration you are using.  We will 
take a look at that to see why it is causing you problem.
Comment 14 Kathy Chan CLA 2006-06-15 11:08:47 EDT
As we are trying to close down WTP 1.5, please get the latest WTP 1.5 driver to verify the bug and reopen if the problem had not been fixed.  If this defect is not verified/reopened by end of day 06/16, I'll attempt to verify the defect by reproducing the problem as described in the defect.  However, since you know your scenario best, it would be more appropriate if you verify the fix.
Comment 15 Gary Mohr CLA 2006-06-15 11:49:36 EDT
I guess you can close this problem because in the roughly 12 months since the problem was reported, the BottomUpWebService tutorial has disappeared from the web and my workspaces and projects that had been used to create the problem seem to have disappeared with it.  I am not yet a user of WTP 1.5 but will be some day so we will just have to hope it is corrected there.

In general I am more than happy to help verify fixes but it is very rare that a year after reporting a problem I will still have the necessary environment to reproduce the problem.
Comment 16 Kathy Chan CLA 2006-06-15 12:45:32 EDT
Closing defect ...

FYI.  The Web services tutorial for WTP 1.0 is at:

http://www.eclipse.org/webtools/community/communityresources.html#ws

Follow the link in those tutorials to the tutorials for using the Web services wizard with WTP 1.5.
Comment 17 zjffdu CLA 2009-11-20 03:28:17 EST
I meet the problem with eclipse 3.4

It makes me can not develop web service on eclipse, so annoying.